Back to course

Multi-Region Deployments

Infrastructure as Code (Terraform & OpenTofu Mastery)

High Availability

What if an entire AWS region goes down? You can use Aliasing to deploy to multiple regions in the same code.

hcl provider "aws" { alias = "west" region = "us-west-1" }

resource "aws_instance" "backup_server" { provider = aws.west

...

}