Moving away from Linode - trying to decide between AWS Lighsail and EC2

I am in the process of moving away from Linode, after being with them for well over a decade (I won’t get into the reasons here, but suffice to say, I believe that the company I signed up to originally, is considerably different from the current Linode).

I am a developer/entrepreneur, and I have about three startup ideas for which I have what is effectively holding/landing pages. The sites are not fully functional, but the “static” pages are being served by a Django application running on a docker instance, with PG db etc.

So, these are my requirements:

  1. A VPS that comes with NOTHING installed, so that I can install the packages etc. that I want. I will need to be able to compile C/C++ libraries if need be, on the server, and be able to use those libraries (e.g. in Python packages etc.)

  2. I need to be able to secure the VPS, using things like denyhost etc.

  3. I need to be able to modify the DNS records - specifically, to be able to add things like SPF records, to allow me to be able to use third party email services from the domain (e.g. myname@mydomain.com)

These websites are not actually businesses (yet), so I want to minimise the spend on them - until I at least, get them to MVP, at which point, I don’t mind moving to EC2. But I don’t know if Lightsail is able to meet requirement 3, and I am really anxious about “hidden” terms in the “pay ad you go” model - that could potentially expose me to “uncapped” expenses (I understand that the probability is very low; my point is that the probability of such an event occurring with EC2, no matter how small, is non-zero).


Related discussions:

You want EC2 (really ECS). Lightsail doesn’t make sense as a product. For a large enterprise that has resources in AWS already and wants to keep under one umbrella ok maybe. For a rapid, rapid, development startup with no institutional knowledge looking for bullet points to get funding, ok maybe.
Better solutions for both outside of AWS. Using AWS as a VPS makes it the most expensive VPS in the world.

Setup spend alerts with estimates in the billing dashboard. That way you will at least get notified if the spend goes crazy.

Oh, and get a Yubikey.

Better solutions for both outside of AWS.

Kindly elucidate me some more (preferably, with some suggestions of the better solutions for my current setup).

AWS is 10x more complex coming from Linode. Maybe DigitalOcean would be a better alternative (or Vultr or others). You need to worry about accounts, regions, IAM (access), VPC and many other things.

Either you pretend most of the above doesn’t exist and hope for the best (e.g. a security breach) or you’ll waste a lot more time for something that doesn’t have uptake.

Oh and there’s the bill shock. If it’s just a Linode price increase maybe let it go until you have some real traffic and decide then.

if you use docker anyway, i’d suggest looking at ECS, and don’t bother with VMs.

i’m having difficulties understanding what NOTHING would mean. stock VMs come with a bunch of preinstalled tools, like AWS CLI. is this a problem? you can uninstall them and save the VM as AMI (VM template), or select some custom community AMIs if you trust them.

you can define quasi firewalls via “Security Groups”, and you can define your own routing via Routing Tables. check VPC for more info.

if you host your DNS stuff in AWS, you can set any records. this will cost you 0,5 usd per month, domain not included. Route53 is the name of the service.

in the pricing mode, there are not as much “hidden” terms, more like gazillion of different things billed, and sometimes unclear what will cost fractional cents and what will be considerable. for example if you go deep in protecting the infrastructure, and start to use ENIs and NAT gateways, suddenly you’ll see your bill being populated with new lines.

If you are looking for a vps, then lightsail is the way

Full fledge compute go to EC2

But what about my stated requirements (especially #3 ?). I think lightsail states that you can’t add SPF records to DNS hosted on lightsail - am I missing something?

See:

https://aws.amazon.com/premiumsupport/knowledge-center/lightsail-considerations-for-use/

Have you considered fly.io? I found it absolutely delightful for hosting a Docker image-based Rails app with Postgres. Very cheap and fast.

Otherwise I would consider a simpler VPS provider like Digital Ocean over AWS. AWS is great if you need it, but a very rich and complex thing to learn with as many great services as terrible ones to steer clear of.

I don’t think you mentioned any requirements that would help differentiate between hosts.

The sites are not fully functional, but the “static” pages are being served by a Django application running on a docker instance, with PG db etc.

If all you currently have is landing pages, you’re gonna pay way more than necessary to host an EC2 instance and even more for ECS.

A static site hosted out of S3/CloudFront should be more than enough for a couple cents a month. Or just throw it on Vercel(free) for now and cut over to AWS once you have a function product.

I wouldn’t/don’t pay anything for static pages, or even a simple web app.

SPF records aren’t actually of type ‘SPF’ anymore, nowadays they’re ‘TXT’ records–which are supported.

A VPS that comes with NOTHING

Yeah, that bit from OP is weird. Every VPS comes with an OS. If there was nothing it wouldn’t boot or be functional. You also couldn’t ssh in because there’d be no sshd.

Cool. Yeah, I forgot they were TXT records now. I just got spooked when I read they weren’t supported. So, all my 3 requirements can be satisfied by Lightsail right?

I want to familiarise myself with AWS because at some point, I’m going to jump to EC2 or something similar - for some heavy GPU computational stuff, but that’s for later.

most modern os comes with hundreds of tools nobody ever uses. who cares? most of these tools occupy like 10K disk space each. start your Dockerfile with FROM scratch lol.

I’d look at digital ocean

The F.

Explore the no/low cost options first.

The whole reason to cap experiments at $100 in public cloud is to leverage ideation/services traditional cpanel/plesk->vm hosting doesn’t offer.

I don’t know why people insist on spending on instances when they don’t have to.

I think you can have up to 8 now… So get 8

I am curious why you’re leaving Linode. Just the option for free support sounds real enticing

I would skip over AWS and go with Digital Ocean, if you’re really determined to move away from Linode. Personally I’d recommend sticking with Linode though. Your choice.