Amazon EC2 (Elastic Compute Cloud) is a web service that allows users to rent virtual computing capacity on which they can run their applications.

learn more… | top users | synonyms (1)

-1
votes
0answers
9 views

How to reduce AWS EBS root volume size?

I’d like to reduce an Amazon Web Services (AWS) EC2 instance Elastic Block Store (EBS) root volume size. There are a couples of old high level procedures on the net, but I’m unable to find a detailed ...
1
vote
1answer
2k views

Can phpMyAdmin be used to connect to a remote database?

I recently read this tutorial, which explains how one can easily reconfigure a local installation of phpMyAdmin to connect to a remote database. The functionality seems to be supported, but not ...
0
votes
0answers
17 views

'end_request: I/O error, dev xvda1' after rebooting AWS EC2 instance [migrated]

I rebooted one of our Amazon EC2 instances after having some performance problems and had a look at the Actions > Instance Settings > Get System Log to see this: Amazon Linux AMI release 2014.09 ...
0
votes
2answers
54 views

How to yum update PHP to version 5.4 on Amazon Linux?

I need PHP 5.4 installed in an Amazon Linux instance. Presently we have: root@ip-10-138-1-229 webapps]$ php -version PHP 5.3.29 (cli) (built: Aug 20 2014 16:41:34) Is there a yum package for this? ...
1
vote
1answer
36 views

Why did node version manager install to ~/.nvm instead of just ~/nvm and what is “sourcing” in Linux?

I was wondering about a simple event that occurred while I was installing node version manager on my 64bit Amazon Linux 2014.09 Web Server. When I executed this install script curl ...
0
votes
1answer
32 views

command executed in nohup is killed as soon as the putty terminal is closed

I have an Amazon ubuntu ec2 instance I'm using PuTTY to access the same. Here, I have a large database in mysql. I'm executing the following command to take the backup of my database. nohup ...
0
votes
2answers
76 views

Using PuTTY private key for new user on AWS EC2 Server

I started an AWS EC2 instance. I can connect to my instance with the user ec2-user using the SSH private key generated by Amazon. I followed the directions at: ...
1
vote
1answer
153 views

AWS EC2 Linux headless Firefox issue: Xvfb: undefined symbol: pixman_glyph_cache_create

I have been using AWS EC2 Linux for a while for a headless Firefox/Selenium task. I built it using the instructions from ...
2
votes
1answer
96 views

How can I make presto (or anything) an executable file on a Linux Server?

I tried CHMOD along with the file directory but it just can't seem to find it for some reason. I've tried the following: -bash: homeec2-user: command not found [ec2-user@_________ ~]$ ...
19
votes
7answers
59k views

How to install PHPMyAdmin on Linux EC2 instance?

I just finished setting up a default Linux EC2 instance and would like to install PHPMyAdmin. I already have Apache and MySQL installed but cannot seem to install PHPMyAdmin. I tried using sudo ...
0
votes
1answer
735 views

How to recompile the PHP with --with-pgsql

I have installed the postgresql, php and apache to Amazon Linux AMI. Now I want to use the phpPgAdmin, it prompts "Your PHP installation does not support PostgreSQL. You need to recompile PHP using ...
0
votes
0answers
642 views

How can I configure FTP on an Amazon EC2 instance for use with Dreamweaver?

I'm setting up a web server on EC2 running Debian GNU/Linux 6.0. For simplicity's sake I'd like to use FTP. I realize this is insecure but I'm using Dreamweaver which doesn't support SFTP (see this ...
1
vote
1answer
801 views

How to correct sudo permission?

I'm running AWS EC2 Micro instance and had issues getting permission to the root access with EC2-user. Followed a tutorial online and ran the following commands: sudo chgrp ec2-user /etc sudo chmod ...
2
votes
1answer
1k views

Amazon Opsworks RDS, EC2, Rails 3, Phusion - Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (Mysql2::Error)

I'm really close to having a simple Rails app deployed on Amazon Opsworks - using an EC2 instance running Phusion Passenger, and an RDS instance for the database server (it runs mySQL). The app code ...
2
votes
2answers
987 views

What actually is Amazon EC2's 'pay per hour' for on demand instances? [closed]

I'm thinking to host my ROR website on Amazon EC2. I wont be needing a S3 as of now. But when I check the their pricing it's like Micro - $0.020 per Hour I don't get this per hour billing.My ...
2
votes
2answers
126 views

puzzling DNS behaviour (ubuntu)

(All IPs and names have been censored, hopefully) This morning we had some connectivity problems in one of our servers. It turns out that changing our connection configuration to be IP-based (not ...
1
vote
1answer
50 views

Unix/Java process stops running when moved to background

We have a Java process that was created using Appassembler. It runs fine as long as it is started and run in the foreground: [ec2-user@ip-xxx ourapp-0.0.1-SNAPSHOT]$ bin/ourapp Starting in ...
0
votes
0answers
20 views

Unable to login to a AWS EC2 ubuntu server - ssh connection OK but unable to get an interactive shell

It is what I see after a sucessfull ssh connection: Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-36-generic x86_64) * Documentation: https://help.ubuntu.com/ System information as of Sat Jan ...
0
votes
0answers
66 views

“Guest-specific operations were attempted on a machine that is not ready for guest communication.” exception when provisioning an AWS EC2 machine

I have used vagrant up to create a AWS EC2 instance. After I have stopped and restarted this instance, I want to rerun vagrant provision with updated provision clauses in the Vagrantfile. It failed ...
2
votes
1answer
293 views

Connect to Amazon EC2 with NFS

I'm trying to connect to my Amazon EC2 from my laptop using NFS. I've installed nfs-utils rpcbind and have the following in /etc/exports /mnt/data/myuser *(rw,async) Then load the changes exportfs ...
0
votes
2answers
194 views

Set Volume to NOT delete on termination on AWS EC2 Management Console

I want to make my one of my instance's hard drive (root) persistent so I can use it if I want to recreate it in the future, but I can' find the option anywhere. Also, would it be possible to launch ...
0
votes
1answer
42 views

Revoke access with specific private key to an EC2 server

I have converted my PEM file to a PPK file and I can successfully connect to the EC2 through Putty or FileZilla using the private key. Lets say we have a scenario: I request a new PEM and give the ...
0
votes
0answers
17 views

How to launch a Windows snapshot as an EC2 instance?

I am pretty rusty with AWS and EC2 (played around with it a couple years ago but it seems like some has changed!). Last night I was using an EC2 Windows instance. Before terminating the instance, I ...
-1
votes
1answer
69 views

How do you view the database in phpmyadmin while using Amazon AWS EC2 via SSH?

I am in the process of setting up a new website via Amazon AWS EC2. I typically use SSH in order to connect to the instance and then occasionally I use FileZilla in order to move files into the ...
0
votes
1answer
34 views

If I copy a pem file between multiple computers will I still be able to ssh to amazon e2 instance?

While you creating an instances of Amazon EC2. A step is to generate a pem file. This file allows the sshing into the remote EC2 instance from local. **Question:**If I copy that pem file to ...
3
votes
1answer
239 views

How to register shutdown script on Amazon Linux in AWS EC2

I am using Amazon Linux (RH-based distro) in AWS EC2. I followed the structure of /usr/share/doc/initscripts-*/sysvinitfiles to create an init script in /etc/init.d. /etc/init.d/do_something ...
0
votes
1answer
43 views

Will AWS cut off my free service if I go over a limit?

Ok I've never used AWS but I wanna dive in to dev opts and I thought I'd start with AWS. My big tasks are learning to deploy a website to an EC2 and learn Route 58 for URLs. Next I want to try to ...
0
votes
1answer
214 views

The remote desktop screen is always a grey background

I used the methods described in this page and this one to connect to the Amazon EC2 ubuntu instance using remote desktop. But I always got a grey background shown in this image: The log file in ...
0
votes
1answer
68 views

amazon linux yum update changed sudo root permissions

I ssh'ed into my server, ran sudo yum update, and now I'm asked for a password to sudo anything. Looking back through update logs, I noticed this: /etc/sudoers.d/cloud-init saved as ...
0
votes
0answers
109 views

Installing Qt on an AWS instance

I would like to install the Qt development library on an AWS instance. Running > yum search qt | grep devel on an AWS t2.micro instance produces no matches. Does one have to install Qt from ...
0
votes
1answer
2k views

“No X11 DISPLAY variable was set” error - Amazon EC2 / SSH

I'm trying to install APT on an Amazon EC2 through PuTTY. I've uploaded APT, found here, and followed these instructions to install. However, when I run sh install-linux64-apt.sh in the proper ...
0
votes
1answer
327 views

How can I import a VMDK disk image to an AWS EC2 t2.micro instance on us-east-1e region using an S3 bucket on us-east-1?

I've recently purchased a reserved EC2 micro instance on region eu-east-1e. I am having trouble importing a virtual machine using ec2-api-tools: ec2iin -t t2.micro "CentOS 7 x86_64-disk1.vmdk" -g ...
3
votes
2answers
10k views

getting my domain name to point to my amazon ec2 instance

I'm trying to get my godaddy.com domain name pointed to my Amazon EC2 instance and am having some difficulty. I created a hosted zone for my domain name on route 54 and set the namesevers up as the ...
0
votes
1answer
63 views

Unable to establish RDP connection to my Amazon instance (windows server) after changing primary DNS setting

I created a Windows Instance (with private IP) and added to my existing VPC. Everything went fine. I was trying to join the new instance to my existing Active Directory. While doing that I had amended ...
0
votes
0answers
10 views

How can I access a Windows 7 Interface with Amazon EC2 and can I install any software from it?

How could I get access to a windows 7 interface when using Amazon EC2 and can I install software from it? Do I need to use Amazon Workspaces http://aws.amazon.com/workspaces/? The performance of the ...
1
vote
0answers
54 views

ClamAV shows errors found, how to find out what they are?

Amazon includes clamav-0.98.4 in its AMI version 2014.09.1 so I installed it and gave it a try on one of my EC2 instances. After updating the definitions with freshclam, I've performed a scan with ...
1
vote
1answer
263 views

Unable to connect to thin server on ubuntu

I'm unable to connect to my webserver over the web. I've got an ec2 instance running with ubuntu 11.10 on it. It's running a thin server on port 9292. I can ssh into the ec2 box, and do curl ...
0
votes
1answer
186 views

SFTP on Amazon EC2 instance with Debian adding limited access users

I have a amazon EC2 instance with debian 6.0 installed. I am using SFTP via SSH to transfer fileles to my sever. But With root key all the folders from server are exposed. How can I generate different ...
1
vote
1answer
40 views

SSH connection for different user names in Amazon EC2

I am trying to connect two EC2 instances using SSH. SSH connection for the same user name on the two instances gets connected without any issue. While trying to connect with differentuser name I get ...
1
vote
1answer
33 views

ping timing out from remote server to home box

I'm trying to connect from a remote ec2 instance to my home box over ssh and it's hanging (no error, just hanging), and I'm not sure why. I am successfully connecting over ssh from my home box to the ...
0
votes
1answer
82 views

Trying to migrate a mysql server to AWS

Please advise on how to migrate my local mysql server to the cloud. Currently I have a Fedora linux box and a NAS attached to it via ethernet. I believe the best way to go about it is : Take a ...
2
votes
0answers
301 views

Centos/Redhat XSP4 daemon

How can I install xsp to run as a daemon.I run my /etc/init.d/xsp script(see below) it stops with status message : Listening on address: 0.0.0.0 Root directory: /var/www/asptest Listening on port: ...
0
votes
1answer
147 views

Permission denied (publickey) error when using scp

I had created 3 linux instances on the Amazon EC2 cloud without a passphrase for the private key. I had stored the private key in a file id_rsa in one of my instances(the master) to allow it to ssh ...
4
votes
4answers
17k views

How do I copy files into `/var/www` with WinSCP?

When I try to place my web files into /var/www in apache on my ec2 Ubuntu instance it is giving me an error stating that I don't have permission. Permission denied. Error code: 3 Error message from ...
0
votes
2answers
24 views

EC2 - Get a list of all instances started and stopped in last week

Is there a way to get a report of all the instances I've started and stopped in the past week? I'm more interested in seeing the individual running time of each.
1
vote
1answer
73 views

Make hidden folders invisible sftp

My client needed sftp server for sharing files, so I created sftp server on a amazon ec2 ubuntu machine and added different users. Now their need is when user login to sftp server either via winscp ...
2
votes
2answers
6k views

No module named yum after “yum update”

Amazon EC2 Linux AMI Python 2.7.5 yum 3.4.3 I recently did a "yum update" and I'm guessing this lead to my issues. Yum now does this: # yum There was a problem importing one of the Python modules ...
0
votes
0answers
14 views

Making a server “read only” except for me (what the inbound/outbound rules mean)

I have an ec2 instance. It will start a webserver, and my public ip is myip. I ssh into my machine. What should incoming and outgoing rules? Why? I want only my ip to be able to change things on the ...
0
votes
1answer
78 views

Is there any way in AWS to tun off instance if bill increases certain amount

I know there is a option if CPU increases certain load then Ec2 instance can be terminated. But i want to free my mind that if due to any reason my bill increases some amount say 100$ then my Ec2 ...
0
votes
2answers
82 views

How do I partition new disk space after upgrading EC2 instance type?

I had created a t1.micro instance with an EBS volume attached to it. The volume was 8 GB. I stopped the instance and changed instance type to m1.medium which should have 410 GB of instance storage. ...