Questions tagged [amazon-ec2]

Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

The Amazon Elastic Compute Cloud (EC2) service is part of the Amazon Web Services cloud platform.

EC2 offers computing power in the cloud, on demand. The 'Elastic' part of the name refers to the ability to scale both up and down, as needed.

6563 questions
34
votes
8 answers

How to copy files to Amazon EC2 Windows instance from my local machine?

I have created a new Windows instance on Amazon EC2. I want to copy some files from my local machine to the instance. How do I go about it?
Mayuresh
33
votes
3 answers

Cannot mount an existing EBS on AWS

I tried mounting an existing EBS Storage (which has data) to an instance, but it keeps throwing this error. mount: wrong fs type, bad option, bad superblock on /dev/xvdf, missing codepage or helper program, or other error In some…
Sai
  • 333
  • 1
  • 3
  • 4
33
votes
6 answers

RSA certificate configured for SERVER does NOT include an ID which matches the server name

I recently started a LAMP server (all the latest versions) w/ WordPress on it, and I'm trying to install a SSL certificate that I recently purchased. When I restart apachectl, error_log gives me this: [Tue Feb 25 01:07:14.744222 2014]…
eclipsis
  • 433
  • 1
  • 4
  • 9
33
votes
4 answers

Enable Password Login for SSH on Amazon Linux AMI

I wan't to be able to login via ssh with a password and not the key file. Yeah I know it's totally insecure but at this point in the config I was turning variables off and on left and right trying to get this to work. # $OpenBSD:…
evolvd
  • 1,384
  • 6
  • 33
  • 58
33
votes
5 answers

What does %st mean in top?

Here is an example from my top: Cpu(s): 6.0%us, 3.0%sy, 0.0%ni, 78.7%id, 0.0%wa, 0.0%hi, 0.3%si, 12.0%st I am trying to figure out the significance of the %st field. I read that it means steal cpu and it represents time spent by the…
Ben
  • 555
  • 2
  • 5
  • 7
32
votes
1 answer

update-rc.d on Amazon Linux

I am fairly new to system administration and I am simply trying to make sure nginx runs at startup on my Amazon EC2 instance (running Amazon linux) I have placed the script in /etc/init.d, but it seems that Amazon linux does not come with the…
Andrew Guenther
  • 447
  • 1
  • 4
  • 8
32
votes
5 answers

Nginx set_real_ip_from AWS ELB load balancer address

I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule) so that I can access the originating client IP address on these servers (for passing through to php-fpm and for use in the…
vitch
  • 630
  • 2
  • 8
  • 10
32
votes
2 answers

AWS, Bandwidth and content delivery

My question is about Virtual Machines and delivering their content over the servers connection to the internet. I have an Ec2 windows instance, and its network connection appears to be 100mbps If I was to be delivering content from that EC2…
Keeno
  • 611
  • 3
  • 9
  • 18
32
votes
5 answers

Most long-running commands instantly killed on Amazon EC2 (Ubuntu 10.04)

When running any sort of long-running command in the terminal, the program instantly dies and the terminal outputs the text Killed. Any pointers? Maybe there is a log file with data explaining why the commands are being killed? Update Here is a…
Dan Loewenherz
  • 913
  • 3
  • 10
  • 19
30
votes
1 answer

How do I ensure my AWS free tier plan doesn't exceed the free usage limit?

I'm spinning up a free tier instance and I don't want to accidentally exceed the limit. How do I do that?
Alexander Suraphel
  • 525
  • 1
  • 5
  • 13
30
votes
8 answers

How are admins managing their EC2 EBS's and Snapshots?

My company is moving our hosting to Amazon and I'm working though all the migration issues. It has been quite a challenge transitioning from physical hardware to transient virtual machines. One of the last challenges is figuring out how to manage…
ahanson
  • 1,704
  • 2
  • 16
  • 21
29
votes
2 answers

Fundamental difference between t3 and t3a EC2 instances

Both T3 and T3a instances offer the same configuration, CPU credits and network performance. The only difference that I find is T3 uses Intel processor while T3a uses AMD processor, while both are running at 2.5 GHz. Is this the only reason for…
Abhinav
  • 743
  • 2
  • 9
  • 20
29
votes
5 answers

amazon linux 2 ami - aws - How to install mysql in Amazon Linux 2?

I am trying to install mysql in amazon linux 2 ami and am not able to do it. sudo yum install mysql56-server -> doesn't work amazon-linux-extras list -> doesn't list mysql I do not want mariadb since I have more exposure to mysql (even if both are…
Jey Geethan
  • 775
  • 1
  • 6
  • 11
29
votes
5 answers

Terminated EC2 instances keep restarting

I have a couple of small EC2 instances (t1.micro and t2.micro) one of which was setup using AWS-EB. I'd like to terminate both of them, but whenever I terminate them, the re-appear in my list of running instances a couple of minutes later. How do I…
tdc
  • 393
  • 1
  • 3
  • 7
29
votes
2 answers

Is there a Windows equivalent of Unix 'CPU steal time'?

In order to assess performance monitoring accuracy on virtualization platforms, the CPU steal time has become an increasingly relevant metric - see EC2 monitoring: the case of stolen CPU for an instructive summary in the context of Amazon EC2 and…
Steffen Opel
  • 5,638
  • 37
  • 55