From the course: Terraform: Managing Network Infrastructure

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Using segmentation with Transit Gateway and Terraform

Using segmentation with Transit Gateway and Terraform - Terraform Tutorial

From the course: Terraform: Managing Network Infrastructure

Using segmentation with Transit Gateway and Terraform

- [Instructor] Consider this, so far we have a VPC-A and a VPC-B, which are representative of a dev in a test environment. If we think about network level segmentation let's just call these non-prod. And as your organization continues to adopt cloud and you experience some level of growth, eventually you'll have production workloads out there as well. And as you start to deploy more infrastructure and you begin to optimize for efficiency, many times you'll see a shared services space that's etched out for specific resources that are consumed by all the other VPCs. So let's say that dev and test here are allowed to communicate with each other but we don't want them to communicate with prod. And let's say that non-prod and prod both need reachability to our shared services space. Let's work through this design with Terraform and Transit Gateway. For this scenario, I have added two additional VPCs. One to represent prod…

Contents