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

Container instances

We will divide container instances into the following different topics, and discuss them:

  • Basic concepts of a container instance
  • Life cycle of a container instance
  • Checking an instance role for an account
  • AMIs for container instances
  • Update notification subscribing to Amazon ECS–optimized AMI
  • Launching an Amazon ECS container instance
  • Bootstrapping container instances with Amazon EC2 user data
  • Connecting your container instance
  • Container instances with CloudWatch Logs
  • Container instance draining
  • Remotely managing your container instances
  • Deregistering your container instance

Basic concepts of a container instance

  • A container instance must run the Amazon ECS container agent to register the clusters. If your AMI is Amazon ECS-optimized then the agent is already installed. For different operating systems, you must install the agent.
  • The Amazon ECS container agent makes calls to the Amazon ECS on your behalf. Your container instance must be launched with a proper IAM role to authenticate...