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)

2
votes
2answers
6k 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
339 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 https://raw....
1
vote
1answer
486 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
3k 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: http://docs.aws.amazon.com/AWSEC2/...
3
votes
1answer
258 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@_________ ~]$ ...
4
votes
1answer
3k 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 http://itsallabtamil.blogspot.com/2013/02/setting-up-chrome-firefox-ec2-...
1
vote
1answer
371 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 APP_HOME=/...
0
votes
2answers
1k 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 ...
-1
votes
1answer
1k 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 /var/...
0
votes
1answer
233 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 ...
0
votes
1answer
136 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
101 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 ...
1
vote
1answer
3k 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
296 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 /etc/sudoers.d/...
1
vote
1answer
2k 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 my-...
0
votes
1answer
368 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 ...
1
vote
0answers
185 views

ClamAV shows errors found, but 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
71 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 ...
1
vote
1answer
167 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 ...
0
votes
1answer
307 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 ...
0
votes
2answers
64 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.
2
votes
1answer
575 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 ...
0
votes
1answer
666 views

Intalling gdb and pstack on Amazon Linux AMI

I tried installing gdb and pstack on EC2 Instance with Amazon Linux AMI (it was not installed by default), and it's not working. Tried: [ec2-user@ip-172-21-ab-xyz ~]$ sudo yum install gdb Loaded ...
0
votes
1answer
224 views

ssh agent forwarding failing at 6 keys

My client is mac os x 10.9.5. I have a bastion host (linux) that I am ssh'ng into. I have agent forwarding working so I can ssh to the bastion host and then ssh into another machine without having ...
0
votes
1answer
876 views

EC2 instance Linux, MYSQL log error:InnoDB: Unable to lock ./ibdata1, error: 11

I have a working server running Ubuntu 64bit with apache2 on a t2 micro EC2 instance. The problem is that MYSQL (version 5.5.38) has some bug...I tried everything, delete completely and restart ...
1
vote
1answer
221 views

How to establish a VPN connection to an Amazon VPC

I am running an Amazon EC2 instance which I use as a workstation. Right now it's in a public subnet and I connect to it through RDP by using its public IP. However, I'm concerned that this might not ...
1
vote
1answer
64 views

amazon ec2 intance rhel7 ftp not downloading

this is driving me insane. i am trying to download files using FTP. i tried with PHP's FTP, the FTP binary, WGET, none of them work. They all have the same problem. When get command is initiated, the ...
1
vote
0answers
241 views

Amazon EC2 - Windows 2012 R2 - Can't RDP to Instance

I created an EC2 micro instance last week and it was working correctly up until now. I tried to RDP into the machine today and I'm unable to connect. I rebooted the machine and tried again with no ...
1
vote
1answer
740 views

Exporting AWS instance

I am trying to export my Amazon EC2 instance to a my S3 bucket as a VMware image. I have successfully set up Amazon CLI tools, added my credentials and can run commands. I am using http://docs.aws....
0
votes
1answer
507 views

Install tuleap on amazon ec2 linux AMI

I'd like to know if it's possible to install tuleap on amazon ec2 linux ami. I searched the net unsuccessfully and when I try to install tuleap with yum, I get conflict errors (with httpd24, php55-...
1
vote
1answer
617 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 ...
1
vote
1answer
436 views

Amazon EC2 Instance Continually Loses Connectivity

I am currently running wordpress on an Amazon ec2 instance, which runs fine with no problems most of the time, but occasionally outside connection to the instance shuts down. I can't access it over ...
1
vote
1answer
11k views

FileZilla FTP to AWS EC2 Windows Server 2012 Instance: Failed to retrieve directory listing

I am running FileZilla FTP Server on an Amazon Web Services EC2 Windows Server 2012 Instance, and want to FTP in from my home PC using FileZilla Client. I followed these instructions, but using user ...
0
votes
1answer
423 views

Stuck on password even though used --disabled-password option in ubuntu

I created a user in aws ec2 with: ubuntu$ sudo adduser --disabled-password user1 per instructions from: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/managing-users.html After I ssh in as user1 ...
1
vote
1answer
612 views

What is the difference between Public DNS and public IP in AWS ec2?

I found that in ec2 there are two things public DNS and public IP ec2-XX-XXX-190-196.ap-southeast-1.compute.amazonaws.com and xx.255.190.196 Both can access through ssh and ping. So ...
0
votes
1answer
614 views

Different Amazon EC2 instances with same IP

I am looking at building something similar to a CDN and am wondering if it would be possible to do this with EC2 instances, setting their IP address to be the same? I would like to use the Anycast ...
3
votes
1answer
872 views

How to stop jbd2 to release a device

In an AWS EC2 instance, we have multiple EBS volumes. When I try to detach any of them, the umount command works, but the device can't be detached. # grep -c xvdj /proc/mounts 0 However, lsof ...
0
votes
1answer
688 views

I broke SSH by using chmod on an EC2 Instance — How do I correct?

I have been running an Amazon EC2 Instance for a while, and recently accidentally changed permissions/ownership on folders recursively. I can no longer SSH into the instance. I do not recall what the ...
2
votes
1answer
3k views

Amazon EC2 prompt password when sudo

When I log into an ec2 instance via ssh using keypair (logged in as ec2-user user), I am able to execute sudo commands without typing a password. How can I configure ec2 instance to prompt for a ...
3
votes
1answer
2k views

Windows 8.1 — PPTP VPN connection dies after a minute or two

I've set up a PPTP VPN using Amazon EC2. I did that by following this guide. I don't want everything going through the VPN, and instead only want connections to specific IP addresses to go through the ...
2
votes
0answers
497 views

Error message while connecting to EC2 instance via Cygwin

I am trying to connect my EC2 instance using the directions my instructor provided below: "To connect to EC2 via Cygwin on Windows, you need to handle two key idiosyncrasies. First, the Windows ...
-1
votes
2answers
597 views

How to access amazon instance using localhost instead ip address?

I create instance of amazon server. Now i can access it using ip address. But i do not want to access amazon instance using ip address. So, any way to access amazon instance without ip from URL. Like ...
0
votes
1answer
429 views

Ubuntu Cron ec2-create-snapshot

I have a new ec2 Ubuntu instance running. I have properly set up the ec2-api tools. I want to create a daily backup using the ec2-create-snapshot command. Just to test it, I have my script, which is ...
1
vote
1answer
283 views

Why does a double sudo modify permissions?

Context: sshed into an AWS t1.micro instance running Amazon Linux 2013.09, using the default ec2-user. I'm trying to list the contents of the default postgresql directory: What's in there? $ ls /...
0
votes
1answer
141 views

EC2 Windows - Can I use ephemeral storage as root?

Can I use ephemeral storage as the root of my windows instances? I have a auto scaling group with windows instances and I was thinking if I could use the ephemeral storage as root. I'll never turn my ...
3
votes
1answer
809 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 #!/bin/...
0
votes
0answers
48 views

ec2 enable su for user ubuntu

I am trying to enable rstudio-server login with ubuntu on ec2, but it fails. I think it uses the same auth mechanism as su. So I did sudo passwd su someotheruser su ubuntu But even though I know ...
0
votes
1answer
301 views

Acces to AWS EC2 from corporate network

I have a Windows EC2 instance and i would like to connect to it from nthe corporate network. unfortunately, firewalls block RDP. Can you tell me please how to proceed to be able to connect to my ...
0
votes
1answer
147 views

Setup page for phpMyAdmin not appearing but the domain is

Relative newbie here... EC2 instance installed, apache is running and can see the Test Page for the Apache server I am following the instructions found on http://calebogden.com/wordpress-on-linux-...
1
vote
1answer
551 views

Linux port open locally, but not externally

Port is open locally, but not externally Neo4j is a graph database with a browser and REST interface.I need to start a second instance of neo4j server. I would like to run the process a user with ...