liveBook · Manning

Multi-cloud deployment

As explained in Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform

A multicloud configuration defines and coordinates infrastructure resources across multiple public cloud providers.

A multicloud configuration coordinates infrastructure across multiple public cloud providers to place workloads, teams, or resources where they fit best. section 12.3.2

Use implementation practices that keep provider differences visible and manageable:

  • Build a separate IaC module for each cloud provider; provider-specific modules reduce complexity, support isolated testing, and expose resource ownership. section 12.3.2
  • Compare workload and time-based costs before moving services, including charges for transfers between regions, zones, networks, and clouds. section 12.3.2 section 12.3.3
  • Prefer private networking where possible and consolidate communicating services when cross-region or cross-cloud transfer costs outweigh migration benefits. section 12.3.3

Moving batch processing

A reporting team shifts selected batch pipelines from Google Cloud Dataflow to Amazon EMR through a different IaC module, using blue-green deployment to reduce disruption. Azure HDInsight provides an equivalent service. section 12.3.2

Figure 12.13 The report service switches its batch-processing job to use Amazon EMR instead of Google Cloud Dataflow by referencing a different module.

Shows a report service switching its batch-processing job by referencing a different provider module. section 12.3.2

Figure 12.14 Refactor your IaC to support an integration testing environment in a single availability zone and resolve to a private IP address.

Shows integration-test resources consolidated into one availability zone and resolved through a private IP address. section 12.3.3

How Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform covers it

How deep it goes
Explains provider modules, workload migration, networking, and transfer costs, stopping short of provider-specific implementation code.
Examples
Uses Google Cloud Dataflow, Amazon EMR, Azure HDInsight, batch pipelines, and single-zone integration testing.
What you can do after
Operate/configure provider-specific IaC modules while evaluating workload placement and cross-cloud networking costs.
How it connects
Connects infrastructure as code, composability, modules, blue-green deployment, private networking, and data transfer.

Also explained in

Compare how 3 books explain multi-cloud deployment →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform. The section links point to the parts of the book it draws on.