COST05-BP05 Select components of this workload to optimize cost in line with organization priorities
Factor in cost when selecting all components for your workload. This includes using application-level and managed services or serverless, containers, or event-driven architecture to reduce overall cost. Minimize license costs by using open-source software, software that does not have license fees, or alternatives to reduce spending.
Level of risk exposed if this best practice is not established: Medium
Implementation guidance
Consider the cost of services and options when selecting all
components. This includes using application level and managed
services, such as
Amazon Relational Database Service
Use serverless and containers for compute, such as
AWS Lambda
Minimize license costs by using open-source software, or software that does not have license fees (for example, Amazon Linux for compute workloads or migrate databases to Amazon Aurora).
You can use serverless or application-level services such as
Lambda
Using
event-driven
architecture
For more information on serverless, see Well-Architected Serverless Application lens whitepaper.
Implementation steps
-
Select each service to optimize cost: Using your prioritized list and analysis, select each option that provides the best match with your organizational priorities. Instead of increasing the capacity to meet the demand, consider other options which may give you better performance with lower cost. For example, if you need to review expected traffic for your databases on AWS, consider either increasing the instance size or using Amazon ElastiCache services (Redis or Memcached) to provide cached mechanisms for your databases.
-
Evaluate event-driven architecture: Using serverless architecture also allows you to build event-driven architecture for distributed microservice-based applications, which helps you build scalable, resilient, agile and cost-effective solutions.
Resources
Related documents:
Related examples: