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

learn more… | top users | synonyms

7
votes
1answer
635 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: ...
4
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 ...
3
votes
1answer
5k 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 ...
2
votes
1answer
247 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... ...
2
votes
1answer
576 views

post-receive: No such file or directory

I'm getting an error when trying to push to a remote Amazon EC2 (Ubuntu Linux) instance. I've given all related directories and files full permissions. I'm trying to use a post-receive hook to move ...
3
votes
0answers
564 views

How can I monitor cloud-init for errors, and trigger a script when it fails?

I'm using cloud-init to provision servers in AWS, and would like my servers to send an email when they're done (whether they fail or succeed). For successful cloud-init runs, the solution is trivial. ...
2
votes
0answers
161 views

Does anyone know when Canonical will release 16.04 AMIs for Amazon EC2?

I'm searching here and I don't see it. And I can't find any roadmap for when it might be released. Is there usually a lag between release day and appearance of AMIs?
2
votes
0answers
249 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 ...
2
votes
0answers
147 views

How to access Amazon EC2 instance from Ubuntu 13.10?

I have an Amazon EC2 (Windows) instance which has been created for me and I have public DNS, public IP and the public key. I would like to RDP to this instance from Ubuntu 13.10. I have recently ...
2
votes
0answers
367 views

Install java on a wine in a linux terminal server

I have a Windows terminal process (which requires Java). I need to run this in a Linux terminal server (it's an Amazon EC2 instance). I installed Wine, but now I need to install Java. When I try to ...
2
votes
0answers
681 views

Unable to connect FileZilla to ubuntu ec2

I have a micro ubuntu instance on ec2. I have done a passwd to set it to simple password. I have installed vsftpd on the ec2 instance. And imported the ec2 pem file via FileZilla-Settings-SFTP, and ...
1
vote
0answers
33 views

apt-get reports “no installation candidate” randomly for no good reason

When I provision Ubuntu 14.04 boxes in Amazon AWS, I begin with an official Canonical AMI (specifically ami-f0c52390), boot the instance, and run a provisioning script. One of the first things the ...
1
vote
0answers
75 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
129 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 ...
1
vote
0answers
144 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 ...
1
vote
0answers
134 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 ...
1
vote
0answers
37 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
347 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 ...
1
vote
0answers
36 views

Both upload/download from my server stopped

My EC2 instance suddenly stopped to respond the upload and download requests (this instance was working without any problems almost a year), I couldn't find why this's happening. Webserver ...
1
vote
0answers
16 views

Latest cloud images does not seem to be available on AWS

The latest Trusty cloud images published at https://cloud-images.ubuntu.com/trusty/current/ do not appear to be available on AWS. We normally use this link to locate the latest successful nighly ...
1
vote
0answers
100 views

Allowing Ubuntu user on ec2 to upload and manage files in public web folder

Just created a new ec2 ubuntu instance, and i'm forced to login as ubuntu rather root. While Its ok as of standard security practice but it creates additional problems that ubuntu user cannot upload ...
1
vote
0answers
138 views

HTTPS on Ubuntu instance Amazon EC2

I have a question which I hope somebody can answer for me. My situation: I have an Ubuntu Server running Apache2 on a EC2 Amazon instance, which is serving an OwnCloud instance. My goal: I want to ...
1
vote
0answers
277 views

Erlang disappeared from /usr/bin/erl

The setting I have downloaded rabbitMQ and used it on an EC2 14.04 machine for a few days. The setting was simple - I downloaded the Binary .tar.gz, opened it, and typed: sbin/rabbitmq-server ...
1
vote
0answers
181 views

installing vmware ova on amazon aws

I am trying to import a vmware ova on amazon aws but experiencing issues. After importing (or my attempt to import), I can no longer access the server via SSH even though the amazon AWS console shows ...
1
vote
0answers
263 views

How to ssh tunnel to ec2 for running a local python script

I can create a tunnel for FF using the below on Ubuntu. Machine is 12.04 in a VBox on a mac host. -i ~/.ec2/aws_development_oregon.pem -C2qTnN -D 8080 ubuntu@test.com But..what I need is for my ...
1
vote
0answers
1k views

How to reinstall mysql without damaging data?

http://stuffthatspins.com/2011/01/08/ubuntu-10-x-completely-remove-and-clean-mysql-installation/ shows how to reinstall everything. I want to do something like this without reinstalling data. ...
0
votes
0answers
19 views
+50

apache2 gzip not working?

I've done almost everything on the internet to gzip my content. It does not seem to work. I've done so much that I can't possibly put everything I've tried here, so here's some of the things I've ...
0
votes
0answers
28 views

nvidia-smi hangs. cannot be killed even by SIGKILL

I just finished carefully installing the latest nvidia drive to an new amazon g2.2xlarge ec2 instance which I would like to use to do some machine learning. Before install cuda and other packages, I ...
0
votes
0answers
21 views

get an image from windows 7 with docker and transfer it to AWS EC2

The development team has installed its new development in a windows 7 64-bit machine. They asked me to get an image from the current running windows machine and transfer it to the AWS EC2 docker ...
0
votes
0answers
27 views

Download my videos from my server?

right now I have a Ubuntu server with Amazon Web Services and I can upload mp4s, jpegs, and pdfs to it from my Android device. I save them into folders and update their location onto my database. Now ...
0
votes
0answers
28 views

IPSec VPN connectivity from Ubuntu to AWS

I have configured the VPN gateway and related settings at AWS side. Now I have to connect to the vpn from my Ubuntu machine. I am using my android mobile phone to access internet into my laptop via ...
0
votes
0answers
85 views

What are there so many Ubuntu 14.04 LTS AWS AMIs for the same release?

A bit of background. I want to set up a 64-bit AWS EC2 instance running Ubuntu 14.04 LTS (HVM) on a solid-state disk with EBS in the eu-west-1 region. At time of writing, within the AWS control ...
0
votes
0answers
27 views

Bootstrapping Juju Environment with AWS IAM Roles?

I am trying to bootstrap my Juju Charms environment with AWS, however, it fails to authenticate with my current access key and secret key. Has anyone been able to successfully bootstrap using IAM EC2 ...
0
votes
0answers
33 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 ...
0
votes
0answers
40 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 ...
0
votes
0answers
53 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
0answers
75 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 ...
0
votes
0answers
91 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 ...
0
votes
0answers
36 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 ...
0
votes
0answers
216 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
0answers
55 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?
0
votes
0answers
73 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
0answers
33 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
204 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 ...
0
votes
0answers
35 views

Ubuntu server on Amazon-aws - no swedish characters?

Connecting via ssh to ec2, ubuntu server on amazon, but cant for the life of me figure out how to write the swedish charactes åäö? Thanks
0
votes
0answers
523 views

Ubuntu, SSH: handshake failed

so i'm currently using packer to build an ubuntu ami through AWS. After which i'm using terraform to launch and provision the instance. I'm running in to problems when I try provisioning within ...
0
votes
0answers
153 views

Give ubuntu user on EC2 instance access to public_html folder

I have an EC2 Ubuntu instance running apache with a couple of websites. Say one website is called widgets, then /home/widgets/ has user widgets and group widgets I have a git repository in ...
0
votes
0answers
201 views

Permissions issue when running Ghost blog using forever

I am trying to run a Ghost blog on an Amazon AWS Ubuntu server using forever so that I can close the terminal window & leave the blog running. I think it is not running due to a permissions issue ...
0
votes
0answers
157 views

Amazon EC2 Ubuntu Server 14.04 apt doesn't work can't install

I have an Amazon instance set up running Ubuntu Server 14.04. Was working perfect. But recently I logged on and anytime I try to do any apt command I get the error E: Sub-process /usr/bin/dpkg ...
-1
votes
0answers
23 views

showing different php versions on same EC2 instance

I am using Amazon EC2 to install PHP7. For that I am following this steps: Install-PHP7 When I try to know version of PHP installed using this: <?php phpinfo(); ?> That time it shows me PHP ...