IGW (Internet Gateway) ဆိုတာဘာလဲ?
IGW ဆိုတာက VPC ထဲက Internet-facing resource တွေဖြစ်တဲ့ EC2, ALB တို့အတွက် Internet နဲ့ တိုက်ရိုက် Inbound/Outbound ချိတ်ဆက်ပေးတဲ့ Gateway တစ်ခုဖြစ်ပါတယ်။ Public-facing workload တွေအတွက် မဖြစ်မနေလိုအပ်တဲ့ VPC component တစ်ခုပဲ ဖြစ်ပါတယ်။
Default VPC နှင့် IGW
- Default VPC မှာတော့ IGW ကို AWS က အလိုအလျောက် attach လုပ်ထားပေးပြီးသား ဖြစ်ပါတယ်။
- Custom VPC (ကိုယ်တိုင်လုပ်ထားတဲ့ VPC) မှာဆိုရင်တော့ IGW ကို Create လုပ်ပြီး VPC နဲ့ manually attach လုပ်ပေးဖို့ လိုအပ်ပါတယ်။
Public Subnet ဆိုတာဘာလဲ?
Public Subnet ဆိုတာ Subnet ရဲ့ Route Table ထဲမှာ အောက်ပါ route rule ပါရှိတဲ့ Subnet ကို ဆိုလိုပါတယ်။
| Destination | Target |
|---|---|
| 0.0.0.0/0 | igw-xxxxxxxxx |
ဒီ default route က Subnet ထဲက resource တွေကို IGW မှတစ်ဆင့် Internet နဲ့ တိုက်ရိုက် ဆက်သွယ်နိုင်စေပါတယ်။
Internet Access အတွက် လိုအပ်ချက်များ
Internet ကို bi-directional (Inbound/Outbound) အသုံးပြုနိုင်ဖို့အတွက် အောက်ပါ အချက်တွေ လိုအပ်ပါတယ်:
- Public Subnet - Resource ကို Public Subnet ထဲမှာ Create လုပ်ရပါမယ်
- Public IP Address - Instance/Resource မှာ Public IP သို့မဟုတ် Elastic IP (EIP) တစ်ခု ရှိရပါမယ်
- Security Group Rules - လိုအပ်သလို Inbound/Outbound rules တွေကို Allow လုပ်ထားရပါမယ်
- Route Table - Public Subnet ရဲ့ Route Table မှာ IGW ဆီသို့ route ပါရှိရပါမယ်
Discussion
Join the conversation
How do you feel about this article?
Comments
Sign in to join the conversation
Sign in to be the first to comment!
Share Your Article
Share with your professional network
Recent Articles

Day 2 - GitHub Actions ရဲ့ အဓိက Concepts များနှင့် Runner အကြောင်း
ပြီးခဲ့တဲ့အပတ် Day 1 တုန်းက ကျွန်တော်တို့ CI/CD ရဲ့ Concept တွေကို အကြမ်းဖျင်း ပြောခဲ့ကြပြီးပြီနော်။ ဒီနေရာမှာ လက်တွေ့မစ...
Day 1 - Software Development ကို ပိုပြီးမြန်စေမယ့် CI/CD
Software တစ်ခုရေးပြီးပြီဆိုရင် "ငါ့စက်ထဲမှာတော့ အလုပ်လုပ်တယ်" ဆိုရုံနဲ့ မပြီးသေးပါဘူး။ User တွေသုံးမယ့် Server ပေါ်ရောက်...

Secure AWS ECR Github Action Using OIDC
Modern DevOps နှင့် Cloud Security တို့မှာ အဓိကဖြစ်လာသည့် Authentication System ယနေ့ခေတ် DevOps, Cloud Engineering, CI/C...

Manual vs Automated Infrastructure: Why "useradd" Still Matters in the Terraform Era
DevOps careerကို လျှောက်နေတဲ့သူတိုင်း Terraform၊ Ansible စတဲ့ Infrastructure as Code (IaC) tools တွေရဲ့ အလုပ်လုပ်နိုင်စွ...
From Surviving to Thriving
“AI ကြောင့် developer အလုပ်ပျောက်သွားမလား?” ဆိုတဲ့ မေးခွန်းကို Junior developer တိုင်း စဉ်းစားဖူးကြမှာပါ။ ဈေးကွက်အခြေအနေ...

