Building a Serverless Event-driven Application
Distributed systems are hard, and they are harder if you couple different services together. Event-driven architectures allows you to decouple your microservices and the all different parts of your app can scale independently.
If you want to easily build event-driven app using AWS, Step Functions and EventBridge will help you a lot.
Step functions is a managed service that is used to build state machines in the cloud. You can add different tasks and flows and design how your app should behave.
Event Bridge is another managed service by AWS that allows you to send messages between different decouple services - more on this in another post.
This post contains a lot of resources that can help you to learn more about building an event driven application. The resources are from the Let's Build Episode - Building an Event Driven Application that was shared in the *AWS Summit EMEA on June 2021.
To see this series and register to the event: https://register-summit-emea.virtual.awsevents.com/ and then search for Let's build*
AWS Resources to learn more about Step Functions
Some videos that might help you to refresh what you learnt in the sessions
Introduction to step functions
In this video, we look at what are AWS Step Functions and how to get started with them. We will go into all the parts of the step functions and understand each of the different bits.
AWS Step functions with AWS SAM
In this video, I will show you how to define your AWS Step Functions state machines from your infrastructure as code template using AWS SAM.
Sync workflows with AWS Step functions and API Gateway
Sync workflows for AWS Step Functions is a new feature that was launched in reinvent 2020. It allows you to return in a sync way the response from a state machine. In this video I show you how to implement a sync workflow with API Gateway all as infrastructure as code.
This feature doesn't appear in the Let's build series, but this will be a great addiction to the end of module 2 if you want to go one step further.
Code samples for the session
Module 1 code: github.com/mavi888/detecto-event-driven/tre..
Module 2 code: github.com/mavi888/detecto-event-driven/tre..
Do you need to get started with serverless? Here is a guide for you as well.