News for hackers. Stuff that matters.
Re:AWS staff spending ‘much of their time ’optimizing custom... by echelon on Monday April 17, 2023 @01:26PM (#35603781)
Use vanilla products (K8S, "RDS", ...) so you can always dangle the threat of going on-prem or to another cloud provider.

Once you use Lambdas and other deep AWS product, you're locked in.

Re:AWS staff spending ‘much of their time ’optimizing custom... by sarathyweb on Monday April 17, 2023 @01:40PM (#35603959)
If possible can you suggest me a lof vanilla products. My team is building a platform that allows anyone to spinup instances on any cloud platform. We’re planning to add support for DNS management ( Route53, Google cloud DNS& Azure DNS) and storage buckets
Re:AWS staff spending ‘much of their time ’optimizing custom... by potta_coffee on Monday April 17, 2023 @01:41PM (#35603974)
Just what we need, another platform.
Re:AWS staff spending ‘much of their time ’optimizing custom... by master_crab on Monday April 17, 2023 @01:36PM (#35603912)
You could use containerized lambdas. Your application logic would be mostly safe to migrate around as need be.

But then again, migrating from one cloud to another is always a heavy lift no matter how it’s constructed.

Re:AWS staff spending ‘much of their time ’optimizing custom... by vidarh on Monday April 17, 2023 @01:43PM (#35604000)
Having done zero downtime migration from AWS to Google to managed servers (chasing credits, and then moving to Hetzner when the credits ran out): it's not much heavy lifting if you treat each cloud provider as just providing raw compute and storage resources.
Re:AWS staff spending ‘much of their time ’optimizing custom... by jamsauceismad on Monday April 17, 2023 @02:30PM (#35604600)
It's because you did the heavy lifting up front with how your application is designed and how your infra is provisioned (I'm guessing everything is terraformed or something?).
Re:AWS staff spending ‘much of their time ’optimizing custom... by sleepybrett on Monday April 17, 2023 @02:39PM (#35604706)
Also a great unlock if you do the bulk of your work in kubernetes. Amazon is certainly doing some things in their kube implementation that will make moving suck more (karpenter, some of their other integrations) in an effort to be better and thus sticky... But it's still pretty easy to go from one kube cluster to another.
Re:AWS staff spending ‘much of their time ’optimizing custom... by vidarh on Monday April 17, 2023 @03:35PM (#35605434)
Everything in Docker containers + a service discovery layer (Consul on that particular case) will get you most of the way there as long as you don't get seduced into relying on cloud specific services.
Re:AWS staff spending ‘much of their time ’optimizing custom... by scarface74 on Monday April 17, 2023 @03:41PM (#35605514)
And then you’re managing Consul clusters (been there done that).
Re:AWS staff spending ‘much of their time ’optimizing custom... by vidarh on Tuesday April 18, 2023 @03:04AM (#35610859)
I never found that a problem. Consul was robust when I used it.
Re:AWS staff spending ‘much of their time ’optimizing custom... by croddin on Monday April 17, 2023 @01:55PM (#35604164)
With the lambda web adapter[1], you shouldn't need to make any code changes for web projects, just some dockerfile changes which are only used if it is running as a lambda, so the same image should still work on ecs or another cloud. [1]https://github.com/awslabs/aws-lambda-web-adapter
Re:AWS staff spending ‘much of their time ’optimizing custom... by tyingq on Monday April 17, 2023 @01:43PM (#35604004)
I don't personally feel like Lambdas themselves are the hard lock-in. It's the stuff around them that really gets into your code or forces specific patterns. SQS, SNS, Dynamo, Kinesis, EventBridge, etc.
Re:AWS staff spending ‘much of their time ’optimizing custom... by preommr on Monday April 17, 2023 @01:55PM (#35604167)
Which frankly are the essential parts of a robust cloud architecture. Deploying a server is trivial - just dump it on any kind of compute resource. Managing fault-tolerance and monitoring, etc. between those services is the tricky part.
Re:AWS staff spending ‘much of their time ’optimizing custom... by mschuster91 on Monday April 17, 2023 @03:01PM (#35605010)
IME, not if you're using Terraform with proper modularization and can stick to the commonly available feature set. Have one layer of modules that describe what you want (e.g. a virtual server, database, monitoring) and behind that a separate layer that implements it (e.g. creates an EC2 instance, an RDS database or a CloudWatch alert).
Re:AWS staff spending ‘much of their time ’optimizing custom... by scarface74 on Monday April 17, 2023 @03:40PM (#35605500)
Terraform is not “cloud agnostic” anymore than using Python with the various cloud providers SDKs.

Each provider within TF is tied tightly with the cloud provider.

Standard Disclaimer: yes I work at AWS and I do IAC with the CloudFormation or TF depends on what the customer wants

Re:AWS staff spending ‘much of their time ’optimizing custom... by Karunamon on Monday April 17, 2023 @03:46PM (#35605599)
That's a nonstarter just because of how you describe the various services at each cloud provider. For instance, Google cloud is big into using "projects" as organizers for resources, where the closest analogue in AWS land is an entirely separate account.
Re:AWS staff spending ‘much of their time ’optimizing custom... by throwawayx35fw on Monday April 17, 2023 @05:53PM (#35607134)
In my opinion, SQS shouldn't be on that list.

You save a lot of time and resources just using SQS instead of setting up your own servers. And the lock-in is not as problematic as Lambdas etc.

It doesn't require much code change to move to an alternative message queue (RabbitMQ etc.), so the lock-in is minimal. In my projects, I just need to change a few lines of configuration code and the actual message processing code should remain the same.

Re:AWS staff spending ‘much of their time ’optimizing custom... by roncesvalles on Monday April 17, 2023 @01:47PM (#35604063)
I don't see much difference in vendor lock-in between EKS and Lambda. The abstraction between your Kubernetes application and the underlying platform isn't airtight.
Re:AWS staff spending ‘much of their time ’optimizing custom... by hnlmorg on Monday April 17, 2023 @01:57PM (#35604192)
In my experience writing cloud agnostic infra usually ends up more costlier. Not just in monetary terms running the infrastructure, but also in terms of time spent maintaining the infrastructure.

There’s generally very little point using the cloud if you’re not going to use cloud services.

Re:AWS staff spending ‘much of their time ’optimizing custom... by aeyes on Monday April 17, 2023 @05:58PM (#35607183)
If all you need is machines then there is still a massive benefit in using the cloud. You can spin up 1000 machines tomorrow without having to buy them, wait for getting them (2 months later), rack them, cable them, ....

Especially if you need a couple of racks things get complicated quickly. If you have never racked machines for a week you probably underestimate the amount of time it takes before you can actually run workloads on them.

And if you need a 1000 machines for x years which otherwise you'd put in your own data center you can absolutely go to AWS, GCP, OCI and bid them down against each other.

Re:AWS staff spending ‘much of their time ’optimizing custom... by hnlmorg on Monday April 17, 2023 @06:41PM (#35607622)
> If all you need is machines then there is still a massive benefit in using the cloud.

“massive” is an overstatement. “some” would be more accurate. And your example is correct, which is why I said “generally” in my post rather than “always” or “never”. In fact my current project is using AWS in exactly the way you described.

> If you have never racked machines

I have done. Many times. :)

And there are ways you can get machines at short notice without going down the AWS route. In fact it’s actually pretty easy and used to be really common. I used to use all sorts of different VPS and dedicated hosting for personal projects (while managing on prem stuff professionally). These days a lot of those bigger companies are now just wrapped up as part of “cloud services” but there are still some smaller providers out there doing things old school. In fact I have a few GFX cards for machine learning in a London data centre managed by one such independent provider.

> And if you need a 1000 machines for x years which otherwise you'd put in your own data center you can absolutely go to AWS, GCP, OCI and bid them down against each other.

You’re now talking about cost optimisation and commitment-based discounts, which is a whole other tangent.

Anyways, my point wasn’t that the cloud is more or less expensive than on prem. it was that designing your cloud architecture to be cloud agnostic is more expensive and rarely worthwhile compared with making use of the services offered by whichever cloud provider you’re using.