What are the pros and cons of using AWS EC2?

EC2 instances are great. Some of the key advantages are using EC2 are pretty self explanatory:

  1. Instant setup of new server instances
  2. Integration with the AWS services
  3. Servers in multiple regions
  4. API services

As far as negatives for EC2 instances, I’d honestly say cost is the biggest thing. EC2 instances aren’t very flexible in terms of size and resources. They are also rather expensive compared to similar services from Digital Ocean.