문제

Im super new to Amazon Cloud, nevermind ec2, I'm following the amazon documentation, which states:

  1. In a command line shell, change directories to the location of the private key file that you created when you launched the instance.

    Use the chmod command to make sure your private key file isn't publicly viewable. For example, if the name of your private key file is my-key-pair.pem, you would use the following command:

  2. chmod 400 my-key-pair.pem

  3. ssh -i my-key-pair.pem ec2-user@ec2-198-51-100-1.compute-1.amazonaws.com

I'm using

ssh -i myvaluepair.pem bitnami@<instancehere>.compute-1.amazonaws.com

I fail on step #3 with an error of:

ssh: connect to host <instancehere>.compute-1.amazonaws.com port 22: Operation timed out

I've tried rebooting the AMI too - any thoughts? I'm simply trying to connect to bitnami on my amazon ec2 instance.

I have the follow security policy: img

도움이 되었습니까?

해결책

The problem was with: img

It should have been:

22 (SSH)        0.0.0.0/0
80 (HTTP)       0.0.0.0/0

and not sg-e925a882

I was using this link to properly setup a bitnami-djangostack-1.5.1. instance.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top