Configuring regional routing
Now that we have selected a regional topology and we know how to check the health of our regions, we can set up our regional routing. We will start by setting up a Content Delivery Network (CDN) for our micro frontend single page application (SPA). Then we will configure our BFF services with regional and global endpoints, and then we will add these to the CDN. Finally, we will setup a global endpoint for our event bus.
Content Delivery Network (CDN)
A Content Delivery Network (CDN) is a globally distributed network of edge locations design to deliver web content to users with low latency and high availability. A CDN, such as AWS CloudFront, is the perfect solution for delivering the static resources that make up a micro-frontend single-page application, like we covered in Chapter 3, Taming the Presentation Tier.During a regional disruption we need to ensure that we continue to respond to requests for the application's resource bundles. The CDN is our...