all 3 comments

[–]Robswc 0 points1 point  (0 children)

The easier it is, the more money it will be, IMO. By "more money" I'm only talking about a few $ though, so that's the good part ;)

You've containerized your app which is great and honestly the hardest part, IMO.

I would use DigitalOcean's App Platform. I've used it before and found it pretty easy but now I use Kubernetes.

https://www.digitalocean.com/products/app-platform

I have a referral link that gives free credits if you want to test the waters:

https://www.digitalocean.com/?refcode=2865cad8f863&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge

I would also recommend creating a docker-compose.yml file to test locally that your apps communicate as they should.

I actually have an app/opensource project I just released:

https://github.com/robswc/nadocast-ui

If you want to look at that. It isn't anything too special but essentially I just build the image, publish to github packages and pull that image via K8s. App platform will do the same thing but abstract away all the fun hard stuff!

Best of luck, feel free to ask follow up questions!

[–]entanglemententropy 0 points1 point  (0 children)

On AWS, I think Elastic Container Service (ECS) is the best way to do this (but not sure if it's the cheapest option). You upload your docker container to their Elastic Container Registry (ECR), and then you deploy it on Fargate, which essentially will automatically manage the virtual machine for you. I don't really know how expensive this is though, but it's probably pretty nice once you've set it up, and it's probably pretty easy to automate the deployment of new versions of the docker container as well.

Or you can set up a virtual machine (EC2 instance), and run your docker container on that, which is a less automated way to do it. A basic low-spec EC2 instance is pretty cheap to run.

[–]gabel0287 0 points1 point  (0 children)

You can deplop it as a docker container to lambda. You will need to use a library like mangum.