News for hackers. Stuff that matters.
Re:Docker is a dangerous gamble by philliphaydon on Monday May 14, 2018 @07:09AM (#17064414)
If you’re using a cloud provider, using docker isn’t going to magically save you when switching providers cos chances are you’re using services of the cloud provider. Your code has to be rewritten.

And in regards to scripts or docker. No you wouldn’t need to rewrite everything.

Re:Docker is a dangerous gamble by the_new_guy_29 on Monday May 14, 2018 @09:32AM (#17065315)
Thats why you wrap them in api or rather your architect should. You can and abolutely should abstract yourself from cloud provider. Difference with Docker is that in case of such a move (already did that in my career) the amount of boilerplate you have to review and adjust is magnitudes lower than what he (OP) proposed in his article.
Re:Docker is a dangerous gamble by EpicEng on Monday May 14, 2018 @10:50AM (#17066011)
And this is exactly how you end up with an overbuilt system which is difficult to comprehend because some "architect" decided you need to be able to change cloud providers on a whim. You pay for that decision every day and 99.9% of you are _never_ going to switch providers.

Web development is full of engineering astronauts who think they need 8 levels of abstraction to solve relatively simple problems. Oh, and for that 0.1% that does actually switch, they soon realize they're abstractions weren't as good as they thought they were and they have to reimplement every interface anyway.

Re:Docker is a dangerous gamble by philliphaydon on Monday May 14, 2018 @09:42AM (#17065406)
So you write an abstraction around the provider, and when you switch provider, you still need to implement a new implementation of that abstraction for the new provider. So in this regard, docker gave absolutely 0 benefit.

In regards to setting up a new server for a new provider, or docker, you have some boiler plate:

-> create script to attach docker to provider

New provider...

-> create new script to attach docker to provider

----

-> create script to provision server on provider

-> run generic script to configure it how I want

New provider

-> create new script to provision server on provider

-> run generic script to configure it how I want

In this regard, moving from 1 provider to another, is identical.

Re:Docker is a dangerous gamble by notyourday on Monday May 14, 2018 @10:55AM (#17066051)
Let me ask you a question:

How do I abstract this unique idea of IOPS that AWS has?

Re:Docker is a dangerous gamble by EpicEng on Monday May 14, 2018 @01:51PM (#17067685)
You try, fail, and end up with a leaky, useless abstraction.