Questions tagged [amazon-ec2]
Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.
6,606
questions
228
votes
17
answers
724k
views
Permission denied (publickey). SSH from local Ubuntu to Amazon EC2 server
I have an instance of an application running in the cloud on an Amazon EC2 instance, and I need to connect to it from my local Ubuntu. It works fine on one local ubuntu and also laptop. I got this ...
156
votes
3
answers
77k
views
Delete Amazon EC2 terminated instance
I created an Amazon Free tier Usage Account. I launched two amazon ec2 instances using the online tool. After that one instance was created and running while other was pending which quickly shifted to ...
146
votes
3
answers
190k
views
How can I upgrade to Java 1.8 on an Amazon Linux Server?
I tried sudo yum update but it just keeps java "1.7.0_75". I need 1.8 for it to work with another application but can't figure out how to upgrade it.
Do I need to manually install it somehow? There's ...
128
votes
4
answers
60k
views
Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. Volume
I have been poking around Amazon EC2, and am a little confused on some of the terminology. Specifically with regard to AMI, snapshots and volumes, and an EBS
Please correct me if I am wrong, or fill ...
125
votes
7
answers
166k
views
What Linux distribution is the Amazon Linux AMI based on?
Amazon Web Services (AWS) offers an officially supported Amazon Machine Image (AMI), but it doesn't indicate which Linux distribution it's based upon.
Is the official Amazon Linux AMI based on ...
124
votes
7
answers
103k
views
How to change an EC2 instance's security group
I have created a new EC2 instance. It got assigned the default security group. I want to change that security group. How?
111
votes
8
answers
31k
views
Why does my OpenSSH key fingerprint not match the AWS EC2 console keypair fingerprint?
When I import my OpenSSH public key into AWS EC2's keyring the fingerprint that AWS shows doesn't match what I see from:
ssh-keygen -l -f my_key
It is a different length and has different bytes.
...
103
votes
9
answers
109k
views
How to add a security group to a running EC2 Instance?
I have an Amazon EC2 instance running and I will like to add another security group to that instance and then remove the current security group from that instance. Is this possible?
100
votes
6
answers
361k
views
How to get a .pem file from ssh key pair?
I created a key pair using ssh-keygen and get the two clasic id_rsa and id_rsa.pub.
I imported the public key into my AWS EC2 account.
Now I created a windows instance and to decrypt that instance ...
96
votes
6
answers
173k
views
Assign Public IP (not Elastic IP) after instance launched
When I launch instance in AWS console I can set "Auto-assign Public IP" to true and newly created instance will be assigned with public IP address from pool.
Now assume I have launched instance with ...
93
votes
5
answers
51k
views
Why don't EC2 ubuntu images have swap?
I started a couple servers on EC2 and they don't have swap.
Am I doing something wrong or is it that the machines just don't have any?
91
votes
4
answers
63k
views
How to change the name and description of an AWS EC2 security group?
How do you change the name and description of a security group in AWS EC2?
My security group is named quick-start-1 (the default) and I want to change it to "HTTP, HTTPS and Limited SSH".
89
votes
4
answers
18k
views
Why is TCP accept() performance so bad under Xen?
The rate at which my server can accept() new incoming TCP connections is really bad under Xen. The same test on bare metal hardware shows 3-5x speed ups.
How come this is so bad under Xen?
Can you ...
86
votes
7
answers
101k
views
Amazon Linux vs. Ubuntu for Amazon EC2 [closed]
I'm setting up my first website on Amazon EC2, and I'm trying to decide which distro to use. I've used Redhat and CentOS in the past, but I have no bias towards any system, I just want to use whatever ...
77
votes
4
answers
45k
views
What is the difference between PV and HVM virtualization types in ec2?
AWS EC2 offers two types of virtualization of Ubuntu Linux EC2 machines - PV and HVM.
PV:
HVM:
What is the difference between these types?