For every company or a startup, choosing the right hosting solution might be obvious when the traffic is slow. However, when the audience grows and the traffic increases, the service might be slower or even crash. So how should we deal with capacity planning?
The solution is to use the cloud and automatic managing feature that grows dynamically depending on your traffic. By the way, there are many other advantages to using this kind of web infrastructure.
The first factor to consider is the growth of your business. Do you plan to do a press release or radio or TV advertisements? Is it possible for your business to ramp up from 100 visits per day to 10,000?
In any case, if you don’t want to be surprised by your success and kill yourself for technical reasons. You should consider using solutions like Elastic Bean Stalk from Amazon Web Service.
Ideally, you might have two server instances at the same time. Depending on the traffic, this solution brings up new servers automatically, i.e. if you ramp up suddenly because of a TV interview or any other event, your infrastructure grows up automatically. Then as soon as your traffic goes down, the servers get turned off one at a time until the system reaches minimal configuration.
First, what does “High Availability” stand for? You might know that every computer might fail at anytime because of mechanical or electronic issue. That also means that if your website is only running on one server, it might fail too. Then if you understand the first point correctly, you might figure out that the solution is to have many servers at the same time. Then if in any case one of those servers fail, it should be unseen for your visitors. The other big reason is that you don’t need to take care of it. One of the biggest costs of server crash is the time that you or your team might waste to bring it up back. That’s also why I recommend dynamic cloud solution, because all the chain is redundant. That is, from the customer provider to the final website, every component exists at least twice and might backup the primary one.
SecuritySecurity is one of the biggest concerns to take care of. However, infrastructure is only one part of security, but automatic scalable solutions also bring many advantages. If someday a hacker manages to hijack your website server, you might understand that he will only hijack a temporary server. As soon as the server is hacked, as the administrator, you only need to restart the server instance to bring up a new and fresh one and get rid of the hacker’s actions. Nevertheless, the hacker will be able to do it again and again. That’s why you do need to pay attention of security breaches on your app. The infrastructure updates are also provided by the hosting service; so generally, you don’t need to spend time on it.
Well, how much does that cost?
Actually, it costs quite more than a classical hosting solution but tremendously less than if you had to pay 24/7 for a well-anticipated infrastructure. As soon as the server gets started, you will pay for every consumed hour. Then it is $20 per month per server, depending on your required configuration.
From my point of view, there are only two major things to take care of: business and time. Automatic solutions like Elastic Beanstalk preserve both. Take time to set up your infrastructure; it will bring serenity later.