Is my Amazon EC 2 working with Amazon Linux or Ubuntu?

I'm a little confused here. I created an instance of Amazon EC2 with the 64-bit version of Ubuntu Linux 12.04 LTS, now that I have SSH, I get the following

enter image description here

but on amazon management console i get the following

enter image description here

What is wrong here?

0
ubuntu amazon-web-services amazon-ec2
Aug 13 2018-12-12T00:
source share
2 answers

This is definitely Amazon Linux (based on CentOS), not Ubuntu. Another hint that the default username on Amazon Linux is usually "ec2-user" and on Ubuntu it is "ubuntu" (at least if you use AMI by default). I don’t know how it can differ from what you chose when you created it, but I assume that this is either a human error or a strange error.

Change For the record, the problem was that he was using the old EBS volume (with Amazon AMA) as the root volume.

+1
Aug 13 2018-12-12T00:
source share
β€” -

ami-acf6b0fe is indeed the official Ubuntu 12.04 LTS Precise AMI in the Amazon EC2 ap-south-1 region (Singapore).

The welcome message you list is valid for Amazon Linux.

This means that the EC2 instance specified in your AWS console is not an EC2 instance that you are connecting to using ssh.

You should double-check IP addresses, host names, instance IDs, AWS accounts, and EC2 regions.

+1
Aug 13 2018-12-12T00:
source share



All Articles