AWS Multi-Region Architecture

A seamless transition from Single-Region to Multi-Region Architecture

Felice Savino
Storm Reply
7 min readDec 21, 2023

--

INTRO

Numerous enterprise companies have embraced AWS, commonly starting migrating their workloads in a single region, usually the nearest available. Often, especially in earlier times, these regions were not even located within the same country as the company. Consequently, selecting a region often meant opting for the closest one available due to the unavailability of options within their own state.

PROBLEM OVERVIEW

Using a single cloud region to host organization’s workloads leads to a series of limitations that can be restrictive for customers aiming to migrate or build cloud applications with specific constraints.

When it comes to single-region infrastructure, the limitations primarily include:

Compliance and Regulations. Adhering to specific compliance or regulatory standards often mandates data residency requirements. Certain industries, like finance or healthcare, necessitate sensitive data to be stored within specific geographic boundaries. In such cases, a single AWS region might not align with these regulations, compelling the need to store data in another region or country to meet legal obligations. Failure to comply could lead to regulatory penalties or legal complications, emphasizing the importance of multi-region strategies for data storage and compliance adherence.

Disaster Recovery. For robust disaster recovery, geographic redundancy is crucial. Relying on a single region makes applications vulnerable to region-specific outages caused by natural disasters, system failures, or other unforeseen events.

Scalability and Enhanced Performance. As enterprises grow, their cloud requirements evolve. Scalability demands higher levels of availability, durability, reliability, and resiliency. Single-region setups might face challenges in meeting the performance needs of expanding applications.

In essence, while a single region might suffice for certain scenarios, expanding to multiple regions within AWS becomes imperative when considering compliance, disaster recovery, and the scalability needs of an enterprise.

CHALLENGES

However, transitioning from a single-region to a multi-region AWS environment is not an easy and trivial process and poses several significant challenges, in fact moving from a single to a multi-region setup requires meticulous planning to ensure a smooth and uninterrupted migration. Coordinating this transition without disrupting ongoing operations is complex. It involves strategies for data replication, application synchronization, and traffic redirection. Achieving this without downtime or compromising user experience is a significant challenge.

Furthermore, another big challenge to consider is setting up a network infrastructure across multiple regions for optimal performance, it involves addressing issues of latency, throughput, and resiliency. Optimizing network architecture for inter-region communication while maintaining low latency and high throughput presents a significant technical challenge and implementing efficient routing becomes crucial for reducing latency.

Finally, all the core services must be readapted to function seamlessly in a multi-region configuration. This includes re-architecting or redesigning services to ensure they can operate efficiently across multiple regions. Ensuring data consistency, synchronization, and failover mechanisms across regions is complex and requires careful planning and execution.

Addressing these challenges demands in-depth technical expertise, comprehensive planning, and a deep understanding of AWS services and best practices. It involves a strategic approach to ensure a successful and efficient transition to a multi-region setup while maintaining service reliability, performance, and data consistency.

OUR SOLUTION

In this section, it is presented a real case in which it has been extended the AWS single-region infrastructure of an enterprise company into a multi-region environment with the adoption of the AWS Milan region. It will also describe how smoothly the transition was performed and the benefits brought by this solution.

The project was primarily born to facilitate the migration of specific applications whose data needed to be stored in the Italian territory, ultimately resulting in enormous benefits, even from an infrastructural and architectural perspective.

Single Region Architecture
Multi-Region Architecture

As a starting point, it was identified the core services that needed to be extended to the second region, as:

· Security Services

· Domain controllers

· DNS Infrastructure

· Shared Services Applications

Initially, it was extended the security services deployed in the initial region (Frankfurt) to the new region. Extending security services as the first step when activating a new region is crucial because it provides several advantages for activities that will be executed later in terms of security and governance.

In fact, this strategy allowed to immediately secure the environment against potential attacks or misconfigurations, especially in the initial stages where partially configured environments are typically more prone to attacks; moreover, allowed to quickly and easily identify any resource created that did not adhere to the company security policies and AWS security best practices and promptly remediate to them.

For Domain Controllers, in the preliminary phase, was conducted a careful analysis on the version and configuration of the domain controllers located in the primary region. The goal was to create domain controllers in the new region that would be fully compatible with the existing ones. At the Active Directory level, was created a new site named Milan, and the two newly created domain controllers (created in two different Availability Zones [AZ] of the Milan Region) were added to this site. As final step, inter-site replication was configured between the Milan site and the existing one in the Frankfurt Region, ensuring consistency among domain controllers in different regions. This architecture keeps latency low for requests originating from the new region, increases the throughput, and guarantees fault tolerance at both AZ and regional levels.

For DNS, the architecture of the main region has been replicated in the Milan region. The core elements of this architecture include two resolvers: the Inbound Resolver, serving requests coming from on-premises for the Domain on cloud, and the Outbound Resolver, handling requests exiting from VPCs. For incoming requests from on-premises sites, it has been ensured that both inbound resolvers could be reached following a round-robin strategy. Additionally, for Outbound Resolvers, requests from VPCs are directed to the resolver belonging to the same region as the VPC. This architectural design not only enables fault tolerance at the regional level but also maintains low latency for requests originating from VPCs in the newly established region.

For the remaining services, it has been designed an architecture that made the services themself region-agnostic and ensured that the construction did not impact what was already present in the other region. This guarantees that if one region fails, the services remain operational in the other.

Additionally, it has been gathered latency and resilience requirements for connectivity between on-premises and AWS cloud. Starting from two data centers, it was created four highly redundant Direct Connect (DX) connections that traverse three different data center locations, ensuring simultaneous fault tolerance at the DX devices, DX location, and customer routers.

BENEFITS

Adopting a multi-region infrastructure strategy unlocks a series of advantages and benefits which are essential for enterprise companies which aim to establish a robust presence in the cloud.

Data Residency

Enabling another region made it possible to migrate applications whose data needed to be stored in that specific country in order to respect data privacy laws and constraints.

Upgraded On-Premise Connection

Increased Throughput. Operating in multiple regions enables data to be processed closer to end-users, enhancing throughput by leveraging on distributed resources. With data spread across regions, network capacity increases, leading to faster access and data transfer speeds.

Higher Resiliency. Multi-region setups offer redundancy and failover capabilities. If an outage occurs in one region, services can seamlessly switch to another, maintaining operations and ensuring business continuity. This resiliency significantly reduces the risk of prolonged service disruptions.

Reduced Latency. By strategically distributing services across multiple regions, latency is minimized. Users access services from the closest region, leading to reduced response times and improved user experiences. This becomes crucial, especially in applications sensitive to latency, such as gaming, real-time communication, or financial transactions.

Extended Infrastructure

Inter-Region High Availability of Services. Within each region, deploying services across Regions enhances reliability. If a Region faces issues, services can seamlessly continue from another Region, ensuring high availability without disruption.

Region Independence of Services. Decoupling services from a specific region allows for flexibility and scalability. Services are not bound to a single region, enabling seamless expansion and adaptability to varying regional demands and constraints.

Disaster Recovery Readiness. Multi-region setups inherently offer a robust disaster recovery strategy. Even in the event of a catastrophic failure in one region, services remain operational in alternate regions, providing a comprehensive disaster recovery solution without significant data loss or downtime.

Moving to a multi-region AWS infrastructure significantly enhances service availability, resiliency, and disaster recovery preparedness. It allows for more efficient use of resources, reduces the impact of outages, and improves overall user experiences by reducing latency and enhancing throughput.

Conclusion

In conclusion, the journey from a single-region AWS infrastructure to a multi-region environment is a strategic imperative for enterprises seeking to maximize the potential of cloud services.

Enabling another region allows to migrate or create applications that have data residency constraints.

Furthermore, achieving this result, by following the presented approach ensures operational continuity for core services in case of region-specific failures and significantly improves latency and resilience for on-premises and AWS cloud connectivity.

In essence, adopting a multi-region AWS infrastructure emerges as a pivotal step for enterprises aspiring to establish a robust and future-ready cloud presence.

--

--