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!

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay