Comment on How to create a Lemmy Instance using AWS or some kind of cloud service?
key@lemmy.keychat.org 1 year ago
The lemmy docs have a version that sets it up via CDK. I would not do that as it’s needlessly expensive for experimentation.
Cheapest AWS option is set up an EC2 instance with an elastic IP, follow the wizard AWS gives you. Ubuntu OS will be the most accessible. Set SG to allow http (port 80)and https (443) from 0.0.0.0/32 and Ssh only from your IP address. You’ll need to generate a keypair as part of the setup. and then you’ll ssh in and follow any generic lemmy get started guide (probably the easy install script).
The free tier instance type will get you started but it’ll start giving you problems after not too long. Probably need to go up to like a t3.medium to avoid it occasionally freezing up on you.
jballs@sh.itjust.works 1 year ago
I’m surprised no one has setup an AMI. I’m sure there are plenty of semi-technical people who wouldn’t mind spinning up instances but just don’t have the hardware to do it.
Ocelot@lemmies.world 1 year ago
Theres already docker images and ECS/fargate. Im debating on putting together a whole terraformed kubernetes stack for other instances to use, it would be for larger instances though as the while stack might be close to $100/mo with costs going up automatically with scale. Every time someone runs an instance and it runs on a single box with no scaling or redundancy it makes me cringe a bit.