EC2 Instance Will not connect to internet: Difference between revisions

From Cramsession
Jump to navigationJump to search
✍️ Verified Author: MflavellClick to view professional profile & credentials
No edit summary
No edit summary
Tag: Reverted
Line 23: Line 23:


** All traffic inbound
** All traffic inbound
{{warning|1=Here is a long warning, which is sufficiently wordy to run onto a second line (unless you have a really large screen!), which would normally cause it to wrap round the icon, but because we passed it as a parameter it keeps its left alignment straight.}}





Revision as of 23:14, 21 December 2024

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
    • It must have matching sets of rules
  • Make sure you have a rule to allow:
    • All traffic outbound
    • All traffic inbound

Template:Warning


After this change is made, change it back after the internet download.

The NACL will provide an additional layer of security.