AWS Fargate & ECS - Master Class | Docker on AWS
Master Amazon ECS with Fargate & EC2! Learn App Load Balancing, ECR, and dynamic port mapping. Hands-on skills for scalable container deployments.
Course Content
AWS Fargate & ECS - Master Class | Docker on AWS is an intermediate-level Udemy course taught by Shikhar Verma. It runs 3h 6m, is taught in English, and includes a certificate of completion. Learners rate it 4.4 out of 5 from 34 reviews, with 198 students enrolled. It is a paid course, last updated November 2022.
Explore Amazon ECS (Elastic Container Service): A comprehensive guide to deploying and managing containerized applications on AWS. This course provides hands-on experience with ECS, covering everything from fundamental concepts to advanced configurations.
Understanding ECS Service Components
- ECS Cluster: The core of your container orchestration, providing a logical grouping of compute resources.
- Container: The basic unit of deployment, packaging your application and its dependencies.
- Task: A runnable instance of a container, defining how many instances you want to run and the resources they need.
- Service: Manages tasks to achieve desired application availability and scaling.
- Image Registry (Amazon ECR): Securely store and manage your Docker container images.
Deployment Options: ECS Launch Types
- AWS Fargate: Serverless compute engine for ECS, eliminating the need to manage servers. Ideal for simplified container deployments.
- Amazon EC2: Run your ECS tasks on EC2 instances, providing greater control over the underlying infrastructure.
Setting Up Your ECS Environment
- Create Your First ECS Cluster: Learn the step-by-step process of building a foundational ECS cluster.
- Create Your Own VPC: A crucial prerequisite for secure and isolated container deployments within Amazon ECS.
- AWS Fargate Overview: Understand the benefits and use cases of Fargate for containerized applications.
- Run a Task with Fargate Launch Type: Deploy your containerized application using the serverless Fargate option.
- Create a Service with Fargate Launch Type: Manage and scale your Fargate tasks with automated service capabilities.
- Task Definitions: Define the configuration of your containers, including resource requirements and networking.
- Create a Docker Image of the Nginx Web App: Build a Docker image for your application using a Dockerfile.
- Push Docker Image to AWS ECR Repository: Store your Docker image securely in Amazon ECR.
- Add Container in Task Definitions: Configure your task definitions to use the newly created Docker image.
- Run the Nginx App in a Fargate Cluster: Deploy and run your Nginx application using a Fargate cluster.
- Create a Service of the Nginx App in Fargate Cluster: Manage the Nginx application with an ECS service.
- Update Service in Fargate Cluster: Modify your service configuration to update the Nginx application.
ECS Cluster - EC2 Linux & Networking
- Overview of AWS ECS Cluster - EC2 Linux: Learn how to create and manage ECS clusters on EC2 instances.
- Create Your Own VPC for ECS Cluster: Design and configure a VPC tailored for your ECS deployments.
- Create EC2 Launch Type ECS Cluster: Build an ECS cluster using EC2 instances.
- Access Private Subnet Instances: Securely access your ECS instances within a private subnet.
- Create a Task for the Nginx Webserver: Deploy the Nginx webserver on an EC2 instance within your ECS cluster.
- Overview of Bridge Network Mode: Understand how containers communicate within the ECS cluster.
- Define Task Size & Add Container: Configure the resources and containers within your task definitions.
- Add Task in a Cluster: Deploy your task definition to an existing ECS cluster.
- Check Container Status from Instances: Monitor the status of your containers running on EC2 instances.
- Access Nginx Web Server Running on Private Subnets: Configure access to your Nginx web server running in a private subnet.
- Run Multiple Containers in the ECS Cluster: Deploy and manage multiple containers within a single ECS cluster.
- Dynamic Port Mapping: Configure dynamic port mapping for your containers.
- Configure Dynamic Port Mapping: Learn how to set up dynamic port mapping for your ECS tasks.
- Add Dynamic Ports to Security Group: Configure your security group to allow dynamic port traffic.
Application Load Balancer (ALB) in ECS Cluster
- Overview of ALB in ECS Cluster: Understand how to use Application Load Balancers to distribute traffic to your ECS containers.
- Configure ALB: Set up an Application Load Balancer to route traffic to your ECS services.
- Define Target Group & Listener in ALB: Create target groups and listeners to manage traffic routing.
- Create a Task for ECS Cluster: Deploy the Nginx webserver to your ECS cluster.
- Create a Service: Manage the Nginx application with an ECS service.
- Detailed View of the Resources on your Cluster: Understand the relationship between your ECS cluster, tasks, and services.
- Test Your ALB: Verify that the Application Load Balancer is correctly routing traffic to
Need a web app built? Hire the team behind TutorialSearch.io
We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.