Hacker News new | ask | show | jobs
by sheraz 3116 days ago
Be advised that Azure container instances are very expensive to run 24/7. This is not the intended use.

ACI current pricing as of Dec 2017

1 create request x 1GB memory x 1 month (2592000 seconds) x $0.0000125 (GB/sec) = $32

1 create request x 1 CPU Core x 1 month (2592000 seconds) x $0.0000125 (GB/sec) = $32

Total ~ $64 / month.

I think you might be better off running an Ubuntu VM with Docker for your services and then add Azure Databases for MySQL for persistence. That is how I deploy inside azure.

1 comments

I have not yet fully understood the principle of "create requests".

It is also possible, if I consider your suggestion to run MySQL directly on the VM - then the two containers above. This would be cheaper, wouldn't it?

"create requests" only means something in ms land

using a vm you'd save about 30usd/mo

i could provide a configuration that you can run directly on your machine. drop me a line if you need help, i'm @andreicon on twitter

Deploying a configuration sounds very good.

Would you be ready for a moment what exactly this configuration contains? I'm new to Docker and still at the beginning... this will be my first implementation.

Many thanks for all the help. You can contact me at "calpas@protonmail.com".