Amazon Elastic Compute Cloud (EC2) is a cloud-based computing platform.

learn more… | top users | synonyms

0
votes
1answer
8 views

How to use amazon instances' public IPs in hadoop configuration?

I was trying to configure Hadoop by using the public IPs of amazon instances instead of their intra-network IPs as my aim is to create a hybrid cluster i.e. Cloud + Local machine cluster. Although all ...
3
votes
1answer
4k views

VSFTPD not working

I followed instructions and other instructions too but because it is not user-friendly, the ftp server is not working. # This option specifies the location of the RSA key to use for SSL # encrypted ...
0
votes
0answers
16 views

Setup of Godaddy domain in Ubuntu EC2 instance

I bought a domain from GoDaddy and I want to use it with my EC2 instance. I already created my instance (ubuntu 14) I created my elastic IP in Route 53, which I associated with my instance. I ...
1
vote
1answer
124 views

Can't login to Spark Cluster on EC2 after the nodes started

I'm trying to create a cluster of Spark machines. I follow the instruction here. However, after the machines have started I got this error Setting up security groups... Searching for existing cluster ...
8
votes
2answers
123 views

ImageMagick convert and low RAM

Please consider the following command for the imagemagick package: sudo convert -resize 460x200 /path/to/test1.jpg /path/to/test2.jpg Now test1.jpg is a fairly large image (12.5MB), but not unheard ...
3
votes
1answer
5k views

Need help with getting NoMachine working on Ubuntu 14.04

I’m trying to get NoMachine working on a AWS EC2 instance with 14.04 Trusty Tahr. I’ve used the instructions from: https://help.ubuntu.com/community/NomachineNX ...
0
votes
0answers
16 views

Memory and swap full from Rails App on EC2 Ubuntu Apache Passenger

I am not familiar with htop or ubuntu processes but my app's memory is full almost immediately after rebooting. Each of the rails processes seem to be taking up 25% of my memory. I recently upgraded ...
-1
votes
0answers
11 views

Amazon Web Service can't access instance

When i login through ubuntu then I show this type of name. I have no name!@ip-172-22-22-123 and when I apply sudo command then it show bellow error messages. sudo: unable to stat /etc/subdoers: ...
0
votes
0answers
50 views

Configurations needed for unattended-upgrades to run indefinitely?

What disk space and other configurations are needed so that you can trust unattended-upgrades to run unattended more or less indefinitely? I'm asking this to try to understand what went wrong with a ...
1
vote
0answers
74 views

After Upgrading to 15.10 from 15.04, EC2 Webservers Have Become Very Unstable

I have a variety of Ubuntu machines running in production, with about 30 that were upgraded from 15.04 to 15.10. With most of the machines, the upgrade has been a breeze and everything has functioned ...
0
votes
0answers
26 views

Disable Website Access by IP Address

I'm on a Amazon EC2 Ubuntu instance and have multiple websites with their own static IP's hosted. One of the websites all of them are setup similar. Let's say have the static IP of 45.46.47.48 and a ...
0
votes
1answer
43 views

Cannot get kdump to dump a vmcore using crashkernel

I'm trying to get kernel crashdump to work properly in Ubuntu 15.10 with the stock 4.2.0-22-generic kernel. I have followed the methods described here and here precisely. But, when I manually trigger ...
0
votes
1answer
865 views

curl: (60) SSL certificate problem: unable to get local issuer certificate

Edit: I had updated my root CA certificates from curl.haxx.se . When I try curl -Iv https://yahoo.com I get an error as unable to get local issuer certificate in the result. However if I try curl ...
0
votes
2answers
68 views

How to install Cisco VPN client on an Amazon EC2 server running 14.04

I'm currently using an Amazon EC2 server - the basic, free version - running Ubuntu 14.04 for my work. Most of the time I use it for automated web scraping tasks and this works pretty great at the ...
2
votes
1answer
248 views

Why `apt-get dist-upgrade` in EC2 image does not update the kernel?

I've built a system running Ubuntu 14.04 on EC2, using the AMI from Ubuntu's cloud-images repository. The AMI includes kernel 3.13.0-37, but 3.13.0-39 is available as an update. After running ...
16
votes
4answers
23k views

Why did installation of MySQL 5.6 on Ubuntu 14.04 fail?

I wanted to get a look at MySQL 5.6 on Ubuntu 14.04 just out of curiosity. And based on this article it certainly looked like installation should be simple and straightforward. So I fired up an AWS ...
17
votes
1answer
7k views

Should I upgrade kernel packages on EC2 instances?

On my EC2 server, when I do sudo apt-get update && sudo apt-get upgrade, I see: The following packages have been kept back: linux-ec2 linux-image-ec2 linux-image-virtual linux-virtual ...
3
votes
1answer
342 views

Permission denied while doplying Tomcat 8 webapp on Amaon EC2

I can't find how I can get write and read permission into the tomcat folder. I followed DigitalOcean's tutorial on setting up Tomcat. The only thing I did different is that I used Java 8 instead of ...
20
votes
2answers
24k views

Not enough disk space '/' in AWS instance

i am running Ubuntu 11.04 instance for my Web Server on AWS cloud, now i am getting there is no disk space in / partition of my server. df -ah say this Filesystem Size Used Avail Use% ...
0
votes
1answer
90 views

xvfb-run hangs on trap/wait in Elastic Bamboo's Ubuntu 15.04 AMI on AWS

I'm trying to run some headless robot/Selenium tests via Elastic Bamboo using Xvfb, on Ubuntu 15.04 in AWS EC2. It works if I run Xvfb manually and then run the test... export display=:99 Xvfb :99 ...
0
votes
1answer
52 views

Putty not letting me to login to ubuntu remote server?

I am using amazon ec2 instance for one of my products and i am stuck with a very big problem. I am new to server and was just looking to configure UFW for only my ipaddress and i updated a rule for it ...
8
votes
1answer
961 views

Getting WebGL to run on an Amazon EC2 server

I'm trying to get WebGL to work on my Amazon EC2 server (migrating from an office-bound Mac Mini, that has a lot of hiccups). Worked some days to get this running, but I'll try to start from where i ...
1
vote
1answer
164 views

Exec format error of gcc-compiled Hello World c++

I know there are many similar questions with this error message here. But I cannot find any solution yet. On AWS ubuntu server, I wrote c++ Hello, World program #include <iostream> using ...
0
votes
0answers
97 views

Can't SSH to EC2 instance after Ubuntu upgrade

Summary: I have Ubuntu 12.04.3 LTS server running as an AWS EC2 instance. Using do-release-upgrade, 14.04.3 is installed without any problems. But after that I can't SSH into my instance. Both my ...
36
votes
2answers
16k views

How do I apt-get -y dist-upgrade without a grub config prompt?

Per Make apt-get (or aptitude) run with -y but not prompt for replacement of configuration files? I did the following: ec2run ami-3c994355 --region us-east-1 -n 1 -t m1.large -z us-east-1d On the ...
0
votes
0answers
62 views

installed font not working in ec2 in rails app

I have downloaded font by running wget http://www.fontsquirrel.com/fonts/download/amatic inside my ec2 instance. Then I created a .fonts director and unzipped those files inside it. Then I ls ...
3
votes
1answer
782 views

Mail Server: system requirements

I want to create a mail server for personal use. It will be used mainly by me and possibly some family members. The system load will be in the order of 5-10 IMAP mailboxes, all for "human" use: no ...
68
votes
6answers
295k views

Adding SSH Keys to authorized_keys

I have an Ubuntu server on Amazon EC2, that I use for development, and today I stupidly cleared everything out of my ~/.ssh/authorized_keys file. Luckily I have an SSH open, so I am still connected, ...
2
votes
1answer
221 views

initramfs-tools irqbalance apt-get upgrade error

I am getting an error when I do sudo apt-get upgrade. I did a do-release-upgrade and went into a lot of issues. Finally the problem has been reduced to: sudo apt-get upgrade Reading package lists... ...
-1
votes
1answer
304 views

not able to restart apache server AWS EC2 Ubuntu machine

I am working on AWS EC2 Ubuntu machine. I am not able to restart my apache server. following is the error is showing when i use Listen 80 in ports.conf Listen 80 <IfModule ssl_module> ...
0
votes
0answers
53 views

How to free space on AWS Ubuntu 12.04.5 Instance

Firstly, while similar I do not believe my question is not a duplicate of other questions on this topic because all the suggestions in those questions have not resolved my problem. I have a instance ...
2
votes
0answers
184 views

Disable ec2 metadata service from cloud-init

I have an AWS EC2 image that I converted to VirtualBox and running locally. It works great, except I cannot figure out how to disable to calls out to the AWS metadata services on boot: 2015-09-25 ...
0
votes
0answers
26 views

scp from local environment to ec2 running ubuntu

I am new to Ubuntu and EC2. I am trying to scp a java war file from my mac to my EC2 instance. I'm using the command: scp -i ~/Downloads/rocket-key-pair.pem ~/Desktop/DevEnvironments.war ...
25
votes
2answers
19k views

Ubuntu 12.04 on Amazon EC2: /dev/xvda1 will be checked for errors at next reboot?

I'm running the lastest Ubuntu 12.04 AMI (ami-a29943cb) from Canonical on Amazon EC2 and quite often when I log in I get the message: *** /dev/xvda1 will be checked for errors at next reboot *** I ...
7
votes
1answer
462 views

Slow ubuntu mirrors in AWS

We are currently having some very serious issues with VM's started in eu-west-1 region in AWS. The machines are started from cannonical AMI (ami-77057e00). The repositories configured are: ...
0
votes
0answers
100 views

setup gui for amazon ec2 ubuntu

I know this question has been answered, but I haven't got a concrete solution yet. I wish to follow through links here for the setup. Link1 I tried this link and had setup according to all the steps. ...
0
votes
1answer
68 views

AWS/EC2 ubuntu and ssh for users other than ubuntu

Ubuntu on EC2 creates a user ubuntu by default. I can set up SSH keys with PuTTY and login in just fine. I've created two more logins but cannot use same PuTTY configuration to get in. I've dug around ...
0
votes
0answers
23 views

Moving an existing 14.04.2 LTS Ubuntu VM to Amazon EC2

I have an Ubuntu 14.04.2 LTS based server installation that runs a ruby on rails application accessible over the local network. Currently it runs in either VM Player / VM Server / vSphere. What do I ...
1
vote
0answers
101 views

Nginx restarts when told to stop

I'm using AWS and have a setup script that runs after EC2 instance creation. It installs a bunch of packages, writes some config files, etc. It's been working well for a while. Now, nginx fails to ...
0
votes
1answer
174 views

Intermittent apt-get install issues when creating an AMI using Packer

I am trying to create an AMI based on ami-3b054701 in the ap-southeast-2 region. The Packer config has one simple provisioner: #!/bin/bash -e info() { echo -e "[INFO] $1\n" } exec_cmd() { ...
1
vote
0answers
32 views

Which base Ubuntu 14.04 AMI to choose for creating a custom Ubuntu AMI?

There are a bunch of new AMIs created frequently and made available in EC2 by Canonical: Is it encouraged to use these AMIs for creating custom Ubuntu AMIs, or is it recommended to use the official ...
1
vote
0answers
296 views

why can't I ssh into my aws ec2 instance? Permission denied (publickey)

I created two ec2 instances, and was able to ssh into the first two fine. After creating the third, I get this error upon trying to ssh into any of them. This is what I'm running: ssh -v -i ...
5
votes
5answers
18k views

vsftpd installation not working on virtual server as of 14.04

The process I have used for installing vsftpd since 12.04 no longer works. I get the error stop: Unknown instance when restarting the service. I believe this means the configuration is wrong, but I ...
0
votes
0answers
43 views

Got 403 error with regional aws S3 apt mirror

My instances are in us-east-1 and suddenly accessing us-east-1.ec2.archive.ubuntu.com.s3.amazonaws.com started got 403 error from 2 days ago. Anyone had the same issue?
5
votes
1answer
812 views

How to specify ec2 instance types for different services?

After I have specified a default EC2 instance type for my Juju charm, how do I override that for one of the services? For instance, the Juju tutorial deploys wordpress and mysql, and I can set the ...
0
votes
0answers
56 views

Recovery from AWS EBS volume *important

Hi All I am a naive user of AWS Ec2 and EBS stuff. I had a completely healthy EC2 Ubuntu Instance running, Ubuntu suggested some updates, thus updated the system and from there all the chaos started. ...
0
votes
1answer
121 views

juju environment not found, can't bootstrap

I installed juju onto Ubuntu 15.04 and have been using it for a few days. I managed to get it up and running with Amazon EC2 instances, which was fun. I was trying again to start up a few instances on ...
0
votes
2answers
137 views

using su for a user which does not have a password

I am creating a user using useradd command in Ubuntu which does not require that I set a password for the user. how ever when I try to use su command to login as that user, su requires me to enter a ...
0
votes
0answers
28 views

Why use Amazon's AWS RDS instance for mysql instead of just manually creating mysql?

I was playing around with Amazon AWS and at this point just not sure what are the benefits of creating an RDS instance for lets say mysql database instead of simply login in into the server and ...
0
votes
0answers
175 views

EC2 - chmod: cannot access ‘mypemfile.pem’: No such file or directory

I download pem file while launching t2.small instance. When I try to connect it via ssh it say no such a file in directory. But am sure that pem file is in directory. $ ls mypemfile.pem ...