AWS · PAGE 1/3 · COMPUTE & NETWORK
AMAZON WEB SERVICES — COMPUTE · NETWORK · EKS · VPN
Indicative estimates based on common use cases · Actual savings vary by architecture and volume
Real cost: $0.045/h × 8,760h = ~$390/yr + $0.045/GB processed → up to $7,500/yr for a standard multi-AZ setup
✅ ALT 1 · NAT Instance (t3.nano/t3.small) → same function · cost ~$130–220/yr · reduction 70–85% · trade-off: manual HA management
✅ ALT 2 · VPC Endpoints (S3 · DynamoDB · SQS · SSM) → transfers to internal AWS services are free · zero refactoring if already on AWS SDK
✅ ALT 3 · PrivateLink for managed services → avoids NAT Gateway transit · billed per connection only
🔧 When to keep NAT Gateway: critical workloads requiring managed high availability without human intervention
Real cost: $0.10/h per cluster = $876/yr per cluster · independent of node count · 5 clusters = $4,380/yr for control plane alone
✅ ALT 1 · Cluster consolidation: 5 env. clusters → 2 (prod + non-prod) with namespaces + Network Policies → direct control plane savings
✅ ALT 2 · Karpenter vs Cluster Autoscaler → provision at exact granularity required by pods · reduces over-provisioning 20–40%
✅ ALT 3 · Spot instances for non-critical nodes (CI/CD · batch · dev) → 60–90% reduction on node cost
✅ ALT 4 · k3s or k0s self-managed on EC2 → eliminates control plane fees · for non-critical and edge environments
Trap: 1–3 year non-cancellable commitment · frequent over-commitment during growth peaks → fixed cost persists even if workloads disappear
✅ ALT 1 · Compute Savings Plans vs EC2 Instance SP → more flexibility on instance type and region · preferred for evolving architectures
✅ ALT 2 · Spot Instances for interruptible workloads → 60–90% reduction · ideal: ML training · batch · CI/CD · rendering
✅ ALT 3 · Graviton (ARM) vs x86 → same performance · 20% cheaper on equivalent instances · available on EC2 · Lambda · RDS · ElastiCache
🔧 AWS Compute Optimizer → rightsizing recommendations based on actual 14-day usage · free
Direct Connect: billed by reserved capacity (1G ports = ~$1,500/mo) · often over-sized for light hybrid connections
✅ VPN Site-to-Site: $50–100/mo · sufficient for <500 Mbps · 80–90% reduction vs Direct Connect
✅ Direct VPC Peering (2–5 VPCs) → free at the service level · only inter-region egress is billed · avoids Transit Gateway fees ($0.05/GB)
Fargate bills per vCPU + allocated memory = 3–4× more expensive than EC2 for stable, predictable workloads
✅ ECS on EC2 Spot for predictable workloads → 50–70% reduction
✅ Fargate Spot for interruptible workloads → 50–70% reduction vs Fargate on-demand
✅ Migrate to Kubernetes (EKS/k3s) for organisations with K8s expertise → better cost control