Professional Documents
Culture Documents
Aws VPC
Aws VPC
************========***************
lan = local area network (local building or office network)
man = metro AREA network (same area network)
wan = wide area network (different region network)
in vpc we are getting ips by using CIDR = CLASS LESS INTER DOMAIN Routing.
versions of IPS
********====******
1.IPV4 = we can genarete 4 billions ips
4.INTERNET GATE WAY = an internet gate way is logical connection between the amazon
vpc and the internet.
its not a physical device.
only one can be associated with each vpc.
VPC ARCHITECTURE.
maximum we can get 65025 ip address.
if we want connect network to private subnets then we are using the NAT gateway
if we want connect public network to subnets then we are using the internet gateway
we calling octet because it storing 8 bits of memory that is why its called octet.
0 -255 = 8bits if it is greater than 255 then its going to 9bits .
thats wht it we are assiging only 0 to 255
10.0.0.0/n = (/n net mask here we are giving how many ip adress we want to give )
n = should be 16 to 32s
10.0.0.0/32 1
10.0.0.0/31 2
10.0.0.0/30 4
10.0.0.0/29 8
10.0.0.0/28 16
10.0.0.0/27 32
10.0.0.0/26 64
10.0.0.0/25 128
10.0.0.0/24 256
10.0.0.0/23 512
10.0.0.0/22 1024
10.0.0.0/21 2048
10.0.0.0/20 4096
10.0.0.0/19 8192
10.0.0.0/18 16384
10.0.0.0/17 32768
10.0.0.0/16 65536
in this first 4 ips and last one ip vpc will store default by its own perpose.
in vpc for every region by default there are having the one vpc .
once if assigned cidr blocks then we cant change.
NAT = network address translative