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

learn more… | top users | synonyms

6
votes
0answers
117 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
10 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
19 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
15 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
17 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
27 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
12 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
53 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
15k 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
26 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
758 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 ...
6
votes
0answers
666 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 ...
2
votes
1answer
4k 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 ...
1
vote
0answers
42 views

MySQL Connection Issue [closed]

When I deploy my war file on EC2 AWS Server, then I get MySQL connection error, such as not open connection and connection timeout. But when I run my application on my system, that is working fine, ...
0
votes
0answers
20 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
21 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
42 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
16 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
70 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 ...
1
vote
0answers
24 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 ...
0
votes
0answers
15 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
3
votes
1answer
29 views

Why don't the EC2 cloud images use the EC2 repository mirrors for the Security repository?

I started up a new server and had it do an apt-get update and noticed that it was taking a very long time. I noticed that sources.list has trusty-security enabled with a URL of security.ubuntu.com. ...
0
votes
0answers
97 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 ...
2
votes
1answer
21 views

Warnings and errors appearing on site after changing ubuntu user permissions Amazon EC2 server

My site is running on a EC2 Amazon server under Ubuntu/Apache2. My site was running fine until I changed the permissions for user 'ubuntu' by doing this command: chown -R ubuntu /var/www/html ...
0
votes
0answers
39 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
3answers
67 views

Is it safe (secure) to change the owner of the html/ folder in Apache?

I know how to use chmod and stuff so that is not the question. I have a little server (Ubuntu LTS ) running with Apache on it with the standard folder in /var/www/html/. By default root is the owner ...
0
votes
1answer
35 views

ECS not an option in AWS CLI?

I'm just getting started with Amazon EC2 Container Service and I'm trying to follow this guide: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_AWSCLI.html I'm on puTTY (ubuntu) and I ...
18
votes
1answer
20k 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
0answers
11 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 ...
0
votes
0answers
54 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 ...
9
votes
3answers
3k views

what can be causing /etc/cron.daily/apt to hang?

Lately I've been getting a mail from the server every day, Subject Cron <root@host> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ) Body ...
1
vote
1answer
77 views

Accidentally run command rm -R in Amazon EC2. Unable to login

I'm using Amazon EC2 for Magento website and WinScp to access SFTP. Sometimes I'm using terminal in WinScp to execute command. Today I need to delete some files so I used rm -R /* and forget to ...
1
vote
1answer
480 views

EC2 instances failing to reach eu-west-1.ec2.archive.ubuntu.com [closed]

I'm trying to setup a few EC2 instances on AWS in the eu-west-1 region with a VM created from Ubuntu 14.04 x64 (ami-b17a12c6) AMI. When I do attempt to update the source list sudo apt-get update ...
0
votes
2answers
824 views

ssh with .pem file to amazon instance Permission denied (publickey)

I am trying to login to instance on amazon using, my ".pem" file has 600 privileges: ssh -v -i FTPServer.pem ec2-user@ec2-xx-xxx-xxx-xxx.compute-1.amazonaws.com i tried all possible users ...
0
votes
0answers
79 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 ...
2
votes
0answers
3k 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 ...
1
vote
1answer
133 views

PHP/Apache runs as which user on Ubuntu Server

I have a PHP script (in /var/www) that is supposed to write down the logs of operation in a file deploy.log (also in /var/www) and perform operations on a file situated in other directories of the ...
1
vote
2answers
346 views

Nginx and pagespeed installation issues in ubuntu

I have put my app (implemented a website with the help of angularjs) on amazon EC2 and have installed nginx and thin on it I am having issues with angularjs with respect to performance. So I decide ...
2
votes
1answer
352 views

Ubuntu EC2 compatible kernels

I am trying to create an Ubuntu 13.10 64 bit AMI with the paravirtual type of virtualization. I have not had problems with the hvm virtualization. I can't figure out what kernel I need to use. For the ...
0
votes
0answers
66 views

Installing Xampp on an amazon Ubuntu Instance: GUI Issue on XFCE4 and Mate Desktop environments

I am using Microsoft Remote Desktop connection to connect to an Ubuntu Instance on Amazon. After downloading the .run file of Xampp and executing it using sudo ./xampp-linux-***-installer.run ...
2
votes
2answers
732 views

LAMP server installation stops at 79% configuring MySQL (EC2 BitNami AMI)

I have created an ubuntu 10.04 cloud server on the Amazon cloud (EC2) I am encountering a stalled LAMP install each time I try it. I've created about 5 fresh instances. Each time The installation ...
0
votes
0answers
90 views

ixgbevf network interface not available during initramfs (ec2)

I'm working on a base AMI for Amazon EC2 that formats any ephemeral disks into a RAID-0 array, and then uses that filesystem for system use (basically a big data partition, and a partition for ...
3
votes
2answers
604 views

How do I configure Mediawiki on EC2 if anonymous browsing is disabled?

So I have new MediaWiki instance install on a brand new Amazon EC2 instances. All is going swimmingly, until I have to log in via the web browser to configure it. Since I'm running on a hosted server, ...
0
votes
0answers
53 views

Sharing a drive on AWS between two ubuntu 14.04 servers running Rails

This is a multi-part question: How do I create a stand-alone drive on Amazon Web Services? How can get two different Ubuntu 14.04 servers to have read/write access to that drive? This is for a ...
1
vote
2answers
34 views

Why do Ubuntu AMIs only have 8gig on root

I've created an EC2 instance from an Ubuntu AMI but the instance storage is split, with 8gig on the root and the rest mounted at /mnt Why is this? How do I get it all mounted on the root?
0
votes
0answers
181 views

Connect with postgresql remotely. Postgresql Installed in Amazon EC2 micro instance

I installed the Amazon EC an instance Ubuntu 14.04 and Postgresql database. Trying to connect remotely to the base and the pgAdmin III program but can not connect. I've tried many of the solutions ...
0
votes
0answers
112 views

Cannot Rsync to ec2 instance

This seems like the problem with the ubuntu user permission on ec2 server , cannot rsync successfully. Steps Taken: Generated public key from origin server (a normal ubuntu droplet with root user ...
1
vote
0answers
50 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 ...
0
votes
1answer
593 views

vsftpd PASV configuration set up, yet still not working

So, I've been researching FTP/FTPS, and have been trying to set up a working FTPS server. To use FTP(S), I've been using the service vsftpd, and the my server is an amazon EC2 instance running Ubuntu ...
0
votes
1answer
148 views

ec2 SSH tunnel not working? [closed]

I'm trying to set up a node following Creating a Personal Privoxy/Tor/Proxy EC2 Instance using Ubuntu 14.04 LTS on Amazon EC2. I've gotten to: $ ssh ubuntu@ec2-blah.amazonaws.com -i ...