AWS re:Invent 2023 is nearing the tip. This yr’s Keynote by Dr. Werner Vogels as common, didn’t disappoint, you’ll see why in a minute however actual fast earlier than we get into it: In case you are in search of plenty of thrilling new bulletins this isn’t the one to look at.
After a, now conventional, “The Matrix” introduction and general theme, Werner went into the subject of value administration and he went deep! I extremely advocate this keynote to these old-school IT professionals with software program improvement or information heart administration expertise. You’re in for a deal with!
Alright, let’s get into the small print:
At this level I didn’t know all the presentation was going to be centered round cost-management within the cloud however I used to be intrigued by the e book “The Frugal Architect” that he saved referring to, which is a e book about designing purposes that use assets effectively to avoid wasting computing energy, reminiscence and in flip: operational bills. A fast Amazon search revealed: such a e book doesn’t exist. Extra on that later.
As soon as it was clear that his whole presentation was going to be round this matter, it began falling into place. He began to hit particular factors after which expanded on these. Right here’s a style.
Align value to Enterprise
I actually beloved this level. Within the AWS world, we are able to get tremendous enthusiastic about options: high-availability, auto scaling and serverless.
However we must always always remember that if our firm’s revenue is determined by low-cost computing, then maybe we shouldn’t be underneath using a super-expensive 4xlarge EC2 occasion if we might be doing the identical job with a gaggle of smaller, spot situations.
This is probably not evident at first, however because the enterprise grows you actually don’t need surprises when it comes to bills that immediately have an effect on the corporate’s income.
That is one thing that I already do , as a result of my Software program Improvement background: Maintain prices in thoughts and by ‘prices’, I imply every little thing: CPU cycles, storage, variety of servers, and so forth.
I agree with Werner that Amazon Internet Providers is an incredible service for all of your computing wants, simply don’t let that month-to-month invoice run away from you by accepting defaults or losing assets.
Observability
One in all his factors was that an software that isn’t tracked and measured will incur in hidden or surprising prices and this level was a pleasant segway to introduce CloudWatch Functions indicators, a brand new function to trace application-specific value and utilization.
Languages
At one level, he was very particular about programming languages and their general footprint and impression within the pace of our code. Sooner, extra environment friendly languages result in higher code that may get the job accomplished quicker. He went so far as saying we must be coding in Rust. This is because of its effectivity and pace. I might argue towards this:
Granted, Python, Java and .NET Languages are fairly heavy as a result of their underlying assist platform — making them pointless for brief, transactional applications. However, he didn’t account for Improvement Prices, long-term upkeep and Time-to-Market. Discovering Python and Java builders is sort of easy as these are common languages all around the world. Discovering Rust builders? not so positive about this one.
In fact, if we shift our focus again to his level: Operational value.
A program in Rust, C or C++ that may run in a 100 milliseconds will at all times outperform the identical program written in Python, Java or C# merely due to the super-long load time of the surroundings itself. So, he’s 100% right when it comes to value financial savings and sustainability.
He additionally touched on the phrase “however, we’ve at all times accomplished issues this manner…”, making an attempt to say that we shouldn’t be afraid of a brand new programming language or expertise to get the job accomplished in a way more environment friendly and sustainable manner. Whereas I agree with this, not all companies can afford to rework their Senior Python builders into Junior Rust builders whereas anticipating the identical stage of output from them, so, your mileage might range!
Gen AI
After we acquired to this a part of the dialog, I believed “Oh boy, right here we go!” and I used to be anticipating the dialog to tangent wildly into language fashions, picture era, Amazon Q and so forth, however no! It was the exact opposite of what I had in thoughts.
As an alternative, he confirmed us use-cases of conventional AI (Machine Studying, SageMaker, Imaginative and prescient) to unravel real-world issues, equivalent to decoding radiology scans, accurately figuring out grains of rice for germination and analyzing picture information to seek out and assist victims of kid abuse.
By the best way, about that software program that checks these x-rays photographs, Dr Vogels has a background within the well being trade earlier than making the transfer to expertise, so, he wrote the preliminary code himself utilizing Python earlier than it was delegated. This code is now open supply and far more feature-rich.
Even on this a part of the dialog he stayed conventional versus leaping within the bandwagon of Generative AI. I adore it!
Though, not gonna lie: I’m an enormous advocate of utilizing the Cloud Improvement Package and he occurred to say that there are new constructs accessible, particular to GenAI to assist us rapidly deploy these options for our personal, customized wants.
AI predicts, people determine
He additionally emphasised that “AI Predicts, however finally people make the selections”, implying that machines aren’t going to take our jobs, exchange our docs or develop meals for us, however they will actually help us to assist sustain with an ever-growing inhabitants.
As a part of his closing argument, he recommends studying his quick e-book, The Frugal Architect to assist us keep in mind the details of his dialog.
To wrap this up: It was nice! It was actually geared at old-timers from the very begin. In reality, within the first minute he checked out a display and mentioned “is {that a} PERL script?”, I couldn’t assist however snort out loud at this one.
Even after the shut it was nonetheless hilarious: “Hey Werner, Can I scan my container builds for vulnerabilities in my CI/CD pipeline?” “Now you can!” — good approach to sneak in yet one more new function which I’ll actually look into instantly, since I’m a DevOps man.
Now, go construct one thing!
Helpful assets from this presentation
Ultimately he casually dropped this e-book that he wrote, which summarizes the identical bullet factors that he hit in the course of the presentation. this data is nice no matter cloud computing or not. So, even for those who’re not within the cloud but, you need to test it out.
By the best way, it’s a actually quick learn, so, I extremely advocate you’re taking a couple of minutes of your time and go test it out proper now!
CDK
That is the brand new set of constructs that I discussed, in case you are in want of deploying customized, generative AI options in a rush, you need to significantly check out this: https://github.com/awslabs/generative-ai-cdk-constructs