View a markdown version of this page

DSREL03-BP01 Design workloads for greater interoperability and portability - Digital Sovereignty Lens

DSREL03-BP01 Design workloads for greater interoperability and portability

Design workloads so they can be deployed, migrated, or recovered within or across jurisdictions when conditions require. Abstract Region-specific, service-specific dependencies. Use standards-based storage formats, data formats, table formats, and protocols. Plan ahead for data export and migration scenarios.

Desired outcome:

  • Workloads can be deployed to a different AWS Region or to another customer-managed environment in approved jurisdictions with minimal rework.

  • Region-specific, service-specific dependencies are abstracted, data can be exported in standard formats, and the effort required to port a workload is understood and documented.

Common anti-patterns:

  • Not knowing what your interoperability and portability goals are, including which operating Regions, environments, or jurisdictions to target.

  • Treating interoperability and portability as an afterthought rather than a design consideration, resulting in architectures that are expensive to restructure when jurisdictional requirements change.

  • Hard-coding Region-specific resources (for example, AMI IDs, ARNs, and endpoints) in application code or infrastructure templates, creating dependencies that block deployment to other Regions.

  • Using proprietary data formats without evaluating standards-based alternatives, increasing the cost and complexity of migration.

  • Not planning for data export scenarios, leaving organizations unable to extract data in usable formats when required by regulation or business need.

Benefits of establishing this best practice:

  • Reduced time and cost to deploy workloads in new AWS Regions or jurisdictions when conditions change.

  • Greater flexibility to respond to emerging sovereignty regulations that might mandate specific infrastructure choices or data residency requirements.

  • Reduced vendor dependency risk by maintaining the ability to migrate critical workloads to alternative environments if required.

  • Improved disaster recovery options by enabling failover to Regions in different jurisdictions when same-jurisdiction recovery isn't feasible.

Level of risk exposed if this best practice is not established: Medium

Implementation guidance

Achieving workload interoperability and portability demands intentional architectural decisions, each carrying trade-offs in complexity, operational overhead, and delivery timelines that must be evaluated against your specific risk profile and business objectives.

Note

: Although interoperability and portability sound similar, they address different concerns. In the context of this best practice, Portability refers to how easily you can move a workload and its data from one environment to another. Interoperability focuses on how many code changes are needed for the workload to function after the move.

Consider the following:

  • How should application logic be decoupled from Region-specific and service-specific dependencies? How should environment-level configuration and runtime bindings be abstracted?

  • Which standards-based formats should be adopted for file storage, data serialization, messaging, and network protocols?

  • Which application packaging and machine image formats should be used to maximize deployment flexibility?

  • How will interoperability and portability be verified and continuously validated as workloads evolve?

These decisions involve real trade-offs. Every abstraction layer has the potential to increase code complexity, introduce performance overhead, or constrain access to provider-specific functionality if not designed with care. It is also common for abstraction layers to accumulate over time, compounding complexity without proportional benefit. An abstraction introduced to mitigate a risk identified five years ago might no longer be justified. The underlying risk profile might have fundamentally changed. Periodically reassessing the value of existing abstractions is as important as introducing new ones.

Begin by clearly identifying the specific business risks driving your decisions.

  • Operational resilience: Organizations exposed to international trade policy changes, regional disruptions, or natural disasters often adopt interoperability and portability as core design principles. This approach broadens deployment flexibility, enabling workloads to span multiple AWS Regions or other customer-managed infrastructure, reducing single points of failure and strengthening continuity of operations.

  • Licensing and commercial terms: Changes to licensing terms, pricing models, or usage entitlements can affect workload economics and operational continuity. Architecting with open standards and portable interfaces widens the range of available options if commercial terms change.

  • Technology obsolescence and migration risk: Tight coupling to proprietary formats creates long-term technical debt. If those dependencies are deprecated, undergo breaking changes, or fall behind evolving requirements, organizations face disruptive and high-cost migration paths. Designing for interoperability through abstraction layers, standard protocols, and open data specification enables incremental technology evolution and protects long-term return on investment.

Each of these risks has a distinct impact on your digital sovereignty posture and demands a tailored mitigation strategy.

Implementation steps

  1. Abstract Region-specific and service-specific dependencies: Separate environment-specific configuration from application logic. Use AWS Systems Manager Parameter Store or AWS Secrets Manager for Region-specific settings (endpoints, ARNs, and encryption key IDs). Define infrastructure using AWS CloudFormation or AWS CDK with parameterized Region configurations so templates can be deployed to any approved AWS Region without modification.

    When portability to environments outside AWS Cloud is a requirement, abstract service-specific dependencies. Wrap AWS service interactions behind interfaces that can be swapped for alternative implementations.

  2. Evaluate standards alignment: Where practical, use standards-based storage, data, message, and protocol formats to widen interoperability and portability options. Consider the following:

    • Open and standards-based data formats (Parquet, ORC, JSON, and CSV) rather than proprietary formats where only a single vendor provides encoders/decoders.

    • Standard protocols and APIs (HTTP, REST, and GraphQL) rather than proprietary interfaces.

    • Open source aligned databases and analytics engines (for example, Amazon Aurora, Amazon OpenSearch Service, and Amazon ElastiCache (Redis OSS) OSS) rather than legacy proprietary database engines.

    • Container orchestration with Amazon EKS (Kubernetes) for workloads that might need to run on other Kubernetes-compatible infrastructure, including Amazon EKS Hybrid Nodes, AWS Outposts, or third-party environments.

    AWS services across analytics, storage, data integration, and machine learning support open data and open table formats. AWS services are accessible through standard REST APIs over HTTPS, and purpose-built services such as Amazon API Gateway and AWS AppSync enable organizations to expose their own workloads through RESTful and GraphQL interfaces with built-in support for OpenAPI, OAuth 2.0, and OpenID Connect. This means you retain full control over your data and can move, replicate, or process it using any toolchain that supports these widely adopted open standards.

    When selecting your technology stack, you might need to carefully evaluate the trade-off between portability and the operational benefits of using managed services. For example, you can install and manage your own version of an open source database engine on an Amazon EC2 cluster, but does this improve operational resilience or reduce licensing risks? AWS services such as Aurora MySQL, Aurora PostgreSQL, Aurora PostgreSQL Limitless Database, and Aurora Serverless v2 provide the best of both. They offer open source compatibility with reduced operational overhead by automating time-consuming administration tasks like hardware provisioning, database setup, patching, and backups while providing security, availability, and reliability of commercial databases.

  3. Plan for data export and migration: Document how data can be extracted from each critical workload in standard formats. For each data store, document:

    • Export format and tooling (for example, AWS Database Migration Service for database migration, and S3 export for object storage)

    • Estimated data volume and transfer time

    • Encryption key dependencies: can the data be decrypted and re-encrypted with keys in the target jurisdiction?

    • Regulatory constraints on data transfer (data residency requirements and transfer impact assessments)

    Review your cloud service provider's data center exit policies and the tools available for data migration. AWS provides free data transfer out for customers leaving AWS.

  4. Test for interoperability and portability: Periodically deploy your workload to a different approved AWS Region or another approved jurisdiction to verify interoperability and portability. Use AWS CloudFormation StackSets to deploy infrastructure across multiple AWS Regions from a single template, and run identical test suites in each environment to verify consistent functionality. Document the effort, issues encountered, and any Region-specific and service-specific adjustments required. This testing validates your portability assumptions and identifies hidden dependencies before they become urgent during an actual migration.

  5. Assess and document portability posture: For each critical workload, document:

    • Portability tier (high, medium, or low) based on the effort required to deploy in a new jurisdiction

    • Region-specific and service-specific dependencies that might need to change or require alternative implementations

    • Estimated migration timeline and cost

    • Regulatory prerequisites for migration (data transfer approvals and new certifications)

    Review this assessment regularly or when significant architectural changes are made.

Resources

Related best practices:

Related documents:

Related videos:

Related services: