LoginSignup
0

More than 5 years have passed since last update.

AWS VPC 생성시 Subnet Size 설정

Last updated at Posted at 2018-09-05

AWS에서 VPC를 생성하고 Subnet의 크기를 정의하는데 참고하기 위하여 글을 남깁니다.

  • VPC 생성시 IPv4 CIDR Block을 반드시 지정해야 함.
  • 허용된 Block Size는 /16 netmask (65535) ~ /28 netmask (16) 사이로 지정해야 함.
  • 되도록이면 RFC 1918에 지정되어 있는 Private IPv4 IP Range를 사용
    • 10.0.0.0 - 10.255.255.255 (10/8 prefix)
    • 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
    • 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
  • VPC끼리 연결할 경우, Block Size가 동일할 경우 이슈가 있는 것으로 기억하고 있음.
  • 최초 VPC 생성시 입력한 IPv4 CIDR Block은 Primary로 수정이 불가능
  • 이후 IPv4에 대해서는 Secondary를 추가할 수 있음.

References

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0