How to choose the right AWS EC2 instance for my application ?
One of the questions we often get from customers is, which is the right AWS instance type for my application ?
AWS provides large number of ec2 instance types starting from 1cpu/1GB Ram to 32cpu/244 GB Ram. Many of our customers are overwhelmed by the instance types and asks us to suggest them the right instance type.
Though choosing instance type for an application depends on many factors(e.g type of usage , concurrent users, DB , I/O , etc) but I think the question itself is not as relevant today as it was traditionally.
1.Approach to sizing when cloud computing was not an option.
- Define current and future requirements(current usage , growth, forecast usage,etc)
- Detailed study and analysis of the requirement.
- Arrive at the right capacity/config for your server that will support today’s requirement and also planned growth.
2.Why was this exercise required ?
- Once procured , you are stuck with the server for atleast three years if not more.
- Any upgrade due to capacity shortage becomes a long and costly affair.
- Excess capacity becomes a dead investment since downgrading and recovering costs is ruled out.
3.In cloud computing , should we be as concerned about the right instance configuration ?
One of the key benefits of cloud is scaling up/down as per the requirement. This means doing exhaustive analysis on the sizing/configuration needs for the application is not that critical. Also doing the sizing when future usage pattern , load or traffic is not known makes the exercise futile.
The sizing approach should be, to start with a configuration that works for the current requirement and upgrade when required. The upgrade can be done at the click of a button with almost zero downtime. By not utilizing this approach you may be discarding the critical scaling up or down feature of cloud computing.
4.But for some businesses doing the sizing for future requirements cannot be done away with.
Budgetary constraints will require to plan for the annual outgo which inturn will require future sizing requirements be known. In such a scenario one would have to do capacity planning including load testing with projected user loads as required.
The only saving grace is, you do not have to invest in the complete capacity on day one. But ramp it up when really required.That way you might have budgeted an higher amount, but will use it only if required.
Have more questions ? Reach us. Contact(at)clozon.com or using the form on this page.
Connect with Saif @ https://in.linkedin.com/in/syedsaif
One of the frequent queries we get from customers is on the increased AWS bill. Queries like , 1.What exactly has led to the increase in costs? 2.How to reduce AWS cloud bill by upto 50% ? The reasons for the increase in bill are varied. But often the bill...
Ok. You have decided to migrate your critical website or application to AWS or Azure. 1. How to ensure migration is smooth with no surprises or issues? 2. How to plan the migration ? Here's a look at the critical points to be considered when planning a website...
Sometime back Amazon Web Services introduced INR currency billing option for users based in India. You are billed for cloud services in INR based on the exchange rate as on the bill date. This is a very useful option for businesses signing up for new AWS accounts....