Skill 3.2.2
Optimize data transfer costs by using strategies such as private connectivity, Regional traffic patterns, and inter-Availability Zone/inter-Region strategies (for example, by using VPC endpoints, NAT gateways, Availability Zone-aware architectures).
Key Concepts
Model flows: internet egress, inter-Region, inter-AZ (charged both directions), NAT gateway processing, Transit Gateway processing, interface endpoints. Use CloudFront for egress (free origin fetch from AWS), gateway endpoints for S3/DynamoDB, same-AZ placement for chatty tiers, and Direct Connect for large steady egress.
Reduce cross-Region replication to essential data, compress payloads and cache aggressively.
Availability Zone-aware architectures keep traffic local without giving up Multi-AZ resilience: one NAT gateway per Availability Zone with route tables pointing to the local one, cross-zone load balancing disabled where balance allows, ECS and EKS topology-aware routing, and read replicas or cache nodes read from the same Availability Zone. Data between Availability Zones is charged in each direction, so chatty microservices spread randomly across zones can generate large bills.