AWS VPC ?? Private ? Public subnet, Internet Gateway ??? NAT Gateway ??  ???????

AWS VPC ?? Private ? Public subnet, Internet Gateway ??? NAT Gateway ?? ???????


AWS VPC ???? ???? ??? ?????? ???????????????, ??????? ??? ????????? ??????????? ???????? ??????? ???? ???? ???? ??? ???? EC2 ??????????? ?????? ??????? ??? DB ???????????????????? ??????? ???? VPC ???? ???? ? ????? ????? ???? ????????? ?????????? ?? outside world ?????????? ?????? ??? ???? ???? ??? ??


???????? ????

CIDR Block: 10.0.0.0/16 (VPC ?? IP ?????, ?????? ?? ??????? ?????)??


??????? ?????? ???? ???? ???

?????? ?????? (10.0.1.0/24): ?????? EC2 ????????? ????? , ?? ??????????? ???? ?????? ?????????? ?????

???????? ?????? (10.0.2.0/24): ?????? DB ????????? ????? , ?? ?????? ??????????? ???? ?????????? ???? ???


? Internet Gateway (IGW) ??????? ???? ???

IGW ?? VPC ?? ???? ??????? ???? ??? ???? ??? ?????? ?????? ????????? ????????? ???? ?????


? ?????? ???????? ???? Route Table ???????

?????? EC2 ????????? ???? ?????? ??????? ??? ??? ???? ??? ????????? ???? ??? ???? ??????? ?? ?????? ???? ???? ??????????? ???? ???? ???? ????? ???????? ???? ??

Route?0.0.0.0/0 → Internet Gateway? ?? Route ?? ??????? EC2 ??????????? ????? ???????? ??????? Internet Gateway ?? ??????? ??????????? ???? ??????? ?????


? ?????? ??????? EC2 ????????? ???? ???? ???

EC2 ??????????? ???? ???? Public IP ???????? ???? ??? ?? ?????? ??????????? ???? ?????????? ?????


? NAT Gateway ???? ???? ???

NAT Gateway ?????? ??????? ??????? ???? ??? , ?? ???????? ???????? ????????????? (DB ?????????) ??????????? ???? ?????????? ???? ????? ???? ?????? ???????? ?????? ????????? ??????????? ???? ?????????? ???? ????? ???


? ???????? ???????? Route Table ???????

Route : 0.0.0.0/0 → NAT Gateway? ?? ??????? DB ????????? ????????? ????????? ???? ?????, ?????? ?????? ??? ?????? DB ??????????? ????????? ???? ????? ???


? ???????? ??????? DB ????????? ???? ????

DB ??????????? ?????? IP ?????? ?????, ?????? ??? ?????? ????????? ???? ????????? ??? ???? ??, ?????? VPC ?? ????? ???? ????????? ???? ?????????? ?????????? ???? ??????


?? ?????????? ??????? ??? ???? ?????VPC ??????????? ???? ???? ???? ? ???? ???? VPC ????????????? ???????? ?????????? ??????

Tahmid Kabir

Trainee Software Engineer @Infancy IT | Web Developer | Specialized in MERN

2 个月

Now i understand how it works. Thanks for this. Keep writing.

要查看或添加评论,请登录