In this article we will do some fast and not-accurate comparison of these services.
So let the competition begin!
1 VM instances
Lightsail has 5 types to choose from:
- $5 512MB RAM, 1 vCPU, 20GB SSD, 1TB data transfer
- $10 1GB RAM, 1 vCPU, 30GB SSD, 2TB data transfer
- $20 2GB RAM, 1 vCPU, 40GB SSD, 3TB data transfer
- $40 4GB RAM, 2 vCPU, 60GB SSD, 4TB data transfer
- $80 8GB RAM, 2 vCPU, 80GB SSD, 5TB data transfer
- $5 512MB RAM, 1 core, 20GB SSD, 1TB data transfer
- $10 1GB RAM, 1 core, 30GB SSD, 2TB data transfer
- $20 2GB RAM, 2 core, 40GB SSD, 3TB data transfer
- $40 2GB RAM, 2 core, 60GB SSD, 4TB data transfer
- $80 2GB RAM, 4 core, 80GB SSD, 5TB data transfer
- $160-$640 droplets also available
Looks like the same with some differences:
- For $20 you will get more virtual CPU cores from DO: 2 vs 1
- And for $80 there will be 4 virtual CPU cores from DO vs 2 in Lightsail
Also DO has 4 additional large instances starting from $160/month. Both providers have hourly billing.
VM instances score
2.1 Regions and zones
Currently Lightsail is only available in Virginia USA (4 availability zones), DO present in 7 countries and 8 regions, however only in New York USA DO has 3 zones, in most regions only one AZ is available.
2.2 Static IP
Both providers support static IPs, with minor difference:
- DO calls it Floating IP and its free to use and number of floating IPs is not limited.
- Lightsail also do not charge for static IPs, however there is a limitation of 5 static IPs.
2.3 Attached storages
Lightsail doesn’t support this feature, DO has this feature ($1/10G).
DO let you choose from 6 distros:
And for each distro there are different versions to choose from.
While Lightsail currently only supports two images:
- Amazon Linux 2016.09.0
- Ubuntu 16.04 Lightsail
Lightsail supports 10 applications at the moment and DO allows you to select one from 31.
Both providers support snapshots, in DO it will cost $0.05/GB/month when in Lightsail there is no information about the price (free?).
2.8 VPC peering
Logically DO doesn’t support VPC peering and Lightsail has it.
2.9 DNS hosting
Lightsail also offers DNS zone hosting.
3 Performance testing
In this testing we using $5 instances with Ubuntu 16.04. Regions:
- Lightsail: Virginia
- DO: New York
3.1 Time to create an instance
Both providers show the same time: it took us about 22 secs to get a running instance. Well done.
sysbench --test=cpu --cpu-max-prime=20000 runsysbench --test=cpu --cpu-max-prime=20000 run results (total time taken by event execution, the less the better):
There’s a big difference here, surprisingly.
3.3 Disk IO
sysbench --test=fileio --file-total-size=16G preparesysbench --test=fileio --file-total-size=16G prepare
sysbench --test=fileio --file-total-size=16G --file-test-mode=rndrw --init-rng=on --max-time=300 --max-requests=0 run
Results (total transferred, the bigger the better):
Total transferred 4.7333Gb (16.156Mb/sec)
Total transferred 13.336Gb (45.521Mb/sec)
And again huge gap between providers, but this time DO is much faster.
3.4 Internet connection
time wget http://mirror.pnl.gov/releases/xenial/ubuntu-16.04.1-server-amd64.iso -O /dev/null results:
- Lightsail: 1m9.534s
- DO: 32.331s
DO is twice faster.
4 Total score
And the winner is DO, not by knockout, but on points. Lightsail is a rookie with a good potential. It allows you to start using simple service from Amazon and if needed you can switch to AWS (remember vpc peering). Lets wait for an answer from DO, what can it be? Price drop, new services? We’ll see.