Costs saving:
- Saving Plans,
- Reserved Instances,
- Spot Instances (a development environment),
- Data Lifecycle Management for EBSes (remove unneeded EBSes),
- lifecycle policy for S3 bucket (move your data into a cheaper storage class),
- use VPC endpoints (AWS charges for outbound data transfer),
- use Graviton instance type,
- use Lambda to switch off your instances (for example EC2, RDS) out of working hours on your development environments.
- choose a right region because a resource can be cheaper in a different region,
- ElastiCache for Redis:
- consider using ElastiCache for Valkey,
- CloudWatch:
- logs retention,
- NAT Gateway:
- consider using fck-nat,
- use AWS Compute Optimizer.
Monitoring:
- Cost Explorer,
- Cost and Usage Reports,
- Cost Anomaly Detection,
- Budgets,
- Trusted Advisor,
- cost allocation tags.