Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
AWS Fargate & ECS - Master Class | Docker on AWS
Rating: 4.4 out of 5(34 ratings)
202 students

AWS Fargate & ECS - Master Class | Docker on AWS

Practical Approach to learn Amazon ECS with Fargate & EC2 Launch type, App Load Balancing, ECR, Dynamic Port mapping
Created byShikhar Verma
Last updated 11/2022
English
English

What you'll learn

  • Amazon ECR
  • Define Container, task, Service & Cluster
  • Bridge Network Mode
  • ECS Cluster - AWS Fargate, EC2 Linux/Windows
  • Dynamic Port Mapping
  • Application Load Balancer in ECS Cluster
  • Run a task - Fargate/EC2 Launch Type
  • Create a service - Fargate/EC2 Launch type
  • Create a VPC for ECS Cluster
  • Detailed view of the resources on your ECS Cluster
  • Run a nginx web app on Private Subnets of your VPC
  • Learn step by step with practice Lab Sessions

Course content

5 sections45 lectures3h 6m total length
  • Introduction about course module2:09

    Develop practical mastery of elastic container service with a hands-on ecs cluster focus. Deploy containerized workloads on aws, including Docker concepts, and boost your career prospects.

  • Overview of ECS Service5:38

    Learn how Amazon Elastic Container Service (ECS) orchestrates Docker images as containers, delivering scalable, highly available deployments with load balancing via clusters on EC2 or Fargate.

  • Components involved in forming ECS Cluster5:28

    Learn how to form an ecs cluster by creating a docker image, pushing it to amazon ecr, and choosing aws fargate or ec2 for deployment.

  • ECS Agents runs on hosts4:57

    Compare EC2 launch type and Fargate in Amazon ECS, detailing ECS agents on hosts, cluster creation with EC2 instances, and AWS managed Fargate for serverless deployment.

  • Create your first ECS Cluster6:44

    Learn to create an Amazon ECS cluster by defining the container image, building the task definition and service, and deploying with Fargate while understanding memory, CPU, and networking basics.

  • Define Container, task, Service & Cluster5:00

    Define container and task definitions, set memory, CPU, and port mapping, and deploy a service to maintain a desired task count in an AWS Fargate ECS cluster with load balancer.

  • Lab Session - Run Nginx Application using ECS Cluster3:03

    Run an nginx docker image on an ECS cluster with Fargate by creating a task definition and launching a replica service. Verify it runs by accessing the public IP.

  • Lab Session - Service in ECS Cluster2:34

    Watch how AWS ECS Fargate runs an nginx container under a service that monitors the task and automatically recreates it when it stops.

  • Lab Session - Run Docker Application on VM Infrastructure9:07

    Explore how Amazon Elastic Container Service enables deploying, managing, and scaling containerised applications, demonstrated by running a Docker image on a VM, installing Docker, and launching an Ubuntu container.

  • Lab Session - Build a Docker Image using DockerFile8:54

    Build a docker image from a Dockerfile to serve a simple nginx page, run it as a container, and access it via browser with port mappings.

  • Create your own VPC - Pre-requisite of Amazon ECS8:25

    Create your own VPC as a prerequisite for Amazon ECS by configuring CIDR blocks, subnets, gateways, and security groups to deploy an ECS cluster.

Requirements

  • PC or Laptop with internet Connection
  • Should have an AWS Account
  • Basic Knowledge on AWS Services

Description

Introduction

  • Overview of ECS Service

  • Components involved in forming ECS Cluster

  • Image registry - Amazon ECR

  • Management - Amazon ECS & Amazon EKS

  • Hosting - AWS Fargate & Amazon EC2

  • Create your first ECS Cluster

  • Define Container, task, Service & Cluster

  • Lab Session - Run Nginx Application using ECS Cluster

  • Lab Session - Service in ECS Cluster

  • Lab Session - Run Docker Application on VM Infrastructure

  • Lab Session - Build a Docker Image using DockerFile

  • Create your own VPC - Pre-requisite of Amazon ECS


AWS Fargate

  • Overview of ECS Cluster - AWS Fargate, EC2 Linux/Windows

  • Run a task - Fargate Launch Type

  • Create a service - Fargate Launch type

  • Task definitions

  • Create a Docker Image of the Nginx Web App

  • Push Docker Image to AWS ECR Repository

  • Add Container in Task Definitions

  • Run the task of the Nginx App in a Fargate Cluster

  • Create Service of Nginx App in Fargate Cluster

  • Update Service in Fargate Cluster


AWS ECS Cluster - EC2 Linux + Networking

  • Overview of AWS ECS Cluster - EC2 Linux

  • Create your own VPC for ECS Cluster

  • Lab - Create EC2 launch type ECS Cluster

  • Detailed view of the resources on your cluster

  • Lab - Access Private Subnet Instances

  • Lab - Access Private Subnet Instances

  • Create a task for the Nginx Webserver

  • Overview of Bridge Network Mode

  • Define task size & add container

  • Add task in a cluster

  • Check container status from instances

  • Access Nginx web server running on Private Subnets

  • Run multiple containers in the ECS cluster


Dynamic Port Mapping

  • Overview of Dynamic Port Mapping

  • Lab - Configure dynamic port mapping

  • Lab - Add dynamic ports to Security Group


Application Load Balancer in ECS Cluster

  • Overview of ALB in ECS Cluster

  • Configure ALB

  • Define Target Group & Listener in ALB

  • Create a task for ECS Cluster

  • Create a service

  • Detailed view of the resources on your cluster

  • Test your ALB

  • Distribution of traffic equally to all containers by ALB

  • Last Lecture

Who this course is for:

  • This course can be taken by anyone who want to learn more about AWS Services
  • There are no formal prerequisites for this course; however, basic knowledge of AWS common services would be very beneficial.