The Evolution of AWS from a Cloud-Native Development Perspective: Serverless, Event-Driven, Developer-Friendly, Sustainable
Tags: cloud, aws, serverless
Published: 2022-03-18 13:51:34

---
title: The Evolution of AWS from a Cloud-Native Development Perspective: Serverless, Event-Driven, Developer-Friendly, Sustainable
canonical_url: https://www.luminis.eu/blog/the-evolution-of-aws-from-a-cloud-native-development-perspective-serverless-event-driven-developer-friendly-sustainable/
published: true
description: Recent AWS announcements feature fewer service additions and instead underline the efforts the cloud giant is undertaking to increase the strength of its massive portfolio of building blocks. AWS CEO Adam Selipsky has mapped out a course that intensifies AWS’s focus on serverless technologies, event-driven architectures, an improved developer experience, and sustainability.
tags: cloud, aws, serverless
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9f88gz2dw7ga9nyxd2o6.png
---

Authors: [Auke Noppe](https://www.luminis.eu/expert/auke-noppe/) and Piet van Dongen

**Recent AWS announcements feature fewer service additions and instead underline the efforts the cloud giant is undertaking to increase the strength of its massive portfolio of building blocks. AWS CEO Adam Selipsky has mapped out a course that intensifies AWS’s focus on serverless technologies, event-driven architectures, an improved developer experience, and sustainability.**

![Serverless, Event-Driven, Developer-Friendly, Sustainable](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/07u7h40ztg6xn80kinut.png)

In this blog post, we outline the direction cloud-native engineering is heading in, how you can learn to leverage AWS’s portfolio of managed services and primitives to your advantage, and how cloud technology is reshaping the field of software engineering. 

If you prefer watching a video, we got you covered! We recently broadcasted a cloud-native development focussed AWS re:Invent re:Cap featuring most of this article’s themes. You can find the recording at the end of this post.

## What AWS is telling us

With so many services in its portfolio already, [this year’s AWS re:Invent didn’t hold any massively surprising announcements](https://aws.amazon.com/blogs/aws/top-announcements-of-aws-reinvent-2021/). With the yearly conference reaching its 10-year milestone — and AWS being around for 15 years — the AWS platform is maturing while at the same time evolving to meet market demands.

### AWS leadership’s re:Invent keynotes

Freshly at the helm of AWS, [Adam Selipsky held his first re:Invent Keynote](https://www.youtube.com/watch?v=WGA2P_oH5Xc). Selipsky’s primary message: AWS is shifting from merely offering infrastructure primitives to embracing the idea of being a so-called [platform of platforms](https://www.forbes.com/sites/ronshevlin/2021/05/17/jpmorgan-chase-the-amazon-web-services-of-fintech-partnerships/?sh=7278c6a9a83d). Therefore, AWS’s offerings will increasingly become an interesting piece of organizational value chains. 

While Amazon CTO Werner Vogels took the stage after an introduction referencing Fear and Loathing in Las Vegas, [his keynote](https://www.youtube.com/watch?v=8_Xs8Ik0h1w) wasn’t as spectacular. Dr. Vogels took the time to make a case for [Well-Architected applications](https://aws.amazon.com/architecture/well-architected/), which we interpret as a good signal for builders. Other highlights were the release of [Construct Hub](https://constructs.dev/) and the [CDK Patterns library](https://cdkpatterns.com/).

![Werner Vogels on stage talking about primitives, not frameworks](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g015aeptllfnsa25o5nh.png)

### Primitives, not frameworks

An important theme these last few months was the expansion and refinement of AWS as a cloud-native platform. You can view AWS as a data center containing compute resources and seemingly limitless storage at the other end of the internet, or maybe as a big bunch of infrastructural primitives. The way we look at the platform is by grouping its services into three categories:

*   **Infrastructural primitives**: storage, networking, and compute (a.k.a. Infrastructure as a Service, IaaS).
*   **Middleware-oriented services**: web servers, container orchestrators, databases, message queues (a.k.a. Platform as a Service, PaaS).
*   **Serverless**: take what you need, pay-as-you-go.

Building something on a platform containing 200+ services might seem a bit overwhelming. Therefore, from the perspective of cloud-native development, we use this rule of thumb: start building from the most modern collection of services first and, if needed, complement the solution using more primitive building blocks. 

Frequently, you will end up with a serverless solution that is rapidly and almost infinitely scalable and highly cost-effective. However, sometimes there are missing pieces of the puzzle, and you can’t complete it with serverless services. We can then turn to platform primitives or infrastructure services like containers, RDS, virtual machines, or even complete SaaS solutions. Don’t forget to update your solutions from time to time, as the platform never stops evolving.

### Reduce risk, improve performance, grow revenue, increase efficiency

Effectively adopting the cloud means [making the cloud work for your money](/?p=30362). It’s not just a virtualized data center, or at least: that’s not the mindset that enables you to accelerate your organization towards its goals. Cloud-native development requires understanding cloud-native best practices in terms of performance, resiliency, cost optimization, and security. Luckily, AWS keeps investing in [adoption frameworks](https://aws.amazon.com/professional-services/CAF/), [its Well-Architected Framework](https://aws.amazon.com/architecture/well-architected/), and [certification](https://aws.amazon.com/certification/) and [training](https://www.aws.training/) programs.

![serverless](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/enkx2jrykrokpoltyblo.png) 

## The ongoing evolution of serverless: commoditize all the things

You can immediately tell the serverless category from above is something special. Its services allow you to focus on functional value without worrying about what is needed to run it. [You can compare a serverless service to a commodity](https://www.youtube.com/watch?v=b7Nc_FJiosk), like electricity: you use it anytime you need it, without much second thought. For a while, serverless was synonymous with functions (FaaS) or Lambda, but its reach rapidly extends beyond compute to data stores and application integration. 

Serverless technology keeps gaining traction, as we can see in its continuous evolution. Let’s look at AWS’s current serverless portfolio and see how it evolves.

### Three categories of building blocks

Roughly speaking, we can divide AWS’s serverless building blocks into three categories:

*   **Compute**: running code without provisioning servers ([Lambda](https://aws.amazon.com/lambda/), [Fargate](https://aws.amazon.com/fargate/)).
*   **Data Storage**: storing objects, documents, relational and other data ([Simple Storage Service (S3)](https://aws.amazon.com/s3/), [DynamoDB](https://aws.amazon.com/dynamodb), [Relational Database Service Proxy](https://aws.amazon.com/rds/proxy/), [Aurora Serverless](https://aws.amazon.com/rds/aurora/serverless/)).
*   **(Application) integration**: [EventBridge](https://aws.amazon.com/eventbridge/), [Step Functions](https://aws.amazon.com/step-functions/), [Simple Queue Service (SQS)](https://aws.amazon.com/sqs/), [Simple Notification Service (SNS)](https://aws.amazon.com/sns/), [API Gateway](https://aws.amazon.com/api-gateway/), [AppSync](https://aws.amazon.com/appsync/).

Combining these building blocks, you can quickly create valuable solutions at scale.

![Werner Vogel on stage announcing the next frontier](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gkf6qoyk8dq26i47lqtu.png)

### Serverless expansion areas

While SaaS is powerful and often offers excellent value for money, it has significant constraints in terms of flexibility. To win in the marketplace, we need more flexibility for our differentiating technology. These are the lines along which serverless is evolving. Its journey started at compute, but the serverless philosophy quickly moved into other AWS categories.

#### Big data and streaming

[Amazon MSK will get a serverless counterpart](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-msk-serverless-public-preview/), which is great news for organizations running Kafka workloads. The same goes for AWS’s big data platform [Amazon EMR](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-emr-serverless-preview/) and its data warehouse offering [Amazon Redshift](https://aws.amazon.com/blogs/aws/introducing-amazon-redshift-serverless-run-analytics-at-any-scale-without-having-to-manage-infrastructure/). Amazon Kinesis is also evolving its data streaming service, exemplified by the [new Data Streams On-Demand feature](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-kinesis-data-streams-on-demand/). Last but certainly not least: [AWS Data Exchange for APIs](https://aws.amazon.com/about-aws/whats-new/2021/11/aws-data-exchange-for-apis/) makes it a breeze to use third-party data while leveraging AWS-native authentication and governance.

#### Application integration

Apart from [getting extra ephemeral storage](https://twitter.com/julian_wood/status/1465842874457763840), AWS Lambda now supports [partial batch responses for SQS](https://aws.amazon.com/about-aws/whats-new/2021/11/aws-lambda-partial-batch-response-sqs-event-source/) and [event source filtering for Kinesis, DynamoDB, and SQS](https://aws.amazon.com/blogs/compute/filtering-event-sources-for-aws-lambda-functions/). EventBridge added [Amazon S3 Notifications](https://aws.amazon.com/blogs/aws/new-use-amazon-s3-event-notifications-with-amazon-eventbridge/). On the surface, that might sound like a small change. But as Matt Coulter puts it: [code is a liability](https://mobile.twitter.com/NIDeveloper/status/1469659751235657735), not an asset. Anything you can push to the cloud vendor gains you some security and an increased ability to focus on value. You can now control Amazon Athena workflows using [AWS Step Functions](https://aws.amazon.com/blogs/compute/visualizing-aws-step-functions-workflows-from-the-amazon-athena-console/) in that same vein.

### Are applications, infrastructure, and integration separable?

Now that serverless is moving beyond compute into the data and integration layers, we might ask ourselves: are applications, infrastructure, and integration separable? Is programming still mostly about functions and logic, and where does it bleed into the domain of operations? The advent of serverless is pushing boundaries everywhere and blurring previously clear and stable lines. 

That’s excellent news, in our opinion: the more control and flexibility our teams have, the faster we can innovate. [Gregor Hohpe, an Enterprise Strategist at AWS,](https://www.enterpriseintegrationpatterns.com/ramblings/loanbroker_cdk.html) says: “I firmly believe that we are just starting to realize the true potential of cloud automation. Modern cloud automation isn't just about reducing toil. (…) it can help us blur the line between application and automation code.” We agree wholeheartedly.

![event-driven](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tobyk3k3g9u485px0ehl.png)

## The future (of cloud) is event-driven

Another direction cloud technology developments are pointing towards is that of event-driven architectures. Not only is the cloud itself highly event-driven, but applications built on cloud platforms also tend to be fitting most naturally when using the power of events. Why is that?

### Agility in architecture

Market forces are driving organizations to become more agile. As Jeff Bezos puts it: “[The only sustainable advantage you can have over others is agility, that’s it.](https://aws.amazon.com/executive-insights/content/cloud-for-ceos/)” Organizations must learn to leverage technology to respond to and drive change to fulfill this business requirement. Event-driven architectures present the necessary characteristics:

*   **Loosely coupled**: heterogeneous services and share information effectively while hiding implementation details.
*   **Scalable**: multiple types of consumers can work in parallel, massively if needed.
*   **Independent**: evolution, scaling, and failing can happen in isolation, especially when using buffers like event routers.
*   **Auditable**: if events are routed and stored centrally, we can quickly implement auditing, policy enforcement, and information access control.
*   **Frugal**: if we push changes when available, we don’t need to waste resources continuously polling for changes.

Event-driven systems enable us to focus on system behavior and temporality within a business domain, freeing us from the chains of rigid structures incapable of dealing with changing needs and requirements. There is a trade-off (of course): agile systems are complex and thus force us to learn to manage — seeming, but not actual — chaos.

![Service-oriented death stars](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0rvj8efmn2gu5mcfx701.png)

### AWS building blocks for event-driven architectures

Now, how is AWS helping us compose these systems? Whether you are building event-sourced systems, leverage CQRS, or are just notifying components, AWS has the building blocks you need:

*   **Producers**: most AWS primitives, especially serverless ones, produce events. For example, [we can feed Lambda with events from API Gateway, CloudWatch, DynamoDB, S3, Kinesis, and many more services](https://docs.aws.amazon.com/whitepapers/latest/security-overview-aws-lambda/lambda-event-sources.html). Besides that, we can use custom apps, SaaS solutions, and microservices as event producers.
*   **Consumers**: notable consumers are AWS Lambda, Amazon SQS, Amazon Kinesis Data Firehose, and Amazon SNS. We can also use APIs from SaaS offerings and custom apps as event consumers.
*   **Routers**: we can fulfill most integration needs using [Amazon EventBridge](https://aws.amazon.com/eventbridge/) and [Amazon SNS](https://aws.amazon.com/sns/).
*   **Well-Architected**: the [AWS Well-Achitected Framework](https://aws.amazon.com/architecture/well-architected/) describes best practices, which we can assess and monitor using the [AWS Well-Architected Tool](https://aws.amazon.com/well-architected-tool/).

Combining these AWS services and using them to integrate SaaS and self-built products gives us the leverage we miss when only using off-the-shelf products.

### How are event-driven cloud architectures evolving?

The answer to this question is short and straightforward: along the same lines as serverless. Last December, AWS mostly announced incremental improvements. But they quickly add up, accumulating in an ever-more powerful platform to build and evolve our solutions on. And the announcements don’t stop when re:Invent is done: AWS is working to improve its event-driven primitives year-round. 

Amazon Eventbridge is an excellent example of this continuous investment. It was introduced in mid-2019 and has gained a lot of features since then: a schema registry, archiving and replaying of events, and a long list of event destinations. Its evolving event pattern matching, filtering, and routing options embody the ‘code is liability’ philosophy, enabling us to focus on value delivery. Recently, [S3 Event Notifications were added to EventBridge’s features](https://aws.amazon.com/blogs/aws/new-use-amazon-s3-event-notifications-with-amazon-eventbridge/), giving us more direct, reliable, and developer-friendly options when responding to S3 object changes. For the web-scale organizations among us, AWS introduced [cross-region event routing](https://aws.amazon.com/blogs/compute/introducing-cross-region-event-routing-with-amazon-eventbridge/). 

We mentioned [Lambda’s new message filtering features](https://docs.aws.amazon.com/lambda/latest/dg/invocation-eventfiltering.html) above but want to highlight them again since they underline AWS’s continued investment in this area. Lastly, [AWS IoT TwinMaker](https://aws.amazon.com/about-aws/whats-new/2021/11/aws-iot-twinmaker-build-digital-twins/) deserves some attention: it utilizes events as data sources and enables developers to create digital twins of real-world systems, which is nothing less than fantastic.

![developer-friendly](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/s7zp60nmjyhz7osy8vvn.png) 

## Improving the developer experience

AWS provides us with many building blocks, but using them effectively is not straightforward. Luckily for us, AWS seems to understand this problem and is steadily improving in that area.

### Programmable everything: APIs, SDKs, and the AWS CDK

In 2002, Jeff Bezos's so-called [API Mandate](https://chrislaing.net/blog/the-memo/) forced all Amazon teams to expose their data and functionality through service interfaces. Amazon has built AWS around the same principles: every service is programmatically controllable, from starting a virtual machine to [accessing a satellite](https://docs.aws.amazon.com/ground-station/latest/APIReference/API_GetSatellite.html). While this is an essential property of an effective cloud platform, it is not necessarily developer-friendly. 

By now, AWS has incrementally and significantly improved in this space. Besides using [their APIs](https://docs.aws.amazon.com/general/latest/gr/aws-service-information.html), we can control services and infrastructure with a [unified Command Line Interface (CLI)](https://aws.amazon.com/cli/), [Software Development Kits (SDK)](https://aws.amazon.com/tools/), [CloudFormation](https://aws.amazon.com/cloudformation/), and, since July 2019, the [AWS Cloud Development Kit (CDK)](https://aws.amazon.com/cdk/). 

The CDK had a massive impact on developer productivity and satisfaction. While teams could already access and control services and infrastructure using the AWS SDK and their favorite programming language, infrastructure was primarily defined using [incredible amounts of mostly punctuation marks and whitespace](https://s3.us-west-2.amazonaws.com/cloudformation-templates-us-west-2/EC2InstanceWithSecurityGroupSample.template), also known as YAML or JSON. CDK — initially only flavored TypeScript and Python — finally gave developers an AWS-native means to define [Infrastructure as actual Code](https://twitter.com/ghohpe/status/1496314103824097283). Since its introduction, AWS has added support for more languages, like Java, C#, and Go.

### Metrics, toolsets, and communities

The lines between infrastructure and logical code have thus been blurred, creating more opportunities to increase business agility. And AWS provides more tools to increase development productivity, like metrics and purpose-built toolsets. New developments in this space are:

*   Community support platforms like the newly announced [re:Post](https://aws.amazon.com/about-aws/whats-new/2021/12/aws-repost-community-question-answer-service/) and [Construct Hub](https://aws.amazon.com/blogs/aws/announcing-general-availability-of-construct-hub-and-aws-cloud-development-kit-version-2/).
*   Monitoring improvements like [CloudWatch Real-User Monitoring](https://aws.amazon.com/blogs/aws/cloudwatch-rum/) and [Metrics Insights](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-cloudwatch-metrics-insights-preview/).
*   A [Secrets Detector](https://aws.amazon.com/blogs/aws/codeguru-reviewer-secrets-detector-identify-hardcoded-secrets/) addition to the software engineer’s best non-human programming buddy, Amazon CodeGuru.

![Matt Coulter on stage](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6ihtyw6xwpsj1qufj93i.png)

### Reducing complexity

Another way to increase (business) agility is by [reducing complexity](https://itrevolution.com/complexity-the-enemy-of-agility-and-execution/). AWS seems very aware of the complexity we add when developing cloud-native solutions. It has released several offerings and improvements to its platform over the last period in reaction to this.

#### Less handcrafted code

We can reduce the amount of hand-crafted code we deploy in several areas (once more: code is a liability!). Business analysts can kickstart machine learning workloads using [Amazon SageMaker Canvas](https://aws.amazon.com/blogs/aws/announcing-amazon-sagemaker-canvas-a-visual-no-code-machine-learning-capability-for-business-analysts/), while others can visually create full-stack apps using [Amplify Studio](https://aws.amazon.com/amplify/studio/). More incremental improvements are [enhanced dead-letter queue management for SQS](https://aws.amazon.com/blogs/aws/enhanced-dlq-management-sqs/) and the Lambda and S3 enhancements mentioned earlier.

#### Feature flags and dark launches

Reducing operational complexity is a way to increase productivity. Modern organizations have learned to leverage feature flags and dark launches to test changes without introducing much operational overhead. Our colleague Nico Krijnen took the time to write down [how Amazon CloudWatch Evidently and AWS AppConfig Feature Flags can help us in this regard](/?p=30557).

#### Migration automation

Lastly, a powerful — but often not so straightforward — way to reduce complexity is to migrate existing workloads from the old data center to the cloud. AWS has been investing a lot of effort in this space and continues to do so, as evidenced by the recent releases of [AWS Migration Hub Refactor Spaces](https://aws.amazon.com/blogs/aws/new-aws-migration-hub-refactor-spaces-helps-to-incrementally-refactor-your-applications/), [AWS Mainframe Modernisation](https://aws.amazon.com/about-aws/whats-new/2021/11/introducing-aws-mainframe-modernization/), and [AWS MicroService Extractor for .NET](https://aws.amazon.com/about-aws/whats-new/2021/11/aws-microservice-extractor-net/).

![sustainable](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/4o6r41dr9sogp0liuqsi.png)

## Sustainability of the cloud, sustainability in the cloud

Software engineering has more dimensions than speed and complexity. With the advent of DevOps, [FinOps](/?p=31111), and the increased awareness of IT infrastructure's impact on our environment, teams are increasingly responsible for more than just developing and deploying code. 

Adrian Cockcroft, Amazon’s newly appointed VP of Sustainability Architecture, recently headed a very insightful talk on [architecting for sustainability](https://www.youtube.com/watch?v=3-Zq2W1-odU). Amazon has committed to [net-zero carbon by 2040](https://sustainability.aboutamazon.com/environment/sustainable-operations/renewable-energy?energyType=true), and AWS aims to use [100% renewable energy by 2025](https://sustainability.aboutamazon.com/environment/the-cloud?energyType=true). AWS needs their customer’s help to decrease their footprint, so AWS has introduced several sustainability tools and improvements to their platform. 

The [Customer Carbon Footprint Tool](https://aws.amazon.com/blogs/aws/new-customer-carbon-footprint-tool/) was released earlier this month, enabling AWS users to calculate the carbon emissions their workloads produce now and in the future. Reducing them is the next logical step, which is why AWS added a new [Sustainability Pillar](https://docs.aws.amazon.com/wellarchitected/latest/sustainability-pillar/sustainability-pillar.html) to their Well-Architected Framework. More concretely, teams optimize resource usage by choosing several [new CPU instances](https://aws.amazon.com/blogs/aws/top-announcements-of-aws-reinvent-2021/) for EC2 [or Lambda](https://aws.amazon.com/blogs/aws/aws-lambda-functions-powered-by-aws-graviton2-processor-run-your-functions-on-arm-and-get-up-to-34-better-price-performance/) or by analyzing the [enhanced AWS Compute Optimizer infrastructure metrics](https://aws.amazon.com/about-aws/whats-new/2021/11/aws-compute-optimizer-enhanced-infrastructure-metrics-ec2-instances/) and acting accordingly.

![Werner Vogels on stage talking about sustainability](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2uwjz3kfd8m3hizm91xo.png)

## Survival of the fittest

AWS’s cloud platform is becoming more mature, stable, developer-friendly, and sustainable while at the same time evolving rapidly to meet emerging business needs. By closely following the needs of its users and experimenting and growing with them, AWS keeps delivering the platform of the future. 

For us cloud-native developers, that’s excellent news. Increasing business agility by creating and evolving event-driven, serverless, sustainable systems that can turn on a dime in response to customer needs: it’s what we need now and going forward. 

{% youtube Si0US0GJysM %}