Reputation: 3613
I'm new with AWS EC2. I've the following situation:
Unfortunately, it still does not work. Please help. Thanks in advance for your help.
Upvotes: 2
Views: 721
Reputation: 123
u must use the public dns or public ip (associate the elastic ip to your instance.) By default the ssh 22 port opened.Jus use ssh -i private key file ec2-user@public ip to connect your remote server-an instance in amazon aws.
Upvotes: 0
Reputation: 22407
Your instance will get a new IP address when you stop and start it.
You can associate an Elastic IP Address with the instance after starting it each time if you want to use the same address to connect with it.
Upvotes: 3