Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: Login to AWS Cloud9 environment …where is my keypair? #497
    Up
    0
    Down

    You dont have to setup a KeyPair the same way as in EC2.

    1- First allow your IP through the instance Security Group.
    In AWS Console, find the corresponding EC2 instance.

    In the bottom panel, under the security section, in Security groups row, click on the link to go to associated security group.

    You should now be in Security Groups section. In the bottom panel, under the Inbound tab, click Edit and add:

    Type: SSH
    Source: My IP
    and click Save.

    2- Add you public Key to the Cloud9 instance you created

    In Cloud9 terminal, add your public key to ~/.ssh/authorized_keys. Don’t replace the existing keys or elsewise Cloud9 IDE wouldn’t be able to connect to the instance.

    You can now SSH into the Cloud9-managed instance using ssh ec2-user@, or ssh ubuntu@ if using Ubuntu AMI, for other AMIs see default user name for the AMI

    Up
    0
    Down

    StackSets would be the way to go if you are a CloudFormation shop or i would try to script this deployment using AWSCli.

Viewing 2 posts - 1 through 2 (of 2 total)