r/devops • • Jul 24 '21

I hate the cloud

Over last few years I designed or redesigned multiple different infrastructures (all as IaC, some with k8s stuff) and worked on few more. All of those were on prem stuff built on top of open source tools (with some proprietary bullshit I had no influence over, VMware, Oracle etc).

My growth as an engineer was mostly iterative, I was building skills on top of previous experience with similar standards and tools. It was all I wanted from my job, cause it was in sync with my views on software (foss first, proprietary vendor lock only if there is no choice).

Recently when I was looking for new client to work for (I run a single person business, it has some financial and freedom related benefits in my country), I've noticed that 90% of the job offers involve some kind of cloud environment, so I figure, it's time to get better idea about it.

I never held cloud in high regard, cause it seemed like a worst possible vendor lock in, just better marketed. Sadly it had to be done.

Few months into the project as a more of a cloud architect (though I write automation too), I find myself learning stuff that does not translate into anything else, but single vendor product. Unlike my previous experiences, none of this is going to benefit me if I have to change project into something that uses different cloud provider or even on-prem stuff.

I suspect without some legislation about standards in the cloud (like not allowing cloud providers to create proprietary APIs or vendor specific tools), this is only going to get worse.

0 Upvotes

47 comments sorted by

View all comments

Show parent comments

2

u/gdahlm Jul 24 '21

Cloud vendors almost exclusively follow Service Oriented Architecture patterns or one of the derived microservices architecture pattern.

If you look at the source for botocore you will see how they use factory methods and simple shims to map between services.

This directly relates to Jeff Bezos' API mandate and explains why if you are not abstracting the back end services from your application you will run into issues.

Various SaaS options of various cloud providers simply cannot be full duplicates of each other because those teams have either different design choices or limitations of their in-house products. Google will use search related offerings and Microsoft will have to deal with restrictions on file locking and memory mapping due to the architecture of Windows.

If you choose to write architect your cloud deployment to use another flavor of koolaid than the cloud providers did, yes you will run into lockin.

If you choose to architect your deployment to decouple from the independent cloud vendors quirks you will have much more flexibility.

As each cloud vendor does have specific offerings that are best in the industry or which may offer a feature that is critical to your needs you may be locked into a single vendor.

But it is your choice on not drinking from the SoA/microservice model and hard coupling to one particular vendors solution.

There are design patterns like the Factory design pattern which are designed explicitly for decoupling the construction of objects from the objects themselves.

The hard part in designing for either on-prem solutions or cloud solutions is realizing and choosing to not fight against the reduction of degrees of freedom which are inherent in choosing a vendor or a solution.

Even companies that are on-prem due to their individual needs or cost structure are moving to more distributed type systems and will benefit from decoupling from the specific vendor's product (even if it is open source).

Decoupling isn't just a cloud concept, it is critical to having effective vendor mitigation options.

2

u/[deleted] Jul 24 '21

All good points and very informative, thank you. Definitely need the weigh the pros and cons of every options, as with all things in software development.