Amazon Fargate quick start guide : learn how to use AWS Fargate to run containers with ease / Deepak Vohra.
- Format:
-
- Author/Creator:
-
- Language:
- English
- Subjects (All):
-
- Physical Description:
- 1 online resource (183 pages) : illustrations
- Edition:
- 1st edition
- Place of Publication:
- Birmingham ; Mumbai : Packt Publishing, 2018.
- System Details:
- text file
- Summary:
- 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.
- Contents:
-
- Cover
- Title Page
- Copyright and Credits
- Packt Upsell
- Contributors
- Table of Contents
- Preface
- Chapter 1: Getting Started with Amazon ECS and Amazon Fargate
- What Amazon Fargate is
- Benefits of Fargate
- Amazon ECS objects
- Compute resources in Amazon ECS Fargate
- What is new in the Amazon Fargate launch type mode?
- Summary
- Chapter 2: Networking
- Creating an ECS cluster and service
- Configuring a Container definition
- Configuring a Task definition
- Configuring a service
- Configuring and creating a cluster
- Running additional tasks
- Accessing the service
- Deleting a cluster
- Chapter 3: Using CloudWatch Logs
- Overview of CloudWatch Logs and aws log driver
- Creating an ECS service for MySQL database
- Configuring logging
- Configuring a cluster
- Creating an ECS service
- Exploring Task logs
- Exploring CloudWatch Logs
- Exploring CloudWatch metrics
- Chapter 4: Using Auto Scaling
- Creating an ECS service for a Hello world application
- Types of auto scaling
- Target tracking scaling policies
- Step scaling policies
- Configuring an auto scaling policy
- Defining the range of tasks
- Adding an auto scaling policy
- Adding a step scaling policy
- Creating a CloudWatch alarm
- Configuring a scaling action
- Demonstrating the use of auto scaling
- Exploring CloudWatch metrics and Logs
- Updating auto scaling policy
- Chapter 5: Using IAM
- Creating an IAM user
- Adding a custom policy for Elastic Load Balancing
- Logging in as the IAM user
- Chapter 6: Using an Application Load Balancer
- Creating an application load balancer
- Creating a task definition
- Creating a service
- Configuring an application load balancer.
- Invoking the Hello World application
- Stopping tasks and deleting a load balancer
- Chapter 7: Using Amazon ECS CLI
- Setting up the environment
- Installing ECS CLI
- Installing AWS Tools for Windows PowerShell
- Configuring ECS CLI
- Setting up a CLI profile
- 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
- Other Books You May Enjoy
- Index.
- Notes:
- Description based on print version record.
- ISBN:
-
- OCLC:
- 1048787681
The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.