This is an addendum to the AWS Serverless Workshops.
- In a terminal window, generate SSH key pair that you can use to log into your Cloud9 instance and append to the
authorized_keysfile
ssh-keygen
Give the key a name (Eg. my-key-pair)
Append the public key to the authorized_keys file
ssh-keygen -y -f /path_to_key_pair/my-key-pair.pem >> ~/.ssh/authorized_keys
- Get the EC2 Public IP address for your Cloud9 instance (you will need it later)
-
Update the EC2 security group to allow all inbound TCP traffic on port 22

-
Open the private key pem file and copy the contents to your local machine (NOTE: If you're on a Mac, you will need to chmod 400 the file)
-
If you're on Windows, you will need to convert the pem file to ppk
