In a prior video (https://youtu.be/NI34uF7VVP8), I introduced you to the basics of containers on AWS. In this video, we’ll dive into the Elastic Container Service (ECS) specifically.
We’ll first cover some terminology and concepts (things like cluster, service, task, task definition, container instance, launch types, Fargate). Then in a hands-on tutorial, we’ll go into the AWS Console, ensuring the New ECS Experience is enabled. From there, we’ll create an ECS cluster, a task definition (that uses an NGINX container from the Amazon Elastic Container Registry [ECR]), and a service. Then we’ll test things out and see our simple NGINX web page in action.
??If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
– AWS Certified Cloud Practitioner: https://academy.zerotomastery.io/a/aff_n20ghyn4/external?affcode=441520_lm7gzk-d
– AWS Certified Solutions Architect Associate: https://academy.zerotomastery.io/a/aff_464yrtnn/external?affcode=441520_lm7gzk-d
If you want to learn how to use load balancing with ECS, check out this video: https://youtu.be/rUgZNXKbsrY
00:00 – Overviewing what we’ll be building
00:21 – Terminology and concepts (cluster, service, task, task definition, container instance, launch types, Fargate)
03:28 – Summary of terminology and concepts
03:36 – Using the New ECS Experience
04:11 – Creating an ECS cluster
05:52 – Overviewing the service, tasks and container we’re working with
06:57 – Creating a task definition for an NGINX container from Amazon ECR Public Gallery
09:48 – Creating and deploying an ECS service
12:29 – Testing our NGINX container with a public IP address
13:18 – IMPORTANT!! Deleting your ECS task, service, cluster and task definition