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
vote
1answer
344 views

Amazon EC2 Security Group inbound rule with a dynamic IP

I'm just getting started with Amazon AWS and EC2 in particular and I was wondering if someone could clarify what I see as a potential problem with EC2 Security Groups. Right now, I'm in the process of ...
1
vote
1answer
553 views

AWS Security Group Rules Limit

Is there any ways to trigger an alert when an AWS security group reach the maximum limit of 50 rules per group and when a maximum of 5 security group per Instance is created?
0
votes
0answers
148 views

Can't connect to Amazon AWS EC2 Instance (SFTP or SSH) on a new network

On most networks I can connect fine. However on this new wifi network I can't connect. FileZilla just says that the connection timed out.
0
votes
2answers
1k views

Installing pdftk on Amazon EC2 Linux Instance

I am having trouble installing pdftk on an amzn-ami-2011.09.2.x86_64-ebs (ami-953b06e1) instance. Since pdftk is not in the list of available packages I have tried to build it from source but failed ...
2
votes
1answer
321 views

Redmine install on Apache2/Ubuntu 12.04 EC2 instance

Can someone point me to a guide or guides that explain how to get Redmine running on Ubuntu 12.04? From installing Ruby to setting up Passenger? I've tried a handful of times and have never been ...
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 ~/....
2
votes
2answers
6k views

Cannot RDP, Ping, etc to Amazon EC2 Instance

I've been trying to ping an Amazon EC2 Server on the Free Tier. I created a: Windows-2008-SP2-i386-Base-2012.01.12 (ami-fed396ac) Description: Microsoft Windows 2008 Datacenter 32-bit AMI ...
0
votes
1answer
396 views

Logging into an AWS instance with a non-root user

It seems from the EC2 documentation that one must logon with the specific userid associated with the AMI: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstancesLinux.html Use the ...
0
votes
0answers
568 views

Password less ssh between two Amazon ec2 instances

I have to install an 12.2 instance for that we need a password less SSH connection between 2 applications nodes. I created the instance using a private key called EC2_linux. I am able ssh to another ...
1
vote
1answer
231 views

EC2 instance with two internal IPs - using ifconfig

I am trying to allocate another internal IP to an EC2 (classic - not VPC) instance with the following command. sudo ifconfig eth0:0 inet 10.80.7.40 netmask 255.255.255.0 Here, 10.80.7.40 is just a ...
0
votes
1answer
522 views

Cannot access AWS webserver using public IP

I have a free AWS account and have set up a EC2 Virtual machine on Windows Server 2008 R2. I use RDP to access the VM. I have set up XAMPP and deployed my PHP application in it. I can access it ...
1
vote
1answer
29 views

What happened to my disk volumes

I am new to amazon ec2. I created virtual machines using centos AMI. I also created disk volumes of 50GB for each VM as you can see below But if I go inside any of my VMs, and do df -h it says [...
1
vote
0answers
249 views

Nginx + Passenger not working — client requests hang until timeout

I'm running on an EC2 instance with Amazon Linux installed and Nginx was installed via passenger-install-nginx-module. The full install process followed was similar to this. The primary difference was ...
4
votes
4answers
2k views

Lost sudo/su on Amazon EC2 instance

I have an Amazon EC2 instance. I can login just fine, but neither "su" nor "sudo" work now (they worked fine previously): "su" requests a password, but I login using ssh keys, and I don't think ...
1
vote
1answer
92 views

DNS , NS and Mail Server configuration for website hosted on Amazon EC2

I created amazon free micro instance on EC2. And hosted my website on that server. IP like - 52.24.220.140 Problem is that , my domain registrar is Directi.com and I don't have mail hosting also ....
2
votes
2answers
251 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 ...
0
votes
0answers
21 views

Not able to access apache 2 from ec2 instance

I installed apache 2 via this command : sudo apt-get install apache2 It is successfully installed on my amazone ec2 server, but I am not able to access it from my computer. I issued the following ...
1
vote
1answer
1k views

Can't connect to AWS EC2 instance from internet

I created my first EC2 instance (linux) using Amazon Web Services, but I can't connect on any port from any host. I changed the inbound rules on my security groups to allow connections from any ip 0....
0
votes
2answers
195 views

/etc/profile: Permission denied after restarting Amazon EC2

I restarted my Amazon EC2 instance and all of sudden when I log in from SSH via putty I get the error: -bash: /etc/profile: Permission denied -bash: /etc/bashrc: Permission denied Previously I was ...
2
votes
2answers
2k views

Amazon Linux AMI: How to replace sendmail with postifx?

Apologies in advance for my nub question. Been using the Amazon EC2 Linux AMI and enjoying it. It comes configured with sendmail. I think I'd rather use postfix. I hoped replacing sendmail with ...
3
votes
1answer
155 views

Docker container doesn't write in amazon EBS volume

In amazon EC2-instance (Amazon Linux AMI 2015.03.0 x86_64 HVM) I mounted EBS volume to /data directory. Now, I have a docker container that I (sudo) run with -v /data:/data. This container creates ...
1
vote
1answer
90 views

Improving EC2 ping times from home

I've been trying to run a gaming machine in EC2 following the excellent blog post by Larry Land here. The problem I have is latency from my home to my nearest AWS region. I get a ping of around 35ms,...
1
vote
4answers
416 views

Restricting SSH Access to Amazon EC2 Instance

I am preparing to set up an Amazon EC2 instance. It will be a testing and development machine to allow me to put PHP, Python, etc scripts on a server without being tied down to a local machine. ...
1
vote
1answer
631 views

Adding a disk to an Amazon EC2 instance

I am using Amazon EC2 instance where I have low disk space [root@ip-10-59-143-73 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/xvde1 5.7G 3.3G 2.3G 60% / none ...
0
votes
1answer
2k views

/dev/xvda1 full , though there is no temporary files

I have AWS ec2 micro instance, suddenly it shows memory full. I have checked the folder using df -hcommand. The result is displayed below. Filesystem Size Used Avail Use% Mounted on /dev/xvda1 ...
0
votes
0answers
199 views

How to create subdomain using Godaddy and AWS EC2 instance? [closed]

Right now, I’ve set up a domain in Godaddy and have Apache installed in my EC2 instance. The main domain works and I can see the html files from my browser. However, I’ve no idea of how to set up a ...
13
votes
5answers
12k views

How to get Amazon EC2 instance operating system info?

I just setup an EC2 instance running Linux. Is there a way to get the version/distribution of Linux that is running on the instance via the terminal?
2
votes
1answer
704 views

Amazon-EC2 ports not opened despite Security Groups and iptables configuration

I just rented an Amazon EC2 server, made to host a node.js app which listen to client on port 9001. I did configure the Security Groups and added inbound and outbound rules on this port. There is no ...
1
vote
0answers
180 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 ...
0
votes
0answers
146 views

How Can I Use The Internet Of My Amazon EC2 Instance On My Windows 8

I have a nice internet connection but when i was browsing on my Ubuntu Amazon EC2 instance using VNC viewer, i became blown away at the speed of it's net. Is their anyway I can harness the internet of ...
0
votes
0answers
175 views

How to slice video in remote http server using ffmpeg?

I want to slice video from remote host . i am using following command to do this ffmpeg -i https://s3-us-west-1.amazonaws.com/path/to/video/messi.mp4 -ss 00:00:03 -t 00:00:08 -async 1 cut.mp4 ...
1
vote
2answers
279 views

ERROR: could not load library “/usr/lib64/pgsql/hstore.so”: /lib64/libc.so.6: version `GLIBC_2.14' not found

I’m trying to enable hstore on my PostgreSQL database running on an Amazon Linux AMI. I’ve already jumped through a ton of hurdles and ended up with this error that I can’t get past: ERROR: could ...
0
votes
1answer
1k views

Amazon Web Service (AWS) VPC private subnet instance 'Permission denied (publickey).' - ssh from osx

I’m connecting to an Amazon Web Service (AWS) EC2 instance in a virtual private server’s private subnet via a NAT instance and getting the following error: Permission denied (publickey) This ...
-1
votes
1answer
625 views

how to upgrade Mysql 5.5.30 to 5.6.21 in Amazon ec2

The current installation of mysql is 5.5.30 and it is in Amazon ec2 I want to upgrade it to 5.6.21 I used sudo apt-get install mysql-server=5.6.21 But it says: Version '5.6.21' for 'mysql-server'...
1
vote
1answer
5k views

Permission denied in Amazon EC2 while accessing Tomcat 7 folder

I am trying to copy a log file from an Amazon EC2 instance to my local machine (Windows 7). I am using WinSCP438, which is able to connect to the remote (Amazon EC2) server instance. I am trying to ...
0
votes
1answer
1k views

How can I copy my Tomcat Catalina.out files from Amazon EC2 to my local machine?

I want to copy my Catalina.out from my Amazon EC2 instance to my local machine. How can I do it?
0
votes
1answer
360 views

Use AWS EC2 to redirect incoming mail

Is it possible to setup an EC2 instance as a mail server and relay incoming mail to my domain to my in-house server on a different port than port 25? Right now I use rollernet.us for this. Which ...
0
votes
1answer
43 views

Why the tasks cannot be started?

I have defined scheduled task like it in a windows 2012 server which is running in a Virtual Box. I can start these tasks with schtasks /RUN /TN start-dop001 as a user 'dop001'. The task will ...
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
481 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 ...
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-...
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@_________ ~]$ ...
0
votes
1answer
2k 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
936 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
1k 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 ...
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=/...
2
votes
1answer
555 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
596 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 ...