Skip to main content

Command Palette

Search for a command to run...

Behind the Scenes of "www.example.com" – A Scalable Cloud-Native Architecture Built on Amazon EKS

Updated
β€’2 min readβ€’View as Markdown
Behind the Scenes of "www.example.com" – A Scalable Cloud-Native Architecture Built on Amazon EKS

At "www.example.com", the platform is designed to deliver fast, secure, and reliable digital experiences through a cloud-native, microservices architecture built on Amazon EKS. Here's an overview of how we structure and scale our production infrastructure.

🌐 Entry Point and Traffic Flow
User requests begin at Amazon Route 53, where DNS resolution is followed by a Content Delivery Network (CDN) for edge-level caching and performance. These requests are then routed through an AWS Network Load Balancer (NLB), which distributes traffic into our Kubernetes-based EKS cluster.

🎯 Frontend Layer
Within the EKS cluster, an Ingress Controller manages routing rules based on the request path or host:
/path1 β†’ frontend-service-1
/path2 β†’ frontend-service-2
/path3 β†’ frontend-service-3
Each service is independently deployable and scalable, ensuring flexibility and isolation across the frontend stack.

πŸ”„ API Routing & Backend Communication
Frontend services communicate with backend APIs via subdomains like api1.abc.com and api2.abc.com. These subdomains are managed through Route 53 and exposed via a dedicated NLB, which handles secure and efficient traffic routing to backend services β€” all hosted within the same EKS cluster.

βš™οΈ Backend Layer
The backend stack consists of backend-service-1, backend-service-2, and backend-service-3, each deployed as Kubernetes Deployments with ReplicaSets. This setup ensures fault tolerance, auto-recovery, and smooth scaling under load.

🧠 Data and Processing Ecosystem
Backend services are deeply integrated with AWS-native and open-source systems:
Amazon RDS – Relational data storage
Amazon S3 – Object storage for assets and data dumps
Elasticsearch & Solr – Distributed search and indexing
Redis – High-performance in-memory cache
Celery – Asynchronous task queues and background job processing

More from this blog

K

Kunal's Blog

7 posts