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)

3
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
90 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
239 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
20 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
882 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
votes
2answers
177 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
147 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
84 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 ...
1
vote
4answers
352 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
604 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
189 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 ...
12
votes
5answers
11k 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
647 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
162 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
135 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
160 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
256 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
559 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 ...
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
984 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
346 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
41 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
315 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 ...
1
vote
1answer
428 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
2k 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
238 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
1k 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
920 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
340 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 ...
2
votes
1answer
522 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
558 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
91 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
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 ...
0
votes
1answer
205 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
736 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
124 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
265 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
1answer
5k 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
334 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
1answer
332 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 ...
1
vote
1answer
161 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
67 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
150 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
445 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: ...