-
Notifications
You must be signed in to change notification settings - Fork 0
3. Architecture and Design
Orange edited this page Dec 13, 2024
·
1 revision
The API layer consists of the following AWS resources:
- API Gateway,
- Lambda,
- Systems Manager,
- ECR,
- IAM Role.
Considering cost-effectiveness, operational simplicity and scalability, security and modularity, here are the reasons for selecting these resources:
- API Gateway: to avoid networking configuration and optimize cost. The free tier consists of one million API calls received for HTTP APIs for up to 12 months1.
- Lambda: to reduce operational complexity and to avoid unnecessary expenses associated with maintaining a hot startup environment, also for easy scalability.
- Systems Manager: its Parameter Store provides a cost-free alternative for storing secrets by using standard parameter and throughput, in contrast to Secret Manager2.
- ECR: to minimizing storage and transfer costs. Free storage up to 50 GB per month. Data transfer from Docker into ECR and from ECR to AWS Lambda is free 3.
- IAM Role: to implements the Principle of Least Leverage.
1:https://aws.amazon.com/api-gateway/pricing/
2:https://aws.amazon.com/systems-manager/pricing/
3:https://aws.amazon.com/ecr/pricing/

