Global Event Driven Applications
3 min read
This blog post collects a lot of resources related to global event-driven applications.
Why to build a multi-region serverless application and why not?
This video talks about what is a multi-region active-active architecture and why you might need one, and why you don't need one. Also, it covers why the strategies are different for serverless than for traditional applications.
Read and Write Data patterns for Multi-Region architectures
This video talks about data patterns for writing and reading data in multi-region architectures. If you have an application that is deployed in multiple Regions you need to check this video as you will learn the benefits and challenges of the most common data patterns.
DynamoDB global tables
Global tables build provide you with a fully managed, multi-Region, and multi-active database that delivers fast, local, read, and write performance for massively scaled, global applications.
Global tables replicate your DynamoDB tables automatically across your choice of AWS Regions.
In the following video Kirk Kirkconnell, Developer Advocate for Amazon DynamoDB explains the basic concepts and helps you get started with global tables.
And if if you want to implement Global Tables in your AWS CDK project, you need to watch this video.
When we talk about multi-region applications, we cannot forget how traffic flows between the different regions.
Amazon Route 53 is a DNS service that gives developers and businesses a reliable and cost-effective way to route end-users to Internet applications. Route 53 provides DNS service with 100% availability. The distributed nature of the DNS servers helps ensure a consistent ability to route end users to your applications. Amazon Route 53 integrates seamlessly with other AWS services and can map domain names to load balancers, Amazon EC2 instances, Amazon S3 buckets, Amazon CloudFront distributions, and other AWS and non-AWS resources Route 53 helps improve your application's performance and reliability of end users. If you're running your application in multiple regions around the world, you can easily set up routing to send each end user to the best location for them, or you can re-route users to a different location if the primary one becomes unavailable.
In this video, you will learn how DNS works and how Route53 is in the DNS infrastructure and about different routing strategies that Route53 provides and how you can leverage those.
In this video, you will learn how to use Route53 latency routing policy to build a serverless application to route users to the closest Region.
Building global event driven applications
Having a multi-Region strategy for your event-driven applications can help you fail over to another Region during a service disruption, increasing the availability and reliability of your applications. In this session, learn how to implement a multi-Region strategy with serverless services such as Amazon EventBridge, Amazon DynamoDB, Amazon S3, and more. Also, discover some best practices that can help your application become more resilient when a failure occurs.