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

learn more… | top users | synonyms

0
votes
0answers
15 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 ...
8
votes
2answers
122 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 ...
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
10 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
44 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 ...
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
40 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
2answers
66 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 ...
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 ...
3
votes
1answer
315 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 ...
0
votes
1answer
824 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
1answer
89 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
50 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 ...
1
vote
1answer
159 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
95 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 ...
0
votes
0answers
61 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 ...
-1
votes
1answer
297 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
51 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
181 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
25 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 ...
1
vote
1answer
122 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 ...
0
votes
0answers
99 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
66 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
22 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
99 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
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 ...
0
votes
1answer
171 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() { ...
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?
1
vote
0answers
293 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 ...
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
117 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
130 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
174 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
28 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
1
vote
0answers
29 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 ...
3
votes
1answer
55 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. ...
7
votes
1answer
455 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
400 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
34 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
117 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
1answer
268 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 ...
0
votes
3answers
381 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
0answers
13 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
159 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 ...
1
vote
1answer
149 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 ...
0
votes
2answers
3k 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
134 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
vote
1answer
512 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 ...
0
votes
0answers
105 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 ...