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

Creating an ECS service for a Hello world application


Creating an ECS Service for a Hello world application using the tutum/hello-world Docker image is discussed in detail in Chapter 2, Networking. In this section, we shall create a hello-world cluster consisting of a hello-world-service service with three tasks for a tutum/hello-world Docker image. To create the cluster, service, and task definition, use the same procedure as in Chapter 2, Networking  which is as follows:

  1. Create a Container Definition, hello-world, for the tutum/hello-world Docker image
  1. Create a task definition, hello-world-task-definition
  2. Create a service, hello-world-service
  3. Create a cluster, hello-world

The procedure is the same as in Chapter 2Networking, except for a few differences. Define the service with three tasks instead of the default one task:

  • Click on Edit in the Define your service section, as shown in the following screenshot:
  • In the Set up service: hello-world-service dialog, set the Number of desired tasks to...
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