I have been trying to log in to my newly created Ubuntu oneiric AMI at EC2 but it always fails saying connection timed out. I have tried it using AWS Management console as well as command line tools. I have searched enough on Google and Server Fault/Stack Overflow and applied the suggestions to change the security group entries but could not find any success.
My AMI id is ami-0275f832(AMI: ubuntu/images-testing/ebs/ubuntu-oneiric-daily-amd64-server-20120212)
I am able to ping the instance and have opened the proper ssh 22 port in security group. I have also tried to change my region and availability zones to no avail.
Here are the security group entries for default group
ICMP Port Source
ALL 0.0.0.0/0
TCP Port Source
22 (SSH) 0.0.0.0/0
Here is the output of nmap
nmap -PN ec2-x-x-x-x.us-west-2.compute.amazonaws.com -p 22
Starting Nmap 5.21 ( http://nmap.org ) at 2012-02-17 16:24 IST
Nmap scan report for ec2-x-x-x-x.us-west-2.compute.amazonaws.com (x.x.x.x)
Host is up.
PORT STATE SERVICE
22/tcp filtered ssh
Nmap done: 1 IP address (1 host up) scanned in 2.48 seconds
I am not sure why it shows port 22 as filtered even after I have explicitly opened it via security group.
Thanks