Skip to content

Chanjana/CloudRetail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CloudRetail – AWS Microservices E-Commerce Architecture

Overview

CloudRetail is a cloud-native e-commerce application built on AWS using a microservices architecture. The system is designed to be scalable, secure, and cost-efficient, following modern cloud and distributed system best practices.


Key Features

  • Microservices-based architecture (Product, Cart, Order services)
  • Containerized deployment using Docker
  • Scalable backend with Amazon ECS
  • Secure authentication using Amazon Cognito
  • Hybrid database (RDS MySQL + DynamoDB)
  • Event-driven communication
  • Infrastructure as Code using AWS CDK
  • Monitoring and logging with CloudWatch

Proposed Architecture

Proposed Architecture

Highlights

  • Frontend hosted via S3 and CloudFront (low latency)
  • API Gateway with JWT authentication (Cognito)
  • ECS cluster with auto-scaling
  • Multi-AZ VPC with public/private subnets
  • Aurora (RDS) + DynamoDB data layer
  • Event-driven services (EventBridge, SQS, SNS)
  • Secure access via IAM, Secrets Manager, VPC endpoints

Implemented Architecture

Implemented Architecture

Highlights

  • Cost-optimized AWS architecture (Free Tier focused)
  • ECS (EC2-based) with Docker containers
  • Application Load Balancer for traffic routing
  • API Gateway with throttling and authentication
  • Cognito-based role management (Admin / Customer)
  • RDS MySQL + DynamoDB hybrid database
  • Logging and monitoring via CloudWatch

Architecture Components

Networking & Security

  • VPC with public and private subnets
  • Security Groups and IAM roles
  • VPC Endpoints for secure communication
  • AWS WAF for protection and rate limiting

Compute

  • Amazon ECS cluster
  • EC2 Auto Scaling

Data Layer

  • Amazon RDS (MySQL)
  • Amazon DynamoDB
  • Amazon S3 (storage & backups)

DevOps & Deployment

  • AWS CDK (Infrastructure as Code)
  • Docker containerization

Monitoring & Logging

  • Amazon CloudWatch
  • AWS CloudTrail
  • AWS GuardDuty & Security Hub

Testing

  • API testing using Postman
  • Functional testing of all services
  • Cloud deployment testing
  • Load balancing validation via ALB

Security & Compliance

  • JWT authentication via Cognito
  • Encryption (TLS + KMS)
  • Secrets management (AWS Secrets Manager)
  • GDPR-aware data handling

Technologies Used

  • AWS (ECS, ECR, RDS, DynamoDB, API Gateway, Cognito, CloudWatch)
  • Docker
  • AWS CDK
  • MySQL
  • REST APIs

Future Improvements

  • Multi-region deployment
  • AI-driven personalization
  • Redis caching (ElastiCache)
  • Advanced monitoring and tracing

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors