Question Locked

AWS Availability Zone Subnetting

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hello All,

I'm new to cloud computing with Amazon and using Terraform to create my environment. I am trying to create two availability zones, each one with its own subnet. I am using an IP address of 10.0.0.0/16, which means that I should logically be able to use subnets with the following addresses:

10.0.3.0/24
10.0.4.0/24
10.0.5.0/24
10.0.6.0/24
10.0.7.0/24

However, when I do this I get errors when I run terraform apply. What am I doing wrong? Thanks for any assistance.

4 replies

by bcopeland64

Thanks for your assistance. I just wanted to as a brief question. I took a look at Amazon's website, and even IP addresses that are supposed to be public give me the same error messages. Is there a list of available IP addresses for public use? Also, is there a way for terraform to look for any availability zones that are open and just use those for AWS? Sorry for all the questions, but I am new to Terraform.

by sofia.adams1987 edited

You can think of a VPC in AWS as an apartment that separates the resources you create from other customers within the Amazon Cloud. You are the one who defines your network at Amazon. You can think of a VPC as an apartment where your objects and database objects are analogous. Walls separate your dwelling and protect your belongings from the access of other peoples of the colony.

This discussion is closed to new replies.