COST 5: How do you evaluate cost when you select services?
Amazon EC2, Amazon EBS, and Amazon S3 are building-block AWS services. Managed services, such as Amazon RDS and Amazon DynamoDB, are higher level, or application level, AWS services. By selecting the appropriate building blocks and managed services, you can optimize this workload for cost. For example, using managed services, you can reduce or remove much of your administrative and operational overhead, freeing you to work on applications and business-related activities.
Resources
Cloud products
Amazon S3 storage classes
AWS Total Cost of Ownership (TCO) Calculator
Best Practices:
-
Identify organization requirements for cost: Work with team members to define the balance between cost optimization and other pillars, such as performance and reliability, for this workload.
-
Analyze all components of this workload: Ensure every workload component is analyzed, regardless of current size or current costs. Review effort should reflect potential benefit, such as current and projected costs.
-
Perform a thorough analysis of each component: Look at overall cost to the organization of each component. Look at total cost of ownership by factoring in cost of operations and management, especially when using managed services. Review effort should reflect potential benefit: for example, time spent analyzing is proportional to component cost.
-
Select software with cost effective licensing: Open source software will eliminate software licensing costs, which can contribute significant costs to workloads. Where licensed software is required, avoid licenses bound to arbitrary attributes such as CPUs, look for licenses that are bound to output or outcomes. The cost of these licenses scales more closely to the benefit they provide.
-
Select components of this workload to optimize cost in line with organization priorities: Factor in cost when selecting all components. This includes using application level and managed services, such as Amazon RDS, Amazon DynamoDB, Amazon SNS, and Amazon SES to reduce overall organization cost. Use serverless and containers for compute, such as AWS Lambda, Amazon S3 for static websites, and Amazon ECS. 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.
-
Perform cost analysis for different usage over time: Workloads can change over time. Some services or features are more cost effective at different usage levels. By performing the analysis on each component over time and at projected usage, you ensure the workload remains cost effective over its lifetime..
Improvement Plan
Identify organization requirements for cost
Analyze all components of this workload
Perform a thorough analysis of each component
Select software with cost effective licensing
Select components of this workload to optimize cost in line with organization priorities
Perform cost analysis for different usage over time