Multicloud

Resolving cross-partition dependencies for sovereign failover on the AWS European Sovereign Cloud

AWS groups Regions into partitions. Every Region is in exactly one partition, and each partition has one or more Regions. Partitions have independent instances of AWS Identity and Access Management (IAM) and provide a hard boundary between Regions in different partitions. AWS commercial Regions are in the aws partition. The AWS European Sovereign Cloud (ESC) is the aws-eusc partition, with its own accounts, IAM, and console, designed with no critical dependencies on non-EU infrastructure. Between two commercial Regions, AWS features replicate data and keys, share identity, and route traffic for you; between a commercial Region and the AWS European Sovereign Cloud, these features stay within their partition, so you design how each of them crosses the boundary.

In a previous post, we introduced sovereign failover as an architectural pattern and covered partition isolation, network connectivity, and authentication. The companion sample repository implements cross-partition data synchronization authenticated with IAM Roles Anywhere. Teams that move from strategy to implementation find more dependencies than the diagram shows: the deployment pipeline, the on-call paging service, and the package registry are typical examples. In this post, we walk through that list: identity, keys and PKI, data movement, DNS, deployment pipelines, software supply chain, observability, and capacity. For each, we describe what a cross-partition deployment needs to resolve explicitly, note the single-partition equivalent, and classify the dependency as one to eliminate, duplicate, or accept with documented risk.

Why cross-Region intuition is different at the partition boundary

Inside a partition, Amazon S3, AWS Key Management Service (AWS KMS), IAM, AWS Transit Gateway, and Amazon Route 53 each offer a mechanism that spans Regions. Across partitions, each becomes your responsibility:

Cross-Region mechanism Cross-partition reality
S3 Cross-Region Replication Application-level sync (replication stays within a partition)
KMS multi-Region keys Re-encryption at the boundary (keys stay within their partition)
Single IAM Separate IAM and credentials per partition
Transit Gateway peering Internet, Site-to-Site VPN, or AWS Direct Connect (Transit Gateway peering stays within a partition)
Route 53 single hosted zone Separate hosted zones; zone placement is a design decision

Network connectivity is covered in the previous post. For the AWS GovCloud (US) equivalent, see Connectivity patterns between AWS GovCloud (US) and AWS commercial partition.

The dependency inventory

Each dependency that crosses the partition boundary can be classified into one of the following categories for your workload:

  • Eliminate: move the capability into the ESC so the dependency no longer crosses the boundary.
  • Duplicate: run the capability independently on both sides.
  • Accept: document the dependency as a standing risk with compensating controls.

Identity (Duplicate)

Identity splits into workforce identity for your engineers and workload identity for your applications. Each partition runs its own IAM service, and IAM credentials from one partition cannot be used in another.

AWS IAM Identity Center is partition-scoped too. IAM Identity Center for AWS environments spanning AWS GovCloud (US) and standard Regions describes four patterns, which differ in where the instance and your external identity provider (IdP) live:

Pattern Shape Where it fits
One instance, custom SAML application Identity Center in the ESC; one SAML application per commercial-partition role and account A handful of commercial-partition accounts
Separate instances, separate directories One Identity Center instance and directory per partition Compliance requires separated directories
Separate instances, one external IdP with SCIM One IdP federates into a separate instance per partition Simplest end-user experience, if one IdP may serve both partitions
Separate IAM SAML configurations Two IdP instances federating to IAM SAML providers per partition Organizations you do not control

The GovCloud guidance places the single instance in the commercial partition; the first row inverts that on purpose, because the instance that needs to keep working during an isolation event is the one in the ESC. If a pattern depends on an external IdP that is a SaaS product outside the ESC, confirm the IdP can serve authentication requests from inside the ESC during an isolation event.

For workload identity, we recommend IAM Roles Anywhere. The simplest alternative, an access key for an IAM user in the commercial partition, is exactly the long-lived credential this design avoids. With IAM Roles Anywhere, a function in the ESC presents an X.509 certificate issued by AWS Private Certificate Authority (AWS Private CA), a trust anchor in the commercial partition validates it, and the function receives temporary credentials, so no long-lived credential crosses the boundary. Transfer data across AWS partitions with IAM Roles Anywhere walks through the pattern. IAM outbound identity federation is a newer alternative that also gives the function temporary credentials across partitions, including the AWS European Sovereign Cloud, without a PKI to operate. Inside a single partition, one Identity Center instance covers every Region.

Keys, secrets, and PKI (Duplicate)

AWS KMS keys stay within their partition. Multi-Region keys work only when the replica Region is in the same partition as the primary. To read data in the other partition, you decrypt with the source key and re-encrypt with a key native to the target, so decide which compute holds the plaintext during re-encryption. Encrypted backups inherit the constraint: snapshot copy stays within a partition, and an Amazon Relational Database Service (Amazon RDS) snapshot export to S3 is exported in compressed Apache Parquet for analytics and cannot be restored back into RDS. AWS Backup copies go to other Regions of the same account or to accounts in the same organization, so they stay within the partition as well. Cross-partition database recovery therefore uses database-native tools: a dump and restore, or logical replication into an instance already running on the other side.

AWS Secrets Manager replicates secrets within a partition, so provision and rotate each secret on both sides rather than replicating it into or out of the ESC, where multi-Region secrets are not available.

AWS Certificate Manager (ACM) and AWS Private CA are partition-scoped. Public TLS keeps working as long as client trust stores include the roots that ACM uses in the AWS European Sovereign Cloud. Private PKI is affected: a certificate from one side becomes trusted on the other once you cross-sign the two CAs, subordinate both to a root you hold outside either partition, or, where the relying party is an AWS service you configure, trust the far-side CA directly as the sample repository’s trust anchor does. We recommend keeping the root of trust on the ESC side so the anchor that must remain valid during an isolation event lives inside the boundary. Inside a single partition, multi-Region keys, Secrets Manager replication, snapshot copy with a destination KmsKeyId, and one Private CA cover every Region.

Data movement (Eliminate, Duplicate)

Two mechanisms can be used to move S3 data across the boundary. AWS DataSync is a managed option: a scheduled or on-demand task copies objects from one side to the other. A purpose-built sync, as in the sample repository, is an event-driven option: an object write triggers a function that writes the object to the other side. The single-partition equivalents, S3 Cross-Region Replication, Amazon DynamoDB global tables, and Amazon Aurora Global Database, each require a destination inside the source partition.

DataSync reaches the far-side bucket when you configure it as an object storage location. An object storage location authenticates with a static access key and secret key; you can hold them in AWS Secrets Manager, but they remain the long-lived credential described in the Identity section. Building the sync yourself trades the managed transfer for control over that credential. The sample-sovereign-failover repository uses S3 event notifications to trigger a sync AWS Lambda function that authenticates through IAM Roles Anywhere, so nothing long-lived sits on either side, and it syncs per object, which keeps the recovery point short. In exchange, you own conflict detection, ordering, retry, and idempotency.

Either way, the target holds its own copy of each object, so keep a manifest of what has been synced and recreate bucket configuration on the target. Recovery Point Objective (RPO) follows from sync frequency and path latency, so measure it: instrument end-to-end sync latency and alarm on manifest lag. For active-active patterns, define deterministic conflict resolution that also settles conflicts between several commercial Regions syncing into one target in the ESC. Inside a single partition, S3 Replication reports status per object and DynamoDB global tables resolve conflicts for you.

DNS and traffic steering (Accept, Eliminate)

If your public hosted zone and domain registrar both sit in the commercial partition, the failover switch sits in the environment you are failing away from. Domain registration stays outside the ESC: you register the domain through a third-party registrar or Route 53 in US East (N. Virginia) and delegate it to a hosted zone in Route 53 in the AWS European Sovereign Cloud. Classify registration as an accepted dependency, and confirm the delegation before an event.

The authoritative zone can live in the ESC, or with a DNS provider independent of both partitions. Either way the move is a delegation change: create the zone, recreate the records, then repoint the name server (NS) records in the parent, moving child zones before the parent as the equivalent GovCloud migration describes.

Route 53 health checker IP ranges are partition-specific, and a private endpoint is checked through an Amazon CloudWatch alarm in the same partition. Create the health checks in the ESC, as AWS recommends for AWS GovCloud (US), so the failover decision does not depend on the commercial partition. Inside a single partition, one hosted zone and one failover routing policy cover every Region.

Deployment pipelines and artifacts (Duplicate)

With the right variables, the same infrastructure as code deploys to both partitions without modification. Use the pseudo parameters AWS::Partition and AWS::URLSuffix in AWS CloudFormation, or Aws.PARTITION and Aws.URL_SUFFIX in the AWS Cloud Development Kit (AWS CDK), instead of hardcoded ARN prefixes and endpoints. Portability also depends on using services and features that are available in both partitions: the AWS European Sovereign Cloud service list shows what is available, and deploying the same template in both partitions confirms it.

Amazon Elastic Container Registry (Amazon ECR) replication stays within a partition, and an Amazon Machine Image (AMI) can be moved by store and restore through S3. Build and publish every artifact independently in each partition, and run one pipeline per partition, so deployments in the ESC do not depend on the commercial partition. The one exception is bootstrapping the ESC pipeline itself, a controlled one-time cross-partition action. Use the CI/CD services available in the ESC, and self-host the rest. Mirror the source repository into the ESC on every merge, so the code you would hotfix during an isolation event is already inside the boundary.

Sign artifacts in each partition too. AWS Signer in the AWS European Sovereign Cloud signs container images and Lambda .zip packages with a partition-specific root certificate, and a revocation applies only in the partition where the artifact was signed. Create signing profiles in each partition and verify against them there, so the ESC side does not depend on a profile or revocation state in the commercial partition. Inside a single partition, ECR replication and AWS CodePipeline cross-Region actions move artifacts for you.

Software dependency management (Eliminate)

Your application resolves its build dependencies from public registries such as npmjs.com, PyPI, Maven Central, Docker Hub, and crates.io, all of which sit outside the ESC.

Resolve every dependency from a repository inside the ESC, such as a self-managed JFrog Artifactory or Sonatype Nexus repository, and use Amazon ECR pull through cache rules for container images. Proxying repositories and pull through caches fetch from upstream on a cache miss, so a repository holds only what has been pulled through it. Warm the cache by building the complete dependency set ahead of time, and pin exact versions in a lockfile so an isolated rebuild resolves versions you already hold. Vendor any format your repository does not proxy. Third-party components with a license server or vendor check-in outside the boundary need an in-boundary alternative beyond the cached binary.

Generate a software bill of materials (SBOM) to enumerate those dependencies, for example with the Amazon Inspector SBOM Generator, a standalone command-line tool that runs locally and covers container images, archives, directories, and compiled Go and Rust binaries. Then block egress from your build environment in the ESC and rebuild from source. Each unresolved dependency is one to document.

Operations and observability (Duplicate, Accept)

AWS CloudTrail, AWS Config, and AWS Security Hub are available in the ESC. Built-in aggregation features, such as CloudWatch cross-account observability and Security Hub finding aggregation, work within one partition; aggregating across partitions is something you build yourself by copying the data. During an isolation event you will work from two views, one per partition, with separate consoles and dashboards, so decide which one needs to be complete.

One pattern is to export to S3 and copy: each service can write to an S3 bucket in its partition, and the same DataSync task or purpose-built sync from the Data movement section copies the objects across. Run the copy from the ESC side. Build the ESC view so that an on-call engineer can run an incident from it alone.

AWS Organizations is separate per partition, so service control policies (SCPs) are managed twice. Keep both organizations’ policies in one repository and apply them from the pipeline in each partition. Dashboards, paging, and incident tooling are often SaaS products outside both partitions; confirm that paging reaches on-call engineers during an isolation event, and keep an exercised fallback in the ESC. Inside a single partition, the aggregation features collect for you and one organization’s SCPs apply everywhere.

Capacity as a dependency (Duplicate)

Provision the recovery environment ahead of time rather than claim capacity during an event. If one event degrades workloads that you run in several Regions, you may move all of them at once, so size the recovery environment for the combined footprint of every workload that would move, not for the largest one. How you reserve capacity depends on the service:

  • Amazon EC2. Use On-Demand Capacity Reservations matched to your recovery environment.
  • Instance-based managed services (Amazon RDS, Amazon OpenSearch Service, Amazon ElastiCache, Amazon MSK). Create the instances in the recovery partition ahead of the failover as a warm standby.
  • Serverless services (AWS Lambda, AWS Fargate). Service quotas are the main lever, so confirm they are high enough to run your full workload.

Service quotas are set per partition, so enumerate the quotas you depend on and raise them with lead time. Design the smallest footprint that runs your business-critical functions, and throttle or disable the rest. For more information, see Disaster Recovery of Workloads on AWS.

Dependency direction

For every connection that crosses the boundary, note which side starts the call. The log copy, health check, and pipeline placement above follow one rule: the ESC side starts the call, so an issue on the commercial side pauses that one activity while the ESC side keeps running. The sample repository applies the same rule: the sync function and its IAM Roles Anywhere credentials live in the ESC, which initiates every cross-partition read and write. If the commercial partition becomes unreachable, synchronization pauses and the ESC side keeps operating on local data.

For each dependency that crosses the boundary, ask two questions: which side owns it, and what happens on the ESC side if the other side is unreachable, slow, or degraded? Dependencies from the ESC side outward are acceptable in normal operation, as long as the ESC side keeps operating, with reduced functionality if needed, when the other side is unavailable. The AWS European Sovereign Cloud is designed with no critical dependencies on non-EU infrastructure; your workload should pass the same test. Inside a single partition, shared IAM, DNS, and replication mean far fewer dependencies cross a Region boundary.

Recovery testing

Testing a sovereign failover is disaster recovery testing across the partition boundary. Each dependency in this inventory is confirmed by testing with the link between the partitions interrupted. A switchover shows that requests reach the ESC while both sides are healthy; an isolation test confirms that the ESC side keeps serving, building, and deploying on its own.

Decide what the test needs to show beyond “the site is still up”. A sovereign failover test can cover the following:

  • Block the network path between the partitions on the ESC side, for example by withdrawing the routes, security group rules, or network ACL rules that allow traffic to the other partition’s endpoints, deployed with your infrastructure as code, and hold the block for the isolation window.
  • During the isolation window, run the egress-blocked rebuild and deploy the result, change a DNS record, page the on-call engineer, and restore an encrypted backup with a key in the ESC.
  • Time the bring-up of your reduced footprint to get a measured Recovery Time Objective (RTO).
  • Afterwards, confirm that sync resumes and reconciles within your documented RPO.
  • Run the test in both directions, and run the failback too.
  • Complement the automated test with a staffed exercise with the cross-partition connection genuinely blocked. A passing automated test can still leave a path across the boundary that your network rules do not cover, for example a DataSync task you configured to use a public endpoint.

Inside a single partition, the same recovery tests apply, and managed cross-Region tooling can run them.

Conclusion

In this post, we walked through the dependencies that a failover between the commercial partition and the AWS European Sovereign Cloud has to resolve explicitly. Enumerating what crosses the partition boundary produces a dependency map that improves your sovereignty posture whether or not you ever fail over. Start with the scenario that matters most to your business, choose the simplest architecture that addresses it, and verify through testing that the ESC side operates independently. To get started, explore the sample repository and the previous post in this series.

Robert Himmelmann

Robert Himmelmann

Robert Himmelmann is a Senior Technical Account Manager at AWS Enterprise Support in Germany, where he has worked since 2020. He works with financial services customers, from digital-native fintechs to established banks, and specializes in resilience, helping customers define disaster recovery strategies and model the resilience of their workloads. He also works on preparing AWS Enterprise Support for the AWS European Sovereign Cloud. Before joining AWS, he spent eight years in technology consulting, from software development to running IT programs for banks.

Ivo Kammerath

Ivo Kammerath

Ivo, AWS Lead Solutions Architect for Resilience Germany, has been with Amazon Web Services (AWS) since 2017 and has been using AWS in production since 2012. He is experienced in software development, systems reliability, and data analytics. In his role Ivo is responsible for the architectural resilience of AWS customers in Germany. Building on that distributed systems background, Ivo is the author of kiro-flock, an open-source system for running clusters of coordinating AI agents on AWS. Ivo has also contributed to open-source projects such as Hadoop HDFS, Netflix Chaos Monkey, Apache Tomcat, and Flume.