From the course: AWS Global Networking in Terraform
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
EC2 test instance architecture
From the course: AWS Global Networking in Terraform
EC2 test instance architecture
- It would be nice if we had a way of testing all of the network infrastructure that we are going to be setting up. To give us the ability to prove whether or not connectivity can be established between the different regional VPCs. And for that, we're going to use EC2 instances. Now, when deploying EC2 and Terraform, we are going to just pick immediately to use a module rather than individual resources for many of the same efficiency reasons that we chose modules for other objects like VPCs and the transit gateway. And so, there are some variables that we're going to have to come up with like the AMI. And when we look at the code, we're going to see that we can actually generate this dynamically with the latest AMI, with a special type of resource called a data object. We need an instance type. And for this, we will probably just essentially hard code it, but it's going to be a variable that we are going to provide in each of the regions. We need a key pair, and in this case, we're…
Contents
-
-
-
-
-
(Locked)
Learning objectives1m 1s
-
(Locked)
Transit Gateway single-region architecture3m 13s
-
(Locked)
Transit Gateway multi-region architecture5m 35s
-
(Locked)
Terraform resources and modules2m 51s
-
(Locked)
Demo: Create a custom Terraform module7m 58s
-
(Locked)
EC2 test instance architecture3m 51s
-
(Locked)
Demo: Deploy EC2 test instances9m 23s
-
(Locked)
Demo: Deploy Transit Gateways7m 31s
-
(Locked)
-
-
-