Answer
Amazon Lightsail is AWS's simplified virtual private server (VPS) offering: you pick a fixed monthly bundle that includes compute, SSD storage, a data transfer allowance and a static IP, choose a blueprint such as WordPress, LAMP or Node.js, and get a running server in a couple of minutes. It targets developers and small businesses who want predictable pricing and a simple console instead of configuring VPCs, security groups and EBS volumes on EC2.
What you get in Lightsail
- Instances: Linux or Windows VPS in fixed sizes. Each bundle has a set price per month, memory, vCPUs, SSD and a monthly data transfer allowance.
- Blueprints: OS-only images (Ubuntu, Amazon Linux, Debian) or app stacks (WordPress, LAMP, Node.js, Django, and others) preinstalled.
- Networking: static IPs, DNS zones, a simple firewall per instance, and load balancers with free TLS certificates.
- Managed databases: MySQL and PostgreSQL with fixed pricing.
- Container service: run a container image with a public HTTPS endpoint.
- Object storage buckets, CDN distributions and snapshots (manual and automatic daily).
Everything is in one console with flat pricing, which is why freelancers and small agencies like it.
Lightsail vs EC2
| Lightsail | EC2 |
|---|
| Pricing | Fixed monthly bundle | Pay per second, plus EBS, data transfer and IP charges |
| Setup | Pick a blueprint and size | Choose AMI, instance type, VPC, subnets, security groups |
| Instance types | Small fixed menu, burstable CPU | Hundreds of types including GPU and Graviton |
| Networking | Managed VPC you do not see | Full VPC control |
| Scaling | Manual, plus a basic load balancer | Auto Scaling groups, advanced ELB features |
| Integration | VPC peering to your default VPC | Native access to every AWS service |
When Lightsail is the right call
- A portfolio site, a blog, or a WordPress site for a local business.
- A small client project where the owner wants a predictable bill in rupees every month.
- A dev or test server, a game server for friends, or a learning environment.
- Simple apps with steady, low traffic.
Limits and gotchas
- Burstable CPU: Lightsail instances earn and spend CPU credits like EC2 T-series. Sustained high CPU drains credits and the instance slows down. Watch the burst capacity metric.
- Data transfer overage: traffic beyond the bundle's allowance is billed per GB.
- No Auto Scaling groups or fine-grained IAM per instance. If the app grows, you outgrow Lightsail.
- Upgrade path: export a Lightsail snapshot to EC2 to move into the full AWS world, and use VPC peering to reach services like RDS in your default VPC in the meantime.
- Not designed for complex multi-tier production systems with compliance requirements; use EC2, ECS or managed PaaS there.
A good one-line summary for interviews: Lightsail trades flexibility for simplicity and predictable pricing.
Code examples
Launch a WordPress instance with the CLI
# See available app blueprints and bundles in the Region
aws lightsail get-blueprints --query "blueprints[?type=='app'].blueprintId"
aws lightsail get-bundles --query "bundles[].[bundleId,ramSizeInGb,price]" --output table
# Launch WordPress in Mumbai
aws lightsail create-instances --instance-names client-blog \
--availability-zone ap-south-1a \
--blueprint-id wordpress --bundle-id small_3_0
# Give it a static IP so DNS does not break on restart
aws lightsail allocate-static-ip --static-ip-name client-blog-ip
aws lightsail attach-static-ip --static-ip-name client-blog-ip \
--instance-name client-blog
Blueprint and bundle ids change over time, so list them first; attaching a static IP is important because the default public IP changes when the instance stops and starts.
Key points
- Lightsail is a simplified VPS with fixed monthly bundles.
- Blueprints give preinstalled stacks like WordPress or LAMP.
- Includes static IPs, DNS, load balancers, managed databases, containers, buckets and CDN.
- Instances are burstable; sustained CPU load drains credits.
- Migrate to EC2 by exporting a snapshot when you outgrow it.
Common follow-up questions
- What happens when a Lightsail instance runs out of CPU burst capacity?
- How would you move a Lightsail app to EC2?
- How can a Lightsail instance talk to an RDS database?
- Would you host a production e-commerce backend on Lightsail? Why or why not?
Interview tips
- Frame it as simplicity and predictable pricing versus EC2's flexibility.
- Mention the burstable CPU behaviour; most candidates do not know it.
- Give a realistic use case such as a client WordPress site rather than a large-scale system.