# Cost Optimization: Rightsizing, Savings Plans and Spot

> Cut cloud bills with rightsizing, Graviton, Savings Plans and Reserved Instances, Spot capacity, storage tiering and scheduling. Free notes, key concepts,...

Canonical: https://www.internhack.in/roadmaps/tracks/cloud-engineer/cost-optimization
Last updated: 2026-11-28

Cut cloud bills with rightsizing, Graviton, Savings Plans and Reserved Instances, Spot capacity, storage tiering and scheduling.

Intermediate · about 3 hours · difficulty 3/5

Learn first: [FinOps Basics: Visibility and Cost Allocation](https://www.internhack.in/roadmaps/tracks/cloud-engineer/finops-basics), [Auto Scaling Groups and Launch Templates](https://www.internhack.in/roadmaps/tracks/cloud-engineer/auto-scaling)

Once you know where the money goes, these levers bring it down. Apply them roughly in this order: remove waste, rightsize, then commit.

### 1. Rightsizing

- **AWS Compute Optimizer** recommends better instance types, EBS volumes, Lambda memory settings and ECS task sizes from real usage.
- Move to **Graviton** (ARM) instances for typically better price-performance.
- Switch EBS gp2 volumes to gp3.
- Tune Lambda memory with Lambda Power Tuning; sometimes more memory is cheaper because it runs faster.

### 2. Scheduling and elasticity

- Stop dev and test environments outside working hours (Instance Scheduler or a simple EventBridge plus Lambda job).
- Use Auto Scaling so capacity follows demand.

### 3. Commitment discounts

- **Compute Savings Plans**: commit to a rupee-per-hour equivalent of compute spend for 1 or 3 years; applies across EC2, Fargate and Lambda, any region or family.
- **EC2 Instance Savings Plans** and **Reserved Instances**: bigger discounts but less flexible. RDS, ElastiCache and OpenSearch use reserved nodes.
- Commit only to your steady baseline, after rightsizing, and check coverage and utilization monthly.

### 4. Spot

Up to 90 percent off for interruption-tolerant work: CI runners, batch jobs, stateless web tiers mixed with On-Demand in an ASG, Fargate Spot and Karpenter on EKS.

### 5. Storage and data transfer

S3 lifecycle rules and Intelligent-Tiering, deleting old snapshots, log retention policies, VPC endpoints instead of NAT for S3 and DynamoDB, and CloudFront to reduce origin data transfer.

### Pitfalls

- Buying a 3-year commitment before rightsizing.
- Running stateful databases on Spot.

You are ready to move on when you can take a sample monthly bill and propose a prioritized savings plan with estimated percentages.

## Key concepts

- **Compute Optimizer**
- **Graviton migration**
- **Scheduling non-prod environments**
- **Compute Savings Plans**
- **Reserved Instances and reserved nodes**
- **Spot Instances and Fargate Spot**
- **Storage tiering**
- **Data transfer optimization**

## Mini project

Take the AWS Pricing Calculator and estimate a sample architecture (ALB, 4 m7i.large instances, RDS Multi-AZ, NAT Gateway, 1 TB S3) in Mumbai. Then produce an optimized version using Graviton, Savings Plans, Spot for half the fleet, VPC endpoints and S3 tiering, and present the before and after. Calculator only, no resources created.

## Check yourself

Why should you rightsize before buying Savings Plans, and which type of Savings Plan gives the most flexibility?

## Free resources

- [Savings Plans](https://aws.amazon.com/savingsplans/) (AWS)
- [AWS Compute Optimizer](https://aws.amazon.com/compute-optimizer/) (AWS)
- [AWS Pricing Calculator](https://calculator.aws/) (AWS)

Previous: [FinOps Basics: Visibility and Cost Allocation](https://www.internhack.in/roadmaps/tracks/cloud-engineer/finops-basics) · Next: [AWS Certified Cloud Practitioner](https://www.internhack.in/roadmaps/tracks/cloud-engineer/cloud-practitioner)

## More in Reliability, Disaster Recovery and Cost Optimization

- [The AWS Well-Architected Framework](https://www.internhack.in/roadmaps/tracks/cloud-engineer/well-architected)
- [High Availability and Fault Tolerance](https://www.internhack.in/roadmaps/tracks/cloud-engineer/high-availability)
- [Backups and Disaster Recovery](https://www.internhack.in/roadmaps/tracks/cloud-engineer/backup-dr)
- [FinOps Basics: Visibility and Cost Allocation](https://www.internhack.in/roadmaps/tracks/cloud-engineer/finops-basics)
- [Cost Optimization: Rightsizing, Savings Plans and Spot](https://www.internhack.in/roadmaps/tracks/cloud-engineer/cost-optimization)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Cloud Engineer (AWS) Roadmap](https://www.internhack.in/roadmaps/tracks/cloud-engineer)
