Controlling and optimizing costs

For cost optimization, you have to select the appropriate purchasing instance option, and the right instance type for your application workload. As we have discussed in detail about different instance types, you can select the right one to optimize performance.

Once you finalize the instance type, then you have the option to purchase a reserved instance. This is an upfront commitment but reduces costs drastically.

Reserved instances are offered for 1 year or 3 year commitments. If your requirements change before this time period, then you can use the EC2 Container Service to increase instance usage or sell your reserved instance into the AWS marketplace.

You can also use Auto Scaling to reduce the cost. ...

Get Expert AWS Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.