"Minimize Environmental Impact of Cloud Workloads"
The Sustainability pillar, added in 2021, addresses the environmental cost of running software. Every CPU cycle, every gigabyte stored, every network packet transmitted consumes electricity. Data centers consume enormous amounts of power. As engineers, we have a direct influence on how much energy our systems consume — and therefore on carbon emissions.
The good news: most sustainability improvements also reduce costs. An idle server consuming electricity but producing no value is both wasteful and expensive. Sustainability and Cost Optimization are natural allies.
Design Principles
- Understand your impact: Use the AWS Customer Carbon Footprint Tool to measure the estimated carbon emissions of your AWS usage. You cannot reduce what you do not measure.
- Establish sustainability goals: Set concrete, measurable targets. "Reduce storage waste by 20% this quarter" is actionable. "Be more green" is not.
- Maximize utilization: An EC2 instance running at 5% CPU utilization is wasting 95% of its energy. Consolidate workloads, use Auto Scaling to scale down during low traffic, and use containers to pack more workloads onto fewer hosts.
- Anticipate and adopt more efficient hardware: AWS Graviton processors (ARM-based chips designed by AWS) deliver the same or better performance as equivalent Intel/AMD instances while consuming significantly less power — typically 20-60% better performance per watt. Migrating to Graviton is one of the highest-impact sustainability actions available.
- Use managed services: Shared services like S3, Lambda, and Aurora are optimized for high utilization across millions of customers. A shared, densely-packed data center is far more energy-efficient than a dedicated server running at low utilization.
- Reduce downstream impact: Optimize data transfer sizes (compress API responses, use efficient serialization formats like Protocol Buffers instead of verbose JSON) to reduce the energy consumed by network transmission and client devices.
Key Services: AWS Customer Carbon Footprint Tool, EC2 Graviton instances, S3 Intelligent-Tiering (moves data to lower-energy storage tiers automatically), EC2 Auto Scaling (eliminate idle capacity), AWS Fargate (bin-packing containers on shared infrastructure).