avatarSheen Brisals

Free AI web copilot to create summaries, insights and extended knowledge, download it at here

4126

Abstract

a href="https://aws.amazon.com/eventbridge/pipes/">EventBridge Pipes</a> has its purpose and use cases where it fits well. My word of caution is to take time, assess your need, and assert Pipes is the best-fit solution. Failing to do so may get you into a Ball of Serverless Mud (BoSM) situation discussed in <a href="https://readmedium.com/think-granular-to-go-faster-in-serverless-part-1-individuality-25f52469de46">the article on granularity in serverless</a>.</p><h2 id="5c8a">AWS Step Functions Distributed Map</h2><p id="840b">While increasing the parallel iterations limit from 40 to 10,000, the <a href="https://docs.aws.amazon.com/step-functions/latest/dg/concepts-asl-use-map-state-distributed.html">Distributed Map feature</a> is mainly geared to work with S3 to process thousands of objects at one time.</p><figure id="bb63"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*Oiy0cwUobIPMCJAVzJ-ZkA.png"><figcaption></figcaption></figure><p id="a328">This feature opens up new high-volume data processing use cases. One thing to be careful about is the concurrency limits of lambda functions in the account and the service limits of other services used in the execution flow.</p><h2 id="79bf">AWS Lambda SnapStart</h2><p id="09f5">Similar to how the VPC lambda cold-start performance improvements happened a couple of years ago, the <a href="https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html">Lambda SnapStart</a> is massive for Java based lambda functions.</p><figure id="508d"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*jB_GN0kCbsd0q3g-iHdlRQ.png"><figcaption>Comparison of non-SnapStart function versus a SnapStart function. Source AWS Blog.</figcaption></figure><p id="b996">It’s a great boost for Java applications, protecting the engineering investment in many enterprises and encouragement to move to serverless.</p><h2 id="a2af">AWS Application Composer (Preview)</h2><figure id="4334"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*M-59Cizwq1VSG20tlpEE0g.png"><figcaption>AWS Application Composer. Source AWS Docs</figcaption></figure><p id="4d31">From a serverless engineer’s point of view, there are two main reasons why I like <a href="https://aws.amazon.com/application-composer/">Application Composer</a>.</p><ol><li>For a new serverless engineer — it helps in their learning process.</li><li>For an experienced serverless engineer — it helps in their service design process.</li></ol><p id="624d">I favor engineers learning architecture and designing solutions in collaboration with others (rather than being fed with the architecture and seeing them as programmers). Application Composer has a role in that quickly realizing the solution as the design goes through reviews and changes.</p><p id="7d11">There has been an array of new features and ideas poured in at one of the AWS Heroes meetings with the product team, including the option to export the diagram with just the service icons without the boxes and many more!</p><h2 id="6615">Amazon SNS Payload-based Message Filtering</h2><p id="e55c">In the past, with attribute-based filtering, teams created different topics to differentiate between event types and subscriptions. With payload-based filtering, it becomes easier to identify and route different types of events via a single topic to respective subscribers.</p><figure id="1b6e"><img src="https://cdn-images-1.readmedium.com/v2/resize:fit:800/1*iknE15nQnm8szknB9jtLFQ.png"><figcaption>SNS Message-based filtering. Source AWS Docs.</figcaption></figure><p id="7f6d">It is important to recognize the use cases specific to SNS and not to get confused with the similar event filtering capabilities offered by Amazon EventBridge.</p><h2 id="4b7c">Other announcements</h2><p id="c3cc"><a href="https://aws.amazon.com/about-aws/whats-new/2022/11/aws-amazon-inspector-support-aws-lambda-functions/"><b>Amazon Inspector for Lambda</b></a> — Amazon Inspector can now scan the Lambda functions to identify software vulnerabilities in application package dependencies used in the function code. It is critical to building secure

Options

services, but the cost is my only concern here.</p><p id="7b5d"><a href="https://aws.amazon.com/blogs/aws/introducing-vpc-lattice-simplify-networking-for-service-to-service-communication-preview/"><b>Amazon VPC Lattice</b></a><b> (Preview)</b> — VPC Lattice the creation of a logical application layer network to connect clients and services across different VPCs and accounts, abstracting network complexity.</p><h1 id="0644">Community re:Invent</h1><p id="f9f4">Among the dozens of conversations I had, product ideas listened to, and bold initiatives I had a chance to look at, the two newer product teams I closely interacted with were-</p><ul><li><a href="https://www.gomomento.com/">momento </a>— the fastest serverless cache, and</li><li><a href="https://www.sedai.io/">sedai </a>— the autonomous cloud management.</li></ul><h2 id="9779">momento</h2><p id="253c">The main attraction of <i>momento </i>is its simplicity and efficiency. As a consumer, it only takes just a few lines of code to get going!</p><p id="232c">The team led by <a href="https://www.linkedin.com/in/kshams/">Khawaja Shams</a> is very knowledgeable with plenty of experience. The meeting I had with the <i>momento<b> </b></i>team, along with a bunch of AWS Serverless Heroes, where we went through their architecture, was a testament to their confidence in their product. Rarely do you find a start-up sharing its trade secrets with a bunch of folks!</p> <figure id="803c"> <div> <div> <img class="ratio" src="http://placehold.it/16x9"> <iframe class="" src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;schema=twitter&amp;url=https%3A//twitter.com/momentohq/status/1598062362535206913&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fabs.twimg.com%252Ferrors%252Flogo46x38.png%26key%3Da19fcc184b9711e1b4764040d3dc5c07" allowfullscreen="" frameborder="0" height="281" width="500"> </div> </div> </figure></iframe></div></div></figure><h2 id="ab33">sedai</h2><p id="dba6"><a href="https://www.sedai.io/">sedai </a>has bold ambitions in the DevOps space to take cloud automation to a deep level. While we cannot fully eliminate DevOps (just yet), <i>sedai </i>makes its strides in reducing the load by taking care of a lambda function’s resource needs to have a seamless operation.</p><p id="72fd">While <i>sedai</i> may not be everyone’s cloud automation ally, its growing customer base is demonstrating its early success. With a well-established team of engineers, <i>sedai </i>is constantly pushing features for both serverless and non-serverless cloud operations.</p><p id="a2c5">The two areas I will keep a keen interest in the coming days are the cloud automation space and Infrastructure from Code (IfC).</p><h1 id="df67">Thoughtful re:Invent</h1><p id="5625">AWS re:Invent is not just a conference with a <i>distributed-map</i> of parallel sessions! As I <a href="https://twitter.com/sheenbrisals/status/1599409063460188160">recently tweeted</a>, it’s about the celebration of cloud and technology where everyone becomes an actor to play our part.</p><p id="8b76">It’s massive, crowded, noisy, busy, and expensive, but everything works like clockwork. The unsung heroes are the thousands of support staff who make our participation memorable.</p><p id="5c81">So, let’s re:Member and spare a thought to-</p><ul><li>the woman who patiently guided us when we got stranded in the middle of a casino,</li><li>the person who cleared the table at the dining hall for the next batch of diners,</li><li>the ones who held the placard high and helped us board the right shuttle to get to the right hotel for the next session,</li><li>the man who refilled the drinking water to rehydrate from the desert dryness,</li><li>those who carefully pushed the coffee trolleys to keep us awake,</li><li>the lady who spotted us a seat in an overflowing breakout room, and</li><li>everyone who made it a great success.</li></ul><p id="b698">That’s my re:Invent 2022!</p></article></body>

AWS re:Invent 2022 — My Seasonal Highlights

The world is asynchronous. The world is event-driven. — Dr. Werner Vogels, CTO, Amazon.com

It required a world stage to propagate asynchrony and event-driven architecture in our modern era of cloud computing. And that’s precisely what Dr. Werner Vogels delivered in his keynote at re:Invent 2022.

As a cloud-scale conference, re:Invent serves a different purpose to different people. It is a stage to bring and sell ideas, show technology directions, showcase innovations, incubate business visions, listen to the community, learn from the experts, create business opportunities, and of course, criticize when things fall short of expectations!

In this brief article, I focus on the things that I liked and will help with the future of serverless and its adoption.

Intellectual re:Invent

As Werner mentioned in his keynote, many thought-leaders of software architecture have been advocating for event-driven computing and building loosely coupled applications for years. Thanks to cloud and serverless, what many of us pushed aside as hard to achieve with previous generation technologies is now available as a commodity for everyone. Hence the urge to shift our minds to change our thinking!

As I was making room to accommodate new books, the following two-decade-old book on Java Message Service (JMS) caught my attention. JMS might have a new name, but it had the basic concepts for building event-driven applications.

Messages, queues for point-to-point communication, events, and topics for publishing and subscribing (pub-sub) were all there. Cloud and serverless rejuvenated these fundamentals with readymade building blocks, i.e., managed services. Instead of hand-coding with JMS APIs, we compose our applications using managed services!

Though it may sound like we have come a full circle, the scale of applications we build, and the speed of development are beyond comparison. Hence the theme of asynchrony and event-driven architecture struck a chord with me immediately.

Technical re:Invent

For cloud and serverless builders, there have been several new announcements. Here are the ones that I found interesting in the serverless space.

Amazon EventBridge Scheduler

EventBridge Scheduler is one of the most asked-for and awaited services. It eliminates the reliance on DynamoDB TTLs and Step Function wait states with a clean built-for-purpose solution!

Amazon EventBridge Scheduler. Source AWS Docs.

As I understand, several improvements and features are in the pipeline. Currently, there is no option to automatically clean up the already completed one-time schedules. Another missing feature is to dynamically create a one-time schedule as an EventBridge target without writing a lambda function.

Amazon EventBridge Pipes

When I first heard from the product team that Pipes was in the pipeline, I was a bit confused! Because here is yet another choice available for event-driven computing on AWS in the already overloaded space. It’s always good to have more options than no options.

EventBridge Pipes has its purpose and use cases where it fits well. My word of caution is to take time, assess your need, and assert Pipes is the best-fit solution. Failing to do so may get you into a Ball of Serverless Mud (BoSM) situation discussed in the article on granularity in serverless.

AWS Step Functions Distributed Map

While increasing the parallel iterations limit from 40 to 10,000, the Distributed Map feature is mainly geared to work with S3 to process thousands of objects at one time.

This feature opens up new high-volume data processing use cases. One thing to be careful about is the concurrency limits of lambda functions in the account and the service limits of other services used in the execution flow.

AWS Lambda SnapStart

Similar to how the VPC lambda cold-start performance improvements happened a couple of years ago, the Lambda SnapStart is massive for Java based lambda functions.

Comparison of non-SnapStart function versus a SnapStart function. Source AWS Blog.

It’s a great boost for Java applications, protecting the engineering investment in many enterprises and encouragement to move to serverless.

AWS Application Composer (Preview)

AWS Application Composer. Source AWS Docs

From a serverless engineer’s point of view, there are two main reasons why I like Application Composer.

  1. For a new serverless engineer — it helps in their learning process.
  2. For an experienced serverless engineer — it helps in their service design process.

I favor engineers learning architecture and designing solutions in collaboration with others (rather than being fed with the architecture and seeing them as programmers). Application Composer has a role in that quickly realizing the solution as the design goes through reviews and changes.

There has been an array of new features and ideas poured in at one of the AWS Heroes meetings with the product team, including the option to export the diagram with just the service icons without the boxes and many more!

Amazon SNS Payload-based Message Filtering

In the past, with attribute-based filtering, teams created different topics to differentiate between event types and subscriptions. With payload-based filtering, it becomes easier to identify and route different types of events via a single topic to respective subscribers.

SNS Message-based filtering. Source AWS Docs.

It is important to recognize the use cases specific to SNS and not to get confused with the similar event filtering capabilities offered by Amazon EventBridge.

Other announcements

Amazon Inspector for Lambda — Amazon Inspector can now scan the Lambda functions to identify software vulnerabilities in application package dependencies used in the function code. It is critical to building secure services, but the cost is my only concern here.

Amazon VPC Lattice (Preview) — VPC Lattice the creation of a logical application layer network to connect clients and services across different VPCs and accounts, abstracting network complexity.

Community re:Invent

Among the dozens of conversations I had, product ideas listened to, and bold initiatives I had a chance to look at, the two newer product teams I closely interacted with were-

  • momento — the fastest serverless cache, and
  • sedai — the autonomous cloud management.

momento

The main attraction of momento is its simplicity and efficiency. As a consumer, it only takes just a few lines of code to get going!

The team led by Khawaja Shams is very knowledgeable with plenty of experience. The meeting I had with the momento team, along with a bunch of AWS Serverless Heroes, where we went through their architecture, was a testament to their confidence in their product. Rarely do you find a start-up sharing its trade secrets with a bunch of folks!

sedai

sedai has bold ambitions in the DevOps space to take cloud automation to a deep level. While we cannot fully eliminate DevOps (just yet), sedai makes its strides in reducing the load by taking care of a lambda function’s resource needs to have a seamless operation.

While sedai may not be everyone’s cloud automation ally, its growing customer base is demonstrating its early success. With a well-established team of engineers, sedai is constantly pushing features for both serverless and non-serverless cloud operations.

The two areas I will keep a keen interest in the coming days are the cloud automation space and Infrastructure from Code (IfC).

Thoughtful re:Invent

AWS re:Invent is not just a conference with a distributed-map of parallel sessions! As I recently tweeted, it’s about the celebration of cloud and technology where everyone becomes an actor to play our part.

It’s massive, crowded, noisy, busy, and expensive, but everything works like clockwork. The unsung heroes are the thousands of support staff who make our participation memorable.

So, let’s re:Member and spare a thought to-

  • the woman who patiently guided us when we got stranded in the middle of a casino,
  • the person who cleared the table at the dining hall for the next batch of diners,
  • the ones who held the placard high and helped us board the right shuttle to get to the right hotel for the next session,
  • the man who refilled the drinking water to rehydrate from the desert dryness,
  • those who carefully pushed the coffee trolleys to keep us awake,
  • the lady who spotted us a seat in an overflowing breakout room, and
  • everyone who made it a great success.

That’s my re:Invent 2022!

Serverless Architecture
Amazon Web Services
Event Driven Architecture
Asynchronous Programming
Lambda Function
Recommended from ReadMedium