Hacker News new | ask | show | jobs
by Aeolun 1341 days ago
The problem with even lambda or ECS though is that it’s all much more complex than a simple rsync to your desired server.
3 comments

With Fargate or Google Cloud Run, it really isn't. Assuming zero knowledge it's probably easier to learn how to build a docker container and call a binary to send it to the service than it is to setup ssh and rsync and a server to host your website.
I don’t think you can build a docker container without already understanding concepts that you need to run rsync. So it seems like an extra step?
I went from not knowing Docker to having a production capable ECS/Fargate microservice spun up within less than a week.

I based it on this CFT

https://github.com/1Strategy/fargate-cloudformation-example/...

And this walk through for C#. I had a similar walkthrough for building a container for a Node service.

https://aws.amazon.com/blogs/compute/hosting-asp-net-core-ap...

https://aws.github.io/copilot-cli/

That takes a Dockerfile, manages networking, secrets and CI/CD deployment. I have a few quibbles with what it does, but it generally works and is being maintained/updated.

App Runner is total crap compared to Cloud Run. Actually I don’t think the other 2 clouds have anything as nice and easy as Cloud Run