DigitalOcean vs Amazon EC2

DOcean
EC2
Last updated on

We have tested 15 VPS plans from DigitalOcean and Amazon EC2. This page is a summary and comparison of all test results for those 2 providers.


DigitalOcean

DigitalOcean was founded in 2012.
It is headquartered in the USA.
It offers VPS, Database, Storage and Networking hosting products.

It has datacenters in:
  • Canada
  • Germany
  • India
  • Netherlands
  • Singapore
  • UK
  • USA

Amazon EC2

Amazon EC2 was founded in 2006.
It is headquartered in the USA.
It offers VPS, Database, Storage and Networking hosting products.

It has datacenters in:
  • Australia
  • Brazil
  • Canada
  • China
  • France
  • Germany
  • India
  • Indonesia
  • Ireland
  • Japan
  • Singapore
  • South Korea
  • Sweden
  • UK
  • USA

This provider is related to Amazon Lightsail.

Lightsail is the low price, simple VPS offering from Amazon.


VPS Plans

Plan Name Monthly Price CPU cores Memory (GB) Disk Space (GB) Data Transfer (GB) Latest trial
Standard 1GB 1 core $5.00 1 1.0 25 1000 Dec 03 2018
t3.micro $7.49 2 1.0 20 0 Jun 03 2019
Standard 2GB 1 core $10.00 1 2.0 50 2000 Jun 14 2019
t3.small $14.98 2 2.0 8 1000 Jan 29 2019
Standard 1GB 3 cores $15.00 3 1.0 60 3000 Aug 26 2019
a1.medium $18.36 1 2.0 20 100 Nov 28 2018
Standard 4GB 2 cores $20.00 2 4.0 80 4000 Nov 06 2019
t3a.medium $27.07 2 4.0 0 0 Nov 04 2019
t3-medium $29.95 2 4.0 8 200 Aug 22 2018
t2-medium $33.41 2 4.0 8 250 Jul 22 2018
CPU Optimized 4GB $40.00 2 4.0 25 4000 Feb 03 2019
General Purpose 2 cores $60.00 2 8.0 25 4000 Apr 05 2019
c5.large $61.20 2 4.0 0 0 Aug 20 2019
m5a.large $62.00 2 8.0 20 100 Mar 31 2019
m5.large $69.12 2 8.0 20 200 Nov 14 2018

Performance Grades

To summarize the performance of each VPS plan, we generated grades based on the various tests that were run: web, sysbench, endurance and remote timing tests. Each grade focuses on one aspect of the VPS speed or stability (cpu, disk IO, network IO...) and is made of one or more metrics measured during the tests.

Grades are evenly distributed between A and F. A is best, F is worst.

Follow the letter links to find the test results backing the grade.

How are grades calculated?

Plan Name Web Perf Raw CPU Power Perf Stability Disk IO Perf Network Perf
Standard 1GB 1 core
$5.00
D D C D B
t3.micro
$7.49
C D E E B
Standard 2GB 1 core
$10.00
E D D E C
t3.small
$14.98
B C D D C
Standard 1GB 3 cores
$15.00
D B D D D
a1.medium
$18.36
- - - - -
Standard 4GB 2 cores
$20.00
C B B C C
t3a.medium
$27.07
E E E E C
t3-medium
$29.95
B D D C B
t2-medium
$33.41
B C D C D
CPU Optimized 4GB
$40.00
B B C B C
General Purpose 2 cores
$60.00
B B E B D
c5.large
$61.20
B B C D B
m5a.large
$62.00
C D D D C
m5.large
$69.12
B C C C C
Show Price Weighted Grades   

VPS Instance Provisioning Time

This is the average time it took to create an instance for DigitalOcean and Amazon EC2 from instance order to instance accepting connections.

All VPS provisioning times

DigitalOcean Amazon EC2
Number of instance creations in sample 7 7
Provisioning time in seconds 29s 33s

In Depth...

The grades above are based on the following test results.


Web Response Times

We ran a database intensive web application with ~100,000 hits per day for several days on cloud servers from DigitalOcean and Amazon EC2. This is the average response time measured locally on the VPS for each plan we tested.



Local Response Time per Plan

Lower is better

Provider Plan Average response time
DOcean Standard 1GB 1 core 73.0ms
DOcean Standard 2GB 1 core 105.0ms
DOcean Standard 1GB 3 cores 83.0ms
DOcean Standard 4GB 2 cores 73.0ms
DOcean CPU Optimized 4GB 52.0ms
DOcean General Purpose 2 cores 57.0ms
EC2 t3.micro 72.0ms
EC2 t3.small 62.0ms
EC2 t3a.medium 103.0ms
EC2 t3-medium 55.0ms
EC2 t2-medium 52.0ms
EC2 c5.large 50.0ms
EC2 m5a.large 66.0ms
EC2 m5.large 50.0ms

During the Web Test, we collect response time metrics, CPU metrics and database performance metrics. All of those are measured locally on the VPS running the web server. All metrics can be compared on the Web Performance Comparison page.


Sysbench CPU Performances

We ran the full suite of Sysbench tests on VPS plans of DigitalOcean and Amazon EC2. These are the Sysbench CPU test results:



Rate of operations

Higher is better

Provider Plan Operations per second
DOcean Standard 1GB 1 core 397.8
DOcean Standard 2GB 1 core 395.6
DOcean Standard 1GB 3 cores 1012.5
DOcean Standard 4GB 2 cores 761.8
DOcean CPU Optimized 4GB 913.0
DOcean General Purpose 2 cores 929.2
EC2 t3.micro 652.5
EC2 t3.small 604.7
EC2 a1.medium 897.3
EC2 t3a.medium 501.2
EC2 t3-medium 554.2
EC2 t2-medium 701.1
EC2 c5.large 695.0
EC2 m5a.large 540.7
EC2 m5.large 644.8

Sysbench test results are also available for random disk IO tests, sequential disk IO tests and memory tests.

Review and compare all Sysbench numbers on the Sysbench Comparison page for DigitalOcean and Amazon EC2.


Remote Timings

During the entire duration of the web performance test, we collected web response times from 5 different locations in the world. The chart below reports the connection establishment time + TLS handshake latency from all 5 locations. (That excludes the time spent on the server that is already measured in web response times above and it also excludes the DNS resolution time since it is not dependent on the provider).


Remote Latency per Plan

Lower is better

Provider Plan Average remote request duration
DOcean Standard 1GB 1 core 361.8ms
DOcean Standard 2GB 1 core 359.0ms
DOcean Standard 1GB 3 cores 326.0ms
DOcean Standard 4GB 2 cores 334.0ms
DOcean CPU Optimized 4GB 364.8ms
DOcean General Purpose 2 cores 370.2ms
EC2 t3.micro 357.2ms
EC2 t3.small 359.8ms
EC2 t3a.medium 346.2ms
EC2 t3-medium 339.8ms
EC2 t2-medium 344.8ms
EC2 c5.large 352.0ms
EC2 m5a.large 353.2ms
EC2 m5.large 338.8ms

Detailed remote timings measurements including connection time, TLS handshake time, and response time can be compared for DigitalOcean and Amazon EC2 on the Remote Timings Comparison page.


Network Transfers

We have performed large file transfers from the DigitalOcean and Amazon EC2 VPS and we measured the speed of downloads and uploads.

The transfers involve multiple files, 10 threads and last for at least 10 seconds at maximum speed. The transfers are repeated 3 times from different servers and only the fastest transfer is reported here.


Download Speed per Plan

Higher is better

Provider Plan Network Download Speed
DOcean Standard 1GB 1 core 1390.9Mbps
DOcean Standard 2GB 1 core 658.8Mbps
DOcean Standard 1GB 3 cores 211.8Mbps
DOcean Standard 4GB 2 cores 758.5Mbps
DOcean CPU Optimized 4GB 567.4Mbps
DOcean General Purpose 2 cores 404.1Mbps
EC2 t3.micro 1673.2Mbps
EC2 t3.small 418.7Mbps
EC2 a1.medium 181.8Mbps
EC2 t3a.medium 691.7Mbps
EC2 t3-medium 1850.2Mbps
EC2 t2-medium 506.8Mbps
EC2 c5.large 1592.3Mbps
EC2 m5a.large 573.8Mbps
EC2 m5.large 629.0Mbps

Network Transfers measurements including download and upload speeds can be compared for DigitalOcean and Amazon EC2 on the Network Transfers Comparison page.


Sustained CPU Endurance Tests

We pushed the CPU of those VPS plans hard for 24 hours straight.

This test shows how fast the VPS can go for long periods of time, how stable the performance is and it also gives clues on how overallocated the VPSs may be.


Average number of operations per hour

Higher is better

Provider Plan Average ops/hour
DOcean Standard 1GB 1 core 3023.6
DOcean Standard 2GB 1 core 2549.0
DOcean Standard 1GB 3 cores 5835.2
DOcean Standard 4GB 2 cores 4153.1
DOcean CPU Optimized 4GB 7659.7
DOcean General Purpose 2 cores 3709.1
EC2 t3.micro 2150.7
EC2 t3.small 4280.3
EC2 t3a.medium 1350.0
EC2 t3-medium 1732.2
EC2 t2-medium 2184.5
EC2 c5.large 6196.8
EC2 m5a.large 1901.8
EC2 m5.large 4587.6

Review and compare endurance test results for DigitalOcean and Amazon EC2 on the Sustained CPU Endurance Comparison page.


Features and Usability

Features not included in the VPS price of the plan will be marked as missing but they may be available for the fee.

DigitalOcean Review Amazon EC2 Review
Hourly Billing  Yes Yes
DDOS Protection  No No
Backups  No No
Control Panel  Builtin Builtin
SSH Keys Setup  Yes Yes
Total Number of Datacenters  12 22
Number of Datacenter Continents  3 4


Having trouble finding the VPS that fits your needs?

Use the VPS Screener to quickly zero in on the specifications, performance and price that you're looking for.






Select 2 VPS providers for comparison

VPS Screener

VPS Screener

Find the VPS that fits your requirements in seconds with the Screener


Screener

Best VPS Summer 2019


Share this page

Latest Tweets by @vpsbenchmarks

Partners

vpsbenchmarks.com is hosted by:

Cheap Powerful VPS

News

Best VPS for $10 or less

List of the best Virtual Private Servers, performance tested, that will cost you $10 or less per month.


Vultr High Frequency Compute Instances

On June 10th 2019, Vultr announced the launch of [high frequency compute ...

More...

Be featured on VPSBenchmarks

Cloud Server Providers, would you like your products to be tested at vpsbenchmarks.com?

Check out our pricing page and sign up

Disclaimer

We are proud to provide objective and impartial benchmark data on this website. VPSBenchmarks receives support from some of the providers featured here but all tests are conducted the same way for all providers irrespective of our relationships with them.

If you find our benchmarks valuable, you can help by make your hosting purchases using the Provider Affiliate Buttons displayed throughout the site.


Latest trials

All tests that were recently conducted at VpsBenchmarks:

Start Provider
Nov 20 2019 AtlanticNet
Nov 17 2019 Linode
Nov 15 2019 Alibaba Cloud
Nov 13 2019 Aruba Cloud
Nov 11 2019 1and1 IONOS
Nov 08 2019 Ramnode
Nov 06 2019 DigitalOcean
Nov 04 2019 Amazon EC2
Nov 01 2019 VPS2DAY
Oct 30 2019 Vultr
Oct 28 2019 Google Compute Engine
Oct 25 2019 Scaleway