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
1answer
822 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 ...
3
votes
1answer
772 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/...
2
votes
1answer
178 views

Can't ssh into ec2 box (permission denied) - ECDSA issue

I launched a AWS community Ubuntu 12.04 desktop ec2. I added the host to my ssh config with the identity pem key file to ssh into my ec2. I got the authorized keys public key file from my ec2 and ...
2
votes
1answer
319 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 ...
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
1answer
682 views

Amazon EC2 (Linux) + RDS (MySQL) + PHP + pdflatex = LaTeX to PDF online

I would like to have a website capable of converting LaTeX documents to PDF online. So for example user types in some raw LaTeX (document), I'm saving it into my MySQL database and I'm able to convert ...
2
votes
1answer
2k views

Minimal footprint ubuntu for ec2 micro instance?

I want to run a minimal footprint ubuntu on the new amazon ec2 micro instance. Is there a pre-built minimum ebs image available somewhere? I'm guessing the official ubuntu ec2 images are not minimal ...
1
vote
1answer
179 views

Issues SSHing between two Amazon EC2 instances of same region in different availability zones

I’m using two Amazon EC2 classic micro instances (A & B) of same region in different availability zones. I’m trying to connect the instances using SSH. Every time while I’m trying to connect, it ...
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 ~/....
1
vote
1answer
164 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
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
1answer
577 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
224 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 ...
1
vote
1answer
621 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 ...
1
vote
1answer
510 views

scp over ec2 ignoring a directory?

Facing a problem while using scp to download a file from AWS EC2 instance(to which I have assigned a elastic IP),scp is ignoring the my-store folder. But when i access the ec2 instance over ssh, I can ...
1
vote
1answer
335 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
2k views

Windows Server not installing audio drivers properly

I am trying to install a dummy sound card on a Windows Server machine (in Amazon EC2 cloud) in order for one of my application to work. I'm trying to accomplish that with Virtual Audio Cable and ...
0
votes
1answer
5 views

Skip login screen on boot of Windows Server on EC2

I want to be able to spin up a new machine and immediately VNC into it without having to enter a username or password. I've made a User-Script that starts a TightVNC server on boot, but when I ...
0
votes
1answer
37 views

Silent error when Terraform deploys to ECS

I’m new to Terraform and having problems setting up a very basic configuration. I want something that brings up my “docker-whale” image. From looking at Hashicorp and AWS docs, it seems I need an “...
0
votes
1answer
264 views

How to get list of ELB's in AWS using python boto3

Hi all I am new to python and AWS. I have been trying to get list of ELB in AWS using python boto3 and found that the limit is exceeding since their are a lot many nos. of elbs. Hence for the reason ...
0
votes
1answer
64 views

SSH Permission denied (publickey)

I have 2 EC2 instances (ip-172-30-0-196 and ip-172-30-0-194). But I can't do ssh from 194 to 196, and vice-versa. The ssh error from 194 is here. Both hosts have the ssh files with the same ...
0
votes
1answer
27 views

Apache test screen not loading. Connection refused when connecting to public ip

I'm having problems getting Apache to work. I've followed the Amazon AWS instructions (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/install-LAMP.html) but my computer is refusing to load the ...
0
votes
1answer
55 views

Why one AWS EC2 instance usage is more than 24 hours per day and how to solve this?

I am using AWS Free Tier. I run only one EC2 t2.micro instance. But the report tell me that the usage is more than 24 hours per day. That mean at the end of the month I will be charged (It estimate ...
0
votes
1answer
59 views

How to connect my VNC server without opening the port 5901?

I have installed and configured VNC server on Amazon EC2 instance. But the port 5901 is not opened in my security group. Is there any way to connect my VNC server from Windows without opening the port ...
0
votes
1answer
347 views

Yum Install software-properties-common on EC2

I'm trying to install software-properties-common on an EC2 micro instance and getting the following error: $ sudo yum install software-properties-common Loaded plugins: priorities, update-motd, ...
0
votes
1answer
19 views

Transfer script files using ssh to my server?

I'm using Amazon node ssh I have a captcha.php script on my local host. How do I transfer that to my Amazon EC2 page? I'm trying to generate a captcha. I'm using Mac terminal and installed xampp.
0
votes
1answer
28 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 [...
0
votes
1answer
501 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 ...
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
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 ...
0
votes
1answer
280 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/...
0
votes
1answer
359 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
1answer
299 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
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 ...
0
votes
1answer
144 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-...
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 ...
0
votes
1answer
118 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
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 ...
0
votes
0answers
139 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
168 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 ...
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
0answers
163 views

Tar a very large file directly to a drive

I was running my code to download some data on the Amazon cloud. The instance that I was running had an 8GB storage that I had bought with it plus 140GB extra instance storage (sort of plugged in as a ...
0
votes
0answers
104 views

Using custom rules in amazon security groups issues

So my question is pretty straight forward: I have two ec2-classic instances, say A(with security group sg-A) and B(with security group sg-B) the rules in sg-A is : Type | Protocol | Port Range | ...
0
votes
0answers
758 views

ssh connection fails with timeout but telnet on port 22 is instant

I am trying to connect to an EC2 instance via ssh. I get a timeout after 80 seconds. If I telnet to the IP address using telnet. xxx.xxx.xxx.xxx 22 then I get an instant response. The EC2 instance is ...
0
votes
0answers
759 views

How do I change a linux kernel for an EC2 friendly version?

I have to get an old image from a physical ubuntu (dapper) box into AWS. The software stack and applications are not exactly contemporary so I have tried to do a P2V to AWS dd'd the /dev/sda volume ...
0
votes
0answers
609 views

Reverse port forward with EC2

I have two computer behind NATs so I thought of using a free tier EC2 server as a SSH relay. Followed this simple tutorial http://www.acooke.org/cute/ReverseRem0.html which seemed pretty reasonable. ...
0
votes
0answers
52 views

Transport Large Directory Structure to AWS EC2

I need to transport just less than 6 TB of data from one Windows Server 2008 R2 (located locally) to a second instance on a customer AWS EC2 instance. The customer configuration does not allow Device ...
0
votes
0answers
931 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 ...
0
votes
0answers
94 views

SSH into Linux box from EC2

I can't seem to ssh from my ubuntu EC2 server into my work linux box. From my work linux box, I can ssh into myself via ssh -p <my listening ssh port> <user>@<my ip> The same ...
0
votes
0answers
1k views

Unable to connect to amazon ec2 instance over ssh

I am unable to connect to my amazon instance through ssh from a particular internet provider's connection. But I am able to traceroute to that ip from the same internet provider's connection. ssh ...