Book Image

Amazon Fargate Quick Start Guide

By : Deepak Vohra
Book Image

Amazon Fargate Quick Start Guide

By: Deepak Vohra

Overview of this book

Amazon Fargate is new launch type for the Amazon Elastic Container Service (ECS). ECS is an AWS service for Docker container orchestration. Docker is the de facto containerization framework and has revolutionized packaging and deployment of software. The introduction of Fargate has made the ECS platform serverless. The book takes you through how Amazon Fargate runs ECS services composed of tasks and Docker containers and exposes the containers to the user. Fargate has simplified the ECS platform. We will learn how Fargate creates an Elastic Network Interface (ENI) for each task and how auto scaling can be enabled for ECS tasks. You will also learn about using an IAM policy to download Docker images and send logs to CloudWatch. Finally, by the end of this book, you will have learned about how to use ECS CLI to create an ECS cluster and deploy tasks with Docker Compose.
Table of Contents (14 chapters)
Title Page
Copyright and Credits
Packt Upsell
Contributors
Preface
Index

Logging in as the IAM user


Next, having created an IAM user, log in as the IAM user to use Amazon Fargate:

  • To be able to log in as the IAM user just created, first Sign Out as the root user:
  • To sign in to the Console, copy the Console login linkhttps://123456789.signin.aws.amazon.com/console, which would be different for different users, as shown here. The link listed is just an example link and cannot be used to log in:
  • Open a web browser with the Console login link. The Account ID is pre-specified in the login form (not shown in following screenshot). Specify the IAM user name and password and click on Sign In, as shown in the following screenshot:
  • Next, the form to change the password is provided. Because the option to change the password at first login was selected, the IAM user must configure a new password. Click on Confirm password change. The IAM user gets logged in as shown in the following screenshot.
  • Select the Elastic Container Service to create an ECS service, as shown in the following...