Establish a connection to your EC2 instance
In order for you to establish an SSH connection to your EC2 instance:
On the Security Group, add an Inbound Rule to allow SSH traffic to your EC2 instance.
On the NACL, add both an Inbound and Outbound Rule to allow SSH traffic to your EC2 instance.
NACLs = Stateless (Less traffic is allowed; i.e. return traffic must be explicitly allowed).
Security Groups = Stateful (Full traffic is allowed; i.e. inbound AND outbound).
Last updated
Was this helpful?