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.
Cost considerations
From the course: AWS Global Networking in Terraform
Cost considerations
- When deploying network resources into AWS, it's really important to understand the cost ramifications of the different types of resources that you choose to use for your network traffic and throughput. And so let's kind of build up a network here from the ground up with the idea that we have some application servers that need to access S3 buckets. And so we deploy our VPC, as well as an internet gateway and a public subnet with the intent of the traffic using that internet gateway to reach S3. We follow that up with a private subnet, and that's where our application resources are going to go and because we want to follow best practices from a security perspective. Next, we go ahead and provision our application instances so that they're ready to go. And for our application servers to be able to authenticate to S3, we need some sort of permissions. And we're going to do that in the form of an instance profile or an IAM role. And then we use a NAT gateway as the go-between. So that…