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:
`
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)