Posts

Showing posts with the label SSH

Cannot connect to AWS instance created by Beanstalk

Image
I got the following error while trying to connect to the AWS instance. Make sure you already have a keypair that created before you create an instance and fyi the keypair is only able to download once after creation ( how to create AWS keypair ). First Error Warning You may not be able to connect to this instance as ports 22 may need to be open in order to be accessible. Your current security groups don't have ports 22 open. This error caused by unopened port 22. Click Security Group Click Security Group Link. Click "Edit Inbound Rules". Add new inbound rule Second Error Instance is not associated with a key pair This instance is not associated with a key pair. Without a key pair you will need to log into this instance using a valid username and password combination. Enter Beanstalk security configuration page. Services -> Elastic Beanstalk -> {Choose the application} -> Configuraion -> Security. Elastic Beanssta...