DEV Community

Cover image for AWS architecture for an e-commerce platform
Abenezer Amare
Abenezer Amare

Posted on

AWS architecture for an e-commerce platform

Last Thursday at our ALX expert session we were given a use case for an e-commerce platform.

Use case:
An e-commerce business has contacted you to draw up an architectural design for their new portal for their customers in Africa. They want to ensure their application has very low latency, can also store their user relational information securely, and is also able to be retrieved fast.

The portal is expected to store some pictures of products. The business also wants to ensure its application is fault-tolerant and highly available.

Although they are low on budget, they also want to ensure their application is highly secured, both at rest and in transit, and from unauthorized access. You should also factor in monitoring and logging your application.

My architecture design and solutions:
Image description`

Based on the requirements given we can notice some keywords. For example, this platform serves African customers which implies we should choose a region in Africa (South Africa region) to achieve low latency. We should also use CloudFront, ElasticCache, and Network Load Balancer for low latency. To ensure high availability and fault tolerance we can use a multi-az infrastructure with ec2 instances in an auto-scale group. To store pictures in a cost-optimized and highly-available way we can use s3. Security is one of the top priorities when we design any infrastructure we secure our system from unauthorized access with Cognito and we secure our data at rest and transit with KMS and Certificate Manager respectively lastly we monitor and log our system using CloudWatch and CloudTrail.

Thank you for reading and open to suggestions and improvement!

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (0)

AWS Q Developer image

Your AI Code Assistant

Automate your code reviews. Catch bugs before your coworkers. Fix security issues in your code. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Get started free in your IDE

👋 Kindness is contagious

DEV is better (more customized, reading settings like dark mode etc) when you're signed in!

Okay