
Git repository for this application:
https://github.com/awswithchetan/ecommerce-web-app/blob/main/README.md
YouTube Video for Creating AWS Account: https://youtu.be/AlLafkeq5rg
YouTube Video for Creating IAM user: https://youtu.be/6-32qBJGxzM
YouTube Video for Buying and Configuring Domain name: https://youtu.be/vaI5rSNtBf0
Git repository for this application: https://github.com/awswithchetan/ecommerce-web-app/blob/main/README.md
Command to clone repository: git clone https://github.com/awswithchetan/ecommerce-web-app.git
You can download the slides used in this course from the Resources section below.
Create a vpc with cidr 10.10.0.0/16, six subnets (two public, two private ecs, two private databases), and implement an internet gateway plus a zonal nat gateway with proper route tables.
Configure Amazon Cognito to manage user identities with sign in and sign up. Enforce password policies and secure cart and order APIs via API gateway, integrating with Active Directory.
Host the front end on a private S3 bucket behind a CloudFront distribution, with origin access control and Cognito for JWT authentication.
Deploy a frontend to S3 and serve it with CloudFront. Build and upload the build after npm install, configure index.html and custom error pages, and set up Cognito authentication.
Upload sample images to the s3 bucket and verify them, then create and load dynamodb tables e-commerce-products and e-commerce-card using scripts, updating product data with cloudfront image urls.
Configure a Postgres RDS in a private subnet within a VPC, create the initial ecommerce DB, secure access on port 5432, and store connection details in the SSM parameter store.
Create a dbsubnet group and a security group, then launch a PostgreSQL RDS database in the ecommerce app VPC with a single AZ, no public access, naming it ecommerce DB.
Create three SSM parameter store parameters to store aws region, db host endpoint, and db password for dev, with the password as a secure string and names like /e-commerce/dev.
Create four ECR repositories for the product, cart, user, and order services; build, tag, and push Docker images to each repository, guided by the backend deployment docs.
Create four ECS task definitions by configuring IAM roles, security groups, ports 8001–8004, and environment variables pulling from SSM parameter store for product, card, user, and order services.
Create a serverless ECS cluster and four ECS services behind an application load balancer, configure VPC subnets and security groups, then test connectivity from a bastion EC2.
Learn how to minimize lab costs by pausing AWS workloads: stop RDS, set ECS replicas to zero, delete NAT gateway and Elastic IP, then recreate them and restore services.
Set up an http api gateway with a vpc link to a private alb, secured by a cognito jwt authorizer and broad cors. Test with curl and plan front-end integration.
Integrate the frontend with the backend by configuring the API gateway URL, then build and deploy to S3 and invalidate CloudFront cache to support product, cart, and order workflows.
BEFORE YOU ENROLL PLEASE COMPLETE THE PRE-REQUISITES (Lecture 2)
In this hands-on course, you will design and deploy a production-grade, cloud-native eCommerce application on AWS — from scratch. Not a toy project. Not a single-service demo. A full-stack, microservices-based application that mirrors what real Solutions Architects and Cloud Engineers build every day.
What you will build:
You will build a complete eCommerce platform with a React frontend, Microservices based backend services (Docker containers), NoSQL and Relational databases, Authentication, exposing APIs, using Content Deliver Network, building Integration and sending notification and much more. Every layer of the application will be deployed on AWS using industry-standard practices.
AWS Services you will work with:
Networking — VPC, Subnets, Security Groups, NAT Gateway
Frontend — S3, CloudFront, Route53
Authentication — Cognito User Pools
Compute — ECS/Fargate with containerized microservices
API Layer — API Gateway (HTTP API), VPC Link, Application Load Balancer
Databases — DynamoDB for catalog and cart, RDS PostgreSQL for users and orders
Messaging — SNS, SQS, and SES for event-driven notifications
Security & Management — IAM, CloudWatch, Systems Manager
Who is this for?
This course is ideal for developers, cloud engineers, and anyone looking to build and get real-world hands-on experience on AWS. This project will add treamendous value for your job interviews.
What is different about this course?
Most courses teach you services. This course teaches you architecture. You will understand not just how to use each service, but why it fits into the overall design and how to connect the dots across networking, compute, storage, security, and messaging layers.
By the end of this course, you will have:
- A fully deployed eCommerce application running on AWS
- Hands-on experience with all important AWS services working together
- The confidence to design and build similar architectures independently
So let's get started and let's build on AWS !