Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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

Creating an ECS cluster


Having configured the prerequisites, next we shall create an ECS Fargate cluster. Run the following command in PowerShell to create a cluster:

esc-cli up

As the command output indicates, a cluster gets created using the cluster configuration set up earlier. A VPC and two subnets also get created:

PS C:\PowerShell> ecs-cli up
←[36mINFO←[0m[0002] Created cluster ←[36mcluster←[0m=hello-world ←[36mregion←[0m=us-east-1
←[36mINFO←[0m[0003] Waiting for your cluster resources to be created...
←[36mINFO←[0m[0004] Cloudformation stack status ←[36mstackStatus←[0m=CREATE_IN_PROGRESS
←[36mINFO←[0m[0065] Cloudformation stack status ←[36mstackStatus←[0m=CREATE_IN_PROGRESS
 VPC created: vpc-6e021915
 Subnet created: subnet-2c02dd4b
 Subnet created: subnet-f2d50bdc
 Cluster creation succeeded.
 PS C:\PowerShell>

Access the ECS Console in a web browser and the hello-world cluster gets listed, as shown here:

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 $19.99/month. Cancel anytime
Banner background image