8 A multi-cloud MMORPG

 

This chapter covers

  • Deploying a multi-cloud load balancer
  • Federating Nomad and Consul clusters with Terraform
  • Deploying containerized workloads with the Nomad provider
  • Comparing container orchestration architectures with those for managed services

Terraform makes it easy to deploy to the multi-cloud. You can use all the same tools and techniques you’ve already been using. In this chapter, we build on everything we have done so far to deploy a massively multiplayer online role-playing game (MMORPG) to the multi-cloud.

Multi-cloud refers to any heterogeneous architecture that employs multiple cloud vendors. For example, you may have a Terraform project that deploys resources onto both AWS and GCP; that would be multi-cloud. In comparison, the closely related term hybrid cloud is more inclusive: it specifically refers to multi-cloud where only one of the clouds is private. So, hybrid cloud is a mix of private and public cloud vendors.

8.1 Hybrid-cloud load balancing

8.1.1 Architectural overview

8.1.2 Code

8.1.3 Deploy

8.2 Deploying an MMORPG on a federated Nomad cluster

8.2.1 Cluster federation 101

8.2.2 Architecture

8.2.3 Stage 1: Static infrastructure

8.2.4 Stage 2: Dynamic infrastructure

8.2.5 Ready player one

8.3 Re-architecting the MMORPG to use managed services

8.3.1 Code

8.3.2 Ready player two

8.4 Fireside chat

Summary