Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Amazon Fargate Quick Start Guide

You're reading from   Amazon Fargate Quick Start Guide Learn how to use AWS Fargate to run containers with ease

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781789345018
Length 190 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Deepak Vohra Deepak Vohra
Author Profile Icon Deepak Vohra
Deepak Vohra
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Getting Started with Amazon ECS and Amazon Fargate FREE CHAPTER 2. Networking 3. Using CloudWatch Logs 4. Using Auto Scaling 5. Using IAM 6. Using an Application Load Balancer 7. Using Amazon ECS CLI 8. Other Books You May Enjoy

Configuring a Task definition


The default Task definition settings are listed. Some of the Task definition settings are modifiable, while others are not. Network mode is not modifiable, and must be awsvpc. Compatibilities is also not modifiable, and must be set to FARGATE. Modifying the task definition is optional:

  1. To modify a task definition, click on Task definition | Edit, as shown in the following screenshot:
  1. In the Configure task definition dialog, set the Task definition name (mysql-task-definition) as shown in the following screenshot.
  2. Network mode is not modifiable for the Fargate launch type and must be awsvpc.
  3. Select Task execution role as ecsTaskExecutionRole. The ecsTaskExecutionRole grants permissions to make calls to CloudWatch to send container logs.
  4. Compatibilities is preset to FARGATE, and is not modifiable either. 
  5. Set the Task size, which allocates the selected task memory and CPU to the task. Only specific combinations of Task memory and Task CPU may be selected. 
  6. Click on Save...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime