I’m new with AWS EC2. I’ve the following situation:
- I launched AWS EC2 Micro Instance Amazon AMI Linux at the office.
- Everything works as expected. I could login to EC2 as ec2-user without any problem using PuTTY on WIndows.
- I then went home. It still worked fine.
- I then stopped and started it again.
- I tried to connect using PuTTY again. Unfortunately, it does not work anymore.
- I used http://network-tools.com/ to get my IP address (xxx.xxxx.xxx.xxx).
- Using ASW console, I went to NETWORK&SECURITY -> Security Group. I clicked “Inbound -> Create a new rule -> SSH”. xxx.xxxx.xxx.xxx./32.
Unfortunately, it still does not work.
Please help.
Thanks in advance for your help.
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.