3 ms·
What's your bill like? Or I guess it depends on each person's interest in the cost but yeah. Maybe it doesn't have to be expensive if you do it from a "raw" way
by ge96 4y ago
What's your bill like? Or I guess it depends on each person's interest in the cost but yeah. Maybe it doesn't have to be expensive if you do it from a "raw" way.
- maccard 4y ago"it depends", but mostly I don't care, it's a rounding error compared to developer time. Digitalocean lets you deploy containers onto app service so you could do it for $5/month there. On AWS you can do it for about $15. > Maybe it doesn't have to be expensive if you do it from a "raw" way. If you look at straight $$$ cost sure, but the moment you take any development time into consideration you want to build on abstractions. Sure I could run docker on ec2 on a t2 micro behind the free tier, but if it takes me half a day to set up and I make $50k/year, it will take almost a year of it being free to pay off the cost of running it in fargate. _This_ is where AWS saves you money, not on buying compute from ec2.
- ge96 4y agoI see thanks for the insight, I'll keep this in mind, I did Fargate as an option but still don't know when to use but yeah, in due time will learn.
- maccard 4y agoFargate is excellent. It takes the machine management and host management out of running containers. If you run docker on ec2, you need to manage the scaling of the hosts and containers, and also the packing of both. With fargate you just say "I want 1 vcpu and 2gb ram, and scale at 80% utilisation". Ive worked on projects that were too big to be cost effective to run with that model but for personal projects and for my current job it's excellent.
- ge96 4y agoI'll mess around and see if it's worth it. I just think it's overkill for my personal use case.
- maccard 4y agoFor a personal use case, digitalocean [0] + gitlab [1] would be $5/month, and it's pretty much idiot and bullet proof. [0] https://docs.digitalocean.com/products/app-platform/how-to/deploy-from-container-images/ https://docs.digitalocean.com/products/app-platform/how-to/d... [1] https://www.howtogeek.com/devops/how-to-build-docker-images-in-a-gitlab-ci-pipeline/ https://www.howtogeek.com/devops/how-to-build-docker-images-...