aws_lightsail_instance cost estimation
Simplified VPS bundles for small workloads. Flat monthly pricing from $3.50/month (512 MB) to $160/month (64 GB). Includes data transfer allowance. Much simpler than EC2 but limited features.
Amazon Lightsail is the simplified VPS service for small workloads. The aws_lightsail_instance resource creates the instance with bundled pricing — single monthly fee covers compute, memory, SSD storage, and bandwidth.
Bundle pricing (Linux): - $3.50/month: 512 MB RAM, 1 vCPU, 20 GB SSD, 1 TB transfer - $5/month: 1 GB RAM, 1 vCPU, 40 GB SSD, 2 TB transfer - $10/month: 2 GB RAM, 1 vCPU, 60 GB SSD, 3 TB transfer - $20/month: 4 GB RAM, 2 vCPU, 80 GB SSD, 4 TB transfer - $40/month: 8 GB RAM, 2 vCPU, 160 GB SSD, 5 TB transfer - $80/month: 16 GB RAM, 4 vCPU, 320 GB SSD, 6 TB transfer - $160/month: 32 GB RAM, 8 vCPU, 640 GB SSD, 7 TB transfer
Windows bundles are roughly $8/month more than Linux for the same resource size (Windows license).
Compared to EC2: a 2 GB Lightsail at $10/month vs t3.micro (1 GB) at $7.5/month + 30 GB EBS at $2.40 + data transfer ($0.09/GB after free tier). For most small workloads, Lightsail is simpler and cheaper.
Compared to t3.small (2 vCPU, 2 GB): t3.small is $15/month + EBS + data transfer. Lightsail's $10/month bundle wins.
When Lightsail wins: - Personal projects, small SaaS, low-traffic websites - WordPress, GitLab CE, simple databases - Dev/staging environments where simplicity matters - Workloads where bandwidth bundling avoids EC2 egress fees
When Lightsail is wrong: - Production workloads needing AWS service integration (VPC peering, IAM, advanced networking) - High-traffic applications (bandwidth caps apply) - Workloads needing Auto Scaling, ELB integration, complex security groups - Anything requiring advanced AWS features beyond the simplified Lightsail UI
c3x estimates Lightsail based on bundle_id (the SKU) — flat monthly rate.
Terraform example
A minimal but realistic configuration that C3X can estimate.
resource "aws_lightsail_instance" "wordpress" {
name = "wordpress-site"
availability_zone = "us-east-1a"
blueprint_id = "wordpress"
bundle_id = "small_3_0" # 2 GB RAM bundle, $10/month
tags = {
Environment = "production"
}
}Pricing dimensions
What you actually pay for when you provision aws_lightsail_instance.
| Dimension | Unit | What's being charged |
|---|---|---|
| Instance bundle | per month (flat) | Bundled pricing for compute, memory, SSD, and bandwidth. Linux base; Windows costs ~$8 more. $3.50-$160/month depending on bundle |
| Additional bandwidth | per GB | Data transfer above the included bundle quota. Standard AWS egress rates. $0.09/GB for first 10 TB above bundle |
| Block storage (additional disk) | per GB-month | Additional disk volumes beyond the bundle's SSD. $0.10/GB-month |
| Lightsail load balancer | per month | Optional managed load balancer for distributing traffic across instances. $18/month per load balancer |
| Lightsail database | per month | Managed MySQL/PostgreSQL. Bundled like instances. Standard $15/month for 1 GB. $15-$245/month |
Optimization tips
Common ways to reduce aws_lightsail_instance cost without changing the workload.
Use Lightsail for simple workloads
30-50% vs equivalent EC2 + EBS + data transferSimple WordPress sites, low-traffic SaaS, dev environments often run better on Lightsail than EC2. The bundle includes bandwidth, storage, and the simplified UI removes operational overhead.
Monitor bandwidth carefully
Avoid expensive overagesBandwidth above the bundle quota bills at standard $0.09/GB. A site exceeding bundle by 5 TB/month adds $450 to the bill. Monitor via Lightsail's bandwidth metrics; upgrade to a larger bundle if consistently exceeding.
Migrate to EC2 only when needed
Don't preemptively migrate Lightsail to EC2 'for production'. Lightsail handles many production workloads well. Migrate only when you hit specific limits (need VPC peering, advanced IAM, custom AMIs).
Use Lightsail Containers for container workloads
Lightsail Container Service runs containers without managing the underlying infrastructure. Pricing similar to bundles, simpler than ECS. Right for small container workloads.
FAQ
Why is Lightsail cheaper than EC2?
Lightsail uses smaller, simpler instance shapes and aggressively bundles services. The simpler product also has lower operational costs for AWS. Lightsail doesn't include AWS service integrations (IAM, VPC, EBS volumes are simplified), which keeps costs down.
Can I migrate from Lightsail to EC2?
Yes. Lightsail provides a snapshot export feature that creates an EC2-compatible image. The migration is non-trivial — you need to recreate networking, IAM, monitoring in EC2's full feature set. Plan for this if you anticipate outgrowing Lightsail.
Does Lightsail support IPv6?
Yes, IPv6 is available on Lightsail instances. IPv6 doesn't count against the bandwidth quota for some traffic patterns, similar to EC2 IPv6 handling.
What's the difference between Lightsail and EC2 t3 instances?
T3 instances are burstable EC2 (credit-based CPU). Lightsail's compute is closer to fixed allocation. T3 has more integration with AWS services but requires you to add EBS, configure data transfer, etc. For simple workloads, Lightsail is easier; for AWS-native architecture, EC2.
Related resources
Estimate this resource in your own Terraform
Free, open source, no API key. C3X parses your Terraform and shows line-item cost for every resource, including aws_lightsail_instance.