Book Image

Expert AWS Development

By : Atul Mistry
Book Image

Expert AWS Development

By: Atul Mistry

Overview of this book

Expert AWS Development begins with the installation of the AWS SDK and you will go on to get hands-on experience of creating an application using the AWS Management Console and the AWS Command Line Interface (CLI). Then, you will integrate applications with AWS services such as DynamoDB, Amazon Kinesis, AWS Lambda, Amazon SQS, and Amazon SWF. Following this, you will get well versed with CI/CD workflow and work with four major phases in the release process – Source, Build, Test, and Production. Then, you will learn to apply AWS Developer tools to your Continuous Integration (CI) and Continuous Deployment (CD) workflow. Later, you will learn about user authentication using Amazon Cognito, and also how you can evaluate the best architecture as per your infrastructure costs. You will learn about Amazon EC2 service and will deploy an app using it. You will also deploy a practical real-world example of a CI/CD application with the Serverless Application Framework, which is known as AWS Lambda. Finally, you will learn how to build, develop, and deploy the Application using AWS Developer tools such as AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy, and AWS CodePipeline, as per your project requirements.
Table of Contents (16 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

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. Let's say your workload runs during business hours, then you can configure Auto Scale to launch new and appropriate instances for that known predictable load, and reduce the instance by Auto Scaling after office hours.

You can use spot instances. Spot instances...