Amazon Elastic Compute Cloud (EC2), which allows users to rent virtual computer systems, is part of Amazon Web Services.

learn more… | top users | synonyms (1)

18
votes
1answer
17k views

BUG: soft lockup - CPU# stuck for x seconds

I've seen a few bug reports and questions (on stackexchange and elsewhere) regarding a nagging "BUG: soft lockup - CPU#<n> stuck for <dt>s!". So far, I haven't found any clue as to what ...
11
votes
2answers
13k views

How can I block a range of IP addresses with an Amazon EC2 instance?

I know a certain range of IP addresses are causing problem with my server, 172.64.*.* what is the best way to block access to my Amazon EC2 instance? Is there a way to do this using security groups or ...
9
votes
4answers
45k views

VSFTPD, 553 Could not create file. - permissions?

I've set up VSFTPD on Amazon EC2, with the Amazon Linux AMI. I created a user and can now succesfully connect via ftp. However, if I try to upload something I get the error message "553 Could not ...
8
votes
1answer
12k views

Is there a way to get the Public DNS address of an instance?

I have a project wherein I need to update configuration files each time an EC2 instance is booted with the Public DNS address of the current instance. I'll be using Perl or Sed for this, so that's ...
5
votes
2answers
22k views

Convert Amazon .pem key to Putty .ppk key Linux

I have generated and downloaded a private .pem key from AWS. However, to use Putty in order to connect to the virtual machine, I must have that key in .ppk format. The process of conversion is ...
5
votes
1answer
1k views

Need to ssh from one Amazon EC2 server into another one

Basically I need to be able to connect from one EC2 instance to another using SSH. I run the command ssh -i path-to-pem-file ec2-user@dns-address-of-ec2-instance, and it times out. I set my security ...
5
votes
1answer
261 views

How can I find a Ubuntu package to use with Amazon EC2?

I'm looking to set up a new server on Amazon's EC2 and I wanted to use Ubuntu 11.04 is it is fairly new but not too new. I previously used 10.10 which I think is also very stable and time-tested. My ...
5
votes
1answer
3k views

Connection ec2 instance operation timeout error using ssh

After creating a new instance, I am trying to access my instance like below: ssh -i private_key.pem root@my_instance_public_domain but the operation is timing out. I have updated the private key ...
4
votes
2answers
2k views

What is /dev/xvde1?

I'm having to do with an OpenShift RHEL Linux installation running on Amazon EC2. In the filesystem, there is a device file named /dev/xvde1 mounted to / ... and a device file named /dev/xvde2 mounted ...
4
votes
3answers
504 views

Does bash have a built in caching command available (sort of like mktemp or sponge)?

I'm using the amazon ec2 command line tools, and the ec2-describe-instances tool is a little painful because of the 2-5 seconds it requires to make the request and display the output. I'm looking ...
3
votes
2answers
766 views

Is it possible for a CentOS system on EC2 to not have a bootloader?

I'm attempting to look for grub: [root /]# find / -iname "*grub*" /sbin/grubby /usr/share/man/man8/grubby.8.gz /usr/share/vim/vim70/syntax/grub.vim /usr/share/vim/vim70/ftplugin/grub.vim ...
3
votes
2answers
1k views

ZFS on Linux and Amazon EC2

I have a situation where I need dynamically expandable storage space on a Linux machine running in Amazon EC2, and ZFS came to mind. If I remember properly, ZFS supports a way to dynamically expand a ...
3
votes
1answer
689 views

Unreferenced inodes on EC2 linux instance

I have an Amazon EC2 instance which I am using as a NFS file server. It's using a 5x1TB volume RAID0 array. The system is very I/O intensive and files are being written/copied/deleted through the NFS ...
3
votes
3answers
2k views

Create and Delete Amazon EC2 Volumes using a shell script

I am using this following script which does a regular backup of volumes on Amazon AWS cloud service. It creates new snapshots of the volumes and should remove snapshots older than two days. It is ...
3
votes
3answers
405 views

Install pdflatex via SSH on Amazon EC2 instance

I need to install pdflatex on my Linux powered machine (Amazon EC2 instance, didn't decided yet which distribution would be the best so also feel free to give a hint) because I want to connect ...
3
votes
1answer
2k views

Apache 70007 and 70014 errors [closed]

I have a service where mobile phones send a big hash of data to our server which are sitting on AWS behind the ELB. Once in a while we receive 70007 and 70014 errors in the apache error logs, the ...
2
votes
2answers
2k views

What do mkfs.xfs and modprobe do when mounting an Amazon EBS instance?

I'm looking through this guide for how to add an EBS volume to an Amazon EC2 instance, and I've found this little part of instructions hard to follow: Create an XFS file system on the EBS volume ...
2
votes
3answers
4k views

How to upload a file from Windows to Linux?

I'm using Windows. I want to upload a file to Amazon server using putty from my Windows system. How to do this using scp or any other command? How do I download a file from the Amazon server to my ...
2
votes
2answers
2k views

Amazon AWS (Amazon AMI) installing OpenVPN

I'm trying to set up OpenVPN on AmazonAWS. I'm pretty new to Linux so I followed a tutorial. I ran yum -y install openvpn and I received a message saying it was successfully installed. The next step ...
2
votes
1answer
98 views

Fedora 8 - out of date?

We use Fedora 8 (an Amazon EC2 Public Image) for some of our servers. I see that Fedora is at version 20 now, and Fedora 8 is from around 2006/7. What confuses me is that these servers were installed ...
2
votes
1answer
1k views

“tshark: There are no interfaces on which a capture can be done” in Amazon Linux AMI

My goal is to capture packets with tshark in Amazon Linux AMI. While typing tshark in the command line there's an error: "tshark: There are no interfaces on which a capture can be done" How to ...
2
votes
1answer
2k views

How should I set up additional EBS storage on an Amazon EC2 instance?

One of my clients has three EC2 servers on the Amazon cloud, with several attached EBS devices: server 1 and server 2 are ubuntu micro instances, and server 3, the main production box, is a ubuntu ...
2
votes
1answer
638 views

What is the official Gentoo AMI?

I would like to use Gentoo on Amazon EC2. What are the right AMI for me to use? I won't be running X unless necessary. I guess I need a server variant, if there is such a thing.
2
votes
1answer
4k views

Should I run fsck on boot for an amazon ec2 image?

I have an Ubuntu micro instance running on amazon EC2. Recently after logging in I was alerted: *** /dev/xvda1 will be checked for errors at next reboot *** I've rebooted a couple times using init ...
2
votes
1answer
1k views

Attempting to update Amazon Route53 using a script, but domain is not being updated

I have several Amazon EC2 instances, running Ubuntu 10.04, with which I'd like to use Amazon's Route53. I setup a script as described in Shlomo Swidler's article, but I'm still missing something. ...
2
votes
1answer
494 views

Virtual Host only works when SELinux is set to permissive - why?

Wondering why my virtual hosts will only work when SELinux is set to "permissive". When SELinux is set to "enforce" my virtual hosts are ignored and default host is shown. Apache/2.2.15 (Unix) Here ...
2
votes
1answer
226 views

Why EC2 instance spends all its time in “IRQ” and what to do about it?

I have an m1.small EC2 instance that is mostly just running Apache as a web server for several simple PHP web sites (that use RDS as a database). The server is constantly with a very high load average ...
2
votes
1answer
434 views

Broken sudo on amazon web services ec2 linux centOS

So I had no idea of the dangers of messing with the /etc/sudoers file, and was just trying to make a simple change in there. However, I seem to have put something with incorrect syntax in there, ...
2
votes
1answer
914 views

AWS XML response error signature does not match

I have a bash script that should return the XML response for AWS EC2 regions but I am getting an XML error response as: "SignatureDoesNotMatch" The request signature we calculated does not match the ...
2
votes
1answer
2k views

enable networking inside a freebsd jail

So I'm mostly a linux newbie itself. Let alone freebsd, so please bear with me. I just need some very basic clues to get this to work. I use FreeBSD 9.1 64-bit from the list here. On my freebsd ...
2
votes
2answers
529 views

Building kernel module using dkms, missing headers

I would appreciate, if anybody can help me. 1) I am trying to build kernel module for Ubuntu sever using dkms. Detailed manual is here. 2) When It is building module using this syntax: sudo dkms ...
2
votes
1answer
298 views

systemd mount volume using device symlink

I'm trying to have systemd mount a volume by symlink. Unfortunately when I try it times out waiting for the systemd device to show up. # systemctl start mnt-ephemeral0.mount A dependency job for ...
2
votes
0answers
622 views

Unable to mount XFS volume after reboot - unknown filesystem type 'xfs'

I have an aws ec2 instance that's been running Ubuntu 12.04 for a good long while. It has attached to it an EBS volume formatted with xfs. Today after a reboot, I'm unable to mount this volume. ...
2
votes
0answers
118 views

Limit CPU cycles inside of Xen

I'd like to run some minimum-expectation benchmarks on EC2, but I'm having an issue of high variability in my output data. Specifically, they keep giving me more CPU than I'm minimally entitled to, ...
1
vote
1answer
665 views

What is the optimum swap size on Linux for a heavily threaded program?

I using an Amazon EC2 server small instance and by default it allows 382 threads per process. However, I wish to run 10,000 threads in a single process. Recently, I learned that this can be done by ...
1
vote
1answer
33 views

rsync with weird files name appended

I'm doing rsync every 10 minutes via cronjob with a 3g Dongle outside on a field. The rsync will send data to my EC2 server and there I can check the files being sent. But I encounter the destination ...
1
vote
1answer
73 views

How, on ubuntu, to run as a service / run under supervision

I have been given 3 clusters. One is of Kafka, one is of storm and one is of ZooKeeper. I need to make it so that the services start and when stopped, start up again as described in the Zookeeper ...
1
vote
1answer
159 views

Mounting an RAID0 EBS array on EC2

I had a RAID 0 on two EBS volumes running fine on EC2 until the instance was stopped, a snapshot of the EBS volumes created and then restarted again. Now when I go to mount the RAID array I can't seem ...
1
vote
1answer
245 views

the right way to synchronise sources on freebsd

Update: I'm happy to report @dartonw 's answer worked and I went and did a checkout and then buildworld and it built successfully in about 6 hours. So I've been having some issues with jails in ...
1
vote
1answer
920 views

vim install on freebsd has taken 5 hours and counting

Ok, so installed portmaster and I'm trying with it, I'm hoping it won't take time. So I've been up all night and my vim installation is still going on. I have an amazon ec2 freebsd server setup. I ...
1
vote
1answer
2k views

Driver install, kernel source not found

I am trying to install a NVidia Cuda driver on a Amazon EC2. GPU instance (Amazon Linux AMI (HVM) 2013.09.2 - ami-e9a18d80) following the instructions laid out in a blog. It worked for the last two ...
1
vote
3answers
495 views

Amazon EC2 micro instance large number of IO requests

I'm trying to understand why I have a huge number of EBS IO request on my Amazon EC2 micro instance. I launched the instance roughly 6 days ago and has racked up over 4 million IO requests so far. ...
1
vote
1answer
367 views

Do I need ephemeral storage?

I was running a small instance on Amazon EC2. I'm trying to migrate it to a micro as it requires very minimal processing power. One thing I just learned though, is that micro instances do not come ...
1
vote
0answers
37 views

Can't mkdir events No space left on device - EC2 Linux [duplicate]

After put about 5 millions files on a EC2 instance, I can no longer mkdir because inodes are all used. I still have 40Gb space on this EBS! Is there a way to overcome this? Thanks. Filesystem ...
1
vote
0answers
37 views

Hosting Multiple Websites on Webmin

I set up a couple of Virtual Servers (websites). The problem is, does not matter what URL I use, I will always be redirected to the first one Virtual server I created. Here is the redirective text ...
1
vote
0answers
86 views

Virtual Host setup works for one server, not another

Having an issue with my virtual host set up. Used this tutorial as a reference on both: http://youtu.be/wXIJMtwmPCE Apache/2.2.15 (Unix) on both servers. Seemingly Identical httpd.conf file on both ...
1
vote
2answers
1k views

Cannot install libevent on CentOS 6.5

I'm on CentOS 6.5. Specifically, I'm running this AMI: Adobe Media Server 5 Extended. I followed these steps: $ sudo yum groupinstall "Development Tools" $ sudo yum install glib2-devel fuse-devel ...
1
vote
1answer
221 views

How to stop many process like unicorn and sidekiq using single command in certain environment

I am using Ubuntu 12.04. I remotely access remotely EC2 instance, i will stop and start unicorn and sidekiq by following commands cap development unicorn:start cap development unicorn:stop cap ...
1
vote
0answers
110 views

Can't reliably create a directory on startup after ec2 instance mounts its ephemeral drives

This particular instance type mounts two ephemeral drives, in /dev/ and /mnt/. I have to create working directories for one of my services in these paths at startup or the services won't launch. ...
1
vote
0answers
368 views

Amazon EC2 MySQL Failed to Start

I'm having issues starting MySQL after it randomly stopped working a few minutes ago. I'm getting this error while trying to connect: Connect failed: Can't connect to local MySQL server through ...