
Explore the course outline and core concepts of AWS Fargate and ECS, including Docker fundamentals, clusters, task definitions, ECR integration, load balancing, and CI/CD with AWS tools.
Course Material
Please use the below Github repository link for step-by-step instructions
Explore how a Fargate ECS cluster creates a service and tasks, access the Nginx app via its public IP, scale tasks from 1 to 3, and observe automatic task recovery.
Apply step three tips to save costs during learning by keeping running tasks zero. Update the Enginex service to zero tasks and verify no running tasks in the Fargate cluster.
Explore docker fundamentals, including what docker is, its architecture and terminology, and how to pull and run images, build and push containers, with installation tips and essential commands.
Docker Fundamentals - Repository
Please use the below link for the step-by-step instructions of Docker Fundamentals.
Learn to install docker on Windows and macOS with Docker Desktop or engine, meet system requirements, run hello world, and fix macOS keychain cred store by editing config.json.
Pull a docker image from docker hub, run it as a container locally with the docker intro springboot hello world rest api image, and map 8080 to 80 for localhost/hello.
Learn how to create and manage Fargate and ECS clusters, define tasks, and deploy services using Fargate serverless and EC2 launch types, while exploring VPC setups.
Create a dedicated vpc with IPv4 block 10.0.0.0/16, two public subnets in ap-south-1, and attach an internet gateway with a default route 0.0.0.0/0 for the next fargate cluster setup.
Learn to revise ECS objects, manage rolling deployments, load balancing, and auto scaling, and shift image sources from Docker Hub to Amazon ECR.
Create an application load balancer for ecs fargate, wire it to a vpc with public subnets, open port 80, and define a temp TG for /app1 and /app2 routes.
Launch an EC2 ApacheBench instance to generate load and test ECS autoscaling with a target tracking policy, observing task scaling from one to three and CloudWatch metrics.
Discover how step scaling policy extends auto scaling beyond target tracking by using custom CloudWatch alarms and up to 86 ECS metrics from Container Insights to trigger actions.
Clean up load balancing and autoscaling resources in ECS and Fargate by zeroing tasks, removing scaling policies, deleting services and clusters, and terminating Apachebench.
Explore AWS CodeBuild, a managed build service that compiles code, runs tests, and outputs artifacts. Use buildspec.yml to drive builds from sources, store artifacts in S3, and log to CloudWatch.
Learn how AWS CodePipeline models, visualizes, and automates software releases with source, build, deploy, and monitor stages, plus staging and production via manual approvals.
Create a manual approval stage in CodePipeline, configure an SNS email topic and subscription, and ensure production deployment proceeds only after the approver confirms.
Create the notification microservice as a dedicated ECS service using its task definition, exposing ports 8095 and 8096 behind the application load balancer and health path notification/health status.
Import the postman collection for the two microservices, update the environment URL, and test user management and notification flows by creating users and sending emails.
Understand how the user management and notification microservices interact in development, including their rest APIs, configuration, and environment variables. Learn how user creation triggers a notification call.
Learn how AWS Cloud Map acts as a cloud resource discovery service, define namespaces and services, register healthy service instances, and enable client-side service discovery with dns names.
Explore how Route 53 multi value routing in a private DNS zone enables service discovery for microservices without a load balancer, improving performance while cleaning up resources to zero tasks.
Deploy microservices with AWS App Mesh on ECS Fargate, use envoy proxies for communication, enable X-Ray tracing out of the box, and manage egress to RDS and Simple Email Service.
Register the notification microservice with service discovery on AWS Fargate, creating a private dns namespace and Cloud Map service for App Mesh, without public load balancing.
Create App Mesh virtual nodes and services for notification and user management, configure DNS discovery with HTTP ports, and update the task execution role with X-Ray, CloudWatch, and Envoy access.
Enable app mesh in the notification service task definition by adding the x ray daemon container, enabling envoy tracing and logging, and configuring outbound ports 587 (smtp) and 3306 (database).
Test and verify inter-service calls in a microservices setup using App Mesh and Envoy proxy, with Postman, X-Ray distributed tracing, and end-to-end visibility from user management to notification services.
******* Course Overview *******
Welcome to this Amazing course on AWS Fargate & ECS - Masterclass | Microservices, Docker, CloudFormation. Below is the list of modules covered in this course.
Course Modules
Fargate & ECS - First Steps
Docker Fundamentals
Fargate and ECS Fundamentals
ECR - Elastic Container Registry
Load Balancing & Service Autoscaling
Continuous Integration & Continuous Delivery
Microservices Deployment without Service Discovery
Microservices Deployment with Service Discovery
Microservices Deployment with AWS App Mesh and X-Ray
Microservices Canary Deployments with AWS App Mesh
CloudFormation for Fargate Deployments
Each of my courses come with
Amazing Hands-on Step By Step Learning Experiences
Real Implementation Experience
Friendly Support in the Q&A section
30 Day "No Questions Asked" Money Back Guarantee!