Better alternatives to EC2?

I have a web app. I want to be able to deploy lots of different apps, on different hardware. At the moment I do this with a Java app, tomcat and AWS EC2 but I feel there must be a better way - in terms of performance, cost, etc.

Any suggestions?

Amazon is not the best bang for the buck provider if you are only looking for performance and usage cost. It seems like you don’t really care about utilizing existing aws services, development cost or cost of switching. Under this assumption, linode or digital ocean is a good choice instead of aws. You could save maybe 60-70% in server cost if you consider other providers without doing anything differently.

If you are frugal, take advantage of sign up bonuses of different providers. IBM provides like 500 for half a year, others credits as well.

The answer to this question can really go many different ways… Reserved instances for ec2 alone can save you quite a bit of money if you’re willing to pay upfront for a contract deal. Other than that, there’s the whole suite of aws services which would require rearchitecting your site to utilize. You could go full serverless, you could go docker, elb, some combination of all of the above… I guess more info is really needed to avoid writing a book (of which there are many already online for you to read at your leisure).

It depends what you are looking for. If you want to stick with AWS-like platforms, I would suggest Google cloud. If you want more control over your hardware/OS, I would suggest you have a look at DigitalOcean.

In the same vein, just stick with AWS and use LightSail.

I know AWS well. I work at AWS as a consultant. But if I had to do a side project that wasn’t fit for serverless (Fargate/Lambda). I wouldn’t want the complexity of full blown AWS. I would use LightSail.

AWS Lightsail is what I personally use for my personal apps, web services and my docker services/apps. The $10 deal is perfect for what developers need. If I ran my own company, I might use Lightsail and Lightsail Containers for some stuff and a mix of EC2 and ECS for the rest.

You might consider AWS Fargate, if you’re agreeable to dockerizing your apps. You wouldn’t have to maintain EC2 instances, and can maintain reusable pipelines for multiple apps.

What cost issues are you seeing?

This. I tend to think people over complicate dev environments. Unless you are building at Instagram style level scalability keep it simple and focus on other things. None of your customers or general users know or care what things are running on as long as things work and the experience is solid.

Not sure exactly what you’re apps are but if serverless could be a fit then that could be a good way to go. Lambda supports Java these days and obviously there is S3 and CloudFront for hosting a front end. :slight_smile:

I like Vultr when just needing a server instance. They have the best price/performance ratio when looking at RAM and raw processing power.

Elastic Beanstalk is worth a look if you’re not actually so concerned about the “different hardware” part. Platform-as-a-service - you supply the .war or .ear, and everything else is on auto.

You’ll need to pin down what you mean by “better”. You mention performance and cost - these tend to be inversely proportional. AWS can deliver what you need, but you’ll need to figure out what you need.

Link: https://aws.amazon.com/elasticbeanstalk/details/

If you are looking to host a simple App without being worried about huge data transfer and scaling, Contabo and Digital ocean are a decent and cost effective options.

I used Fargate and it was horrible. Know what you are getting into before committing to it.