Check connections
Access to EC2
- Select Instances
- Select EC2 Public
- Select Connect

- In the tab Connect to instance :
- Select SSH Client
- Copy the address sample

- Prepare the key
- Move downloaded key to ~/.ssh , this is the directory that specializes in storing ssh keys

- Before connect, we have to chmod 400 for key, then based on the sample ssh address in step 2, change the local key address to ssh to EC2 Public

- Try ping to internet, ping to 2 EC2 in Private Subnet

- Copy the key from local to EC2 Public using the scp command, used to ssh to EC2 Private

- Check if you have received the key in EC2 public

- Before ssh, remember to chmod 400 for the key

- Use ssh key to 2 Private instances

- Try pinging the internet from EC2 Private

- As a result, we cannot ping, in the next step we will configure.