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
3answers
123 views

Use latest version of package in bash script

The installed package libnet-amazon-ec2-perl uses v0.14.1. How do I update this package to use the latest stable release v0.22.1? When I try sudo apt-get --only-upgrade install ...
2
votes
2answers
135 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 ...
2
votes
2answers
875 views

Having bridged network for lxc containers in Amazon ec2

I am trying to setup LXC containers on top of Amazon. I am very much new to Amazon and VPC especially. In fact created VPC for the first time to experiment lxc. My Goal: My goal is to have lxc ...
2
votes
2answers
344 views

Cannot scp file to an EC2 instance that I can ssh to

I have two EC2 instances that were created from the same AMI, which was created from the Amazon Linux AMI. These are running mysql in a master-slave configuration. The security group ("db") is ...
1
vote
2answers
91 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
2answers
655 views

Nginx hangs on SSL

I'm running Nginx on an Amazon EC2 micro instance, with some some backend node processes and mongodb. Recently, I had about 5k hits in about 40 hours, and after a little while,the SSL site hung on ...
3
votes
1answer
243 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 ...
2
votes
1answer
217 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
548 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
1k 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
48 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
100 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 ...
1
vote
1answer
46 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
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 ...
1
vote
1answer
361 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
265 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
12 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
300 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
87 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
83 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
155 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
98 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
675 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 ...
0
votes
1answer
160 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
89 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
74 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 ...
0
votes
1answer
395 views

Why doesn't my new Amazon EC2 cluster volume size reflect the size I set in the launch options

When I create a new cr1.8xlarge instance on EC2 with a 100GB EBS storage, and run df -h, I only get about 6Gb of available storage on the root device. The instance is created using the Red Hat Linux ...
0
votes
1answer
90 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
82 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
1answer
192 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 ...
0
votes
1answer
42 views

Multiple user directories on EC2

Im trying to set up multiple user directories on EC2 running Ubuntu, but im not sure how to set it up correctly so that i can serve files in the following format: http://<ec2 ip ...
0
votes
1answer
168 views

Host Interceptor gives localhost as hostname in aws

I'm trying to write my apache logs from my ec2 instances. I want the logs separated by hostname. I'm using host interceptor to get the hostname. My configuration is below. ...
0
votes
1answer
757 views

How to install PHP 5.3.18 on Amazon EC2?

I am googling for a while but with no luck. I am looking for quickest way of installing PHP in 5.3.x version on Amazon EC2. Could someone give me any advice?
0
votes
1answer
340 views

Autostart for ubuntu server

Here is the first part of my question. Splitted it because of rule "One topic - one question". My third and main question is about configuring autostart for webserver and database. init.d scripts ...
0
votes
1answer
726 views

Disk doesn't contain a valid partition table

I was running a m1.small instance ec2 ubuntu instance. I was running out of disk space, so I upgraded my instance to medium. When I upgraded I actually got 429.5 GB of space and after that I added 10 ...
0
votes
1answer
599 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 ...
0
votes
1answer
1k views

Unable to create filesystem on new partition - Amazon EC2 instance

I created a new partition /dev/xvda1p1 on linux amazon ami. After that i am unable to create a filesystem. What is the issue? # fdisk -l Disk /dev/xvda1: 8589 MB, 8589934592 bytes 255 heads, 63 ...
-1
votes
1answer
39 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
votes
1answer
88 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
0answers
732 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 ...