EC2 Instance Will not connect to internet

From Cramsession
Revision as of 22:59, 21 December 2024 by Mflavell (talk | contribs) (Created page with "= Check the Following = == Internet Gateway == * Check the subnet has an Internet gateway * Check the internet gateway is associated with the subnet ** This will make the subnet a public subnet. * You will not need a NAT gateway if this is a public subnet. == Check the NACL == * Remember the NACL is stateless * Make sure you have a rule to allow: ** All traffic outbound ** All traffic inbound * If you want to harden the subnet after this change, then revert...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials

Check the Following

Internet Gateway

  • Check the subnet has an Internet gateway
  • Check the internet gateway is associated with the subnet
    • This will make the subnet a public subnet.
  • You will not need a NAT gateway if this is a public subnet.


Check the NACL

  • Remember the NACL is stateless
  • Make sure you have a rule to allow:
    • All traffic outbound
    • All traffic inbound
  • If you want to harden the subnet after this change, then revert back to only the needed traffic.
  • Overley permissive NCAL could result in the exfiltration of data