Book description
This book gets you started and gives you knowledge about AWS Fargate in order to successfully incorporate it in your ECS container application.
Key Features
- Gives you a quick walk-through over the Amazon Elastic Container Services (ECS)
- Provides an in depth knowledge of the components that Amazon Fargate has to offer.
- Learn the practical aspects of Docker application development with a managed service
Book Description
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.
What you will learn
- Running Docker containers with a managed service
- Use Amazon ECS in Fargate launch mode
- Configure CloudWatch Logging with Fargate
- Use an IAM Role with Fargate
- Understand how ECS CLI is used with Fargate
- Learn how to use an Application Load Balancer with Fargate
- Learn about Auto Scaling with Fargate
Who this book is for
This book is for Docker users and developers who want to learn about the Fargate platform. Typical job roles for which the book is suitable are DevOps Architect, Docker Engineer, and AWS Cloud Engineer. Prior knowledge of AWS and ECS is helpful but not mandatory.
Table of contents
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Preface
- Getting Started with Amazon ECS and Amazon Fargate
- Networking
-
Using CloudWatch Logs
- Overview of CloudWatch Logs and aws log driver
- Creating an ECS service for MySQL database
- Configuring a Container definition
- Configuring logging
- Configuring a Task definition
- Configuring a service
- Configuring a cluster
- Creating an ECS service
- Exploring Task logs
- Exploring CloudWatch Logs
- Exploring CloudWatch metrics
- Summary
- Using Auto Scaling
- Using IAM
- Using an Application Load Balancer
-
Using Amazon ECS CLI
- Setting up the environment
- Installing ECS CLI
- Installing AWS Tools for Windows PowerShell
- Configuring ECS CLI
- Setting up prerequisites for Fargate
- Registering the task execution policy
- Creating an ECS cluster
- Creating a security group
- Granting security group Ingress
- Creating a compose file
- Configuring ECS specific parameters
- Deploying the compose file to the cluster
- Listing the running containers on the cluster
- Listing the container logs
- Scaling the tasks on the cluster
- Accessing the WordPress service
- Deleting the service and the cluster
- Summary
- Other Books You May Enjoy
Product information
- Title: Amazon Fargate Quick Start Guide
- Author(s):
- Release date: July 2018
- Publisher(s): Packt Publishing
- ISBN: 9781789345018
You might also like
book
Amazon Web Services in Action, Third Edition
Master essential best practices for deploying and managing applications on Amazon Web Services. This revised bestseller …
book
Amazon Web Services in Action, Second Edition
Amazon Web Services in Action, Second Edition is a comprehensive introduction to computing, storing, and networking …
video
Amazon Web Services (AWS), 3rd Edition
18+ Hours of Video Instruction More than 18 Hours of Video Instruction Covering Cloud Computing and …
video
Amazon Web Services AWS LiveLessons 2nd Edition
More Than 17 Hours of Video Instruction An updated edition of this video title is available. …