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

Monitoring and optimizing the cost of the infrastructure


The following are some of the benefits of using ECS:

  • Lower AWS bills by switching from EC2 to ECS:
    • Better resource utilization: Docker allows you to improve resource utilization on EC2 by running instance on more than a single service. You can use two or multiple services on a single instance type.
    • Spot by default: If you use the Spot fleets in your cluster, then it has a lower risk and lower cost of instance turnover. Docker allows you to take advantage of diversity because containers don't care about the machine size on which they run. Containers are fast to start and stop which allows you to save costs on a spot price.
    • Centralized EC2 cost management: Running the ECS service with the correct reservations on the cluster helps to make EC2 cost-optimized. Also, centralizing control of EC2 makes it much easier to manage.
  • Better security and credentials management:
    • You have to manage logging, security infrastructure, and metrics on every...