Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

learn more… | top users | synonyms (1)

1
vote
1answer
2k views

Can't install new database in OpenLDAP 2.4 with BDB on Debian

I'm trying to install an openldap server (slapd) on a Debian EC2 instance. I have followed all the instructions I can find, and am using the recommended slapd-config approach to configuration. It all ...
-1
votes
0answers
15 views

What is the best way to backup AWS EC2? [on hold]

I want to take backup of my EC2 instances on S3. It can be hourly or weekly or both. What are the solutions most industries are following? And which is the best and automated way to do it?
36
votes
6answers
21k views

How to add a security group to a running EC2 Instance?

I have an Amazon EC2 instance running and I will like to add another security group to that instance and then remove the current security group from that instance. Is this possible?
0
votes
0answers
7 views

Unable to open redis 6379 for inbound on AWS EC2

I have two servers on EC2. One hosting my php application and other hosting my redis server. I am managing my php session and data on redis server. So on my php server I gave the ip:port as session ...
0
votes
0answers
7 views

Elastic Load Balancer connection draining causes a blank page for some web sessions

I'm running 3 EC2 instances behind an ELB with connection draining enabled (set to 300ms). When I remove an instance from it, I can see fewer and fewer web requests in the server log until eventually ...
0
votes
0answers
14 views

Best practice of using MongoDB Replica Set on AWS EC2

MongoDB needs at least three replica set members on independent locations to work automatic failover correctly. However, some of AWS Regions (such as ap-northeast-1) have only two Availability Zones. ...
0
votes
0answers
15 views

VPN to Windows Server 2012 on ec2 not routing

I have a Windows Server 2012 instance on EC2 so I can VPN into the private network to access machines not exposed via a public IP. I can connect to the Windows Server VPN by its public IP and ...
-1
votes
1answer
25 views

How to change volume mount

I have two volumes in my EC2 ubuntu instance: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvdb 202:16 0 40G 0 disk /mnt xvda1 202:1 0 400G 0 disk / I want the 400GB one to be the main ...
1
vote
1answer
30 views

What's an inexpensive way to connect 3 sites over VPN, each with dynamic IPs?

I have 3 networks that I would like to connect to each other over VPN (IPSec or OpenVPN). Each site has a single dynamic public IP address and is running NAT. How can I connect each of the sites ...
5
votes
2answers
2k views

IP changed when EC2 instance stopped and started

I have a strange issue here regarding and EC2 instance. I had just stopped and started an EC2 instance for windows after expanding the boot drive, not after I had started the instance, the IP it was ...
0
votes
0answers
13 views

crontab at reboot for EC2 instance

I'm trying to mount an EBS volume after restart. It does not work. I set the mount after reboot, in the following manner: echo "@reboot 'sudo mount $DEVICE_PATH $TARGET_PATH -O noatime,noexec'" | ...
0
votes
0answers
9 views

'end_request: I/O error, dev xvda1' after rebooting AWS EC2 instance

I rebooted one of our Amazon EC2 instances after having some performance problems and had a look at the Actions > Instance Settings > Get System Log to see this: Amazon Linux AMI release 2014.09 ...
2
votes
2answers
2k views

How can I add an ephemeral disk to an existing EC2 instance?

Six months ago I created an EC2 Instance with a Plesk license from the AWS Marketplace. Now I would like to add an ephemeral disk in order to put the temporal backup data generated by the Plesk. The ...
1
vote
1answer
929 views

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail: ...
1
vote
3answers
2k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
-1
votes
0answers
23 views

How to request EC2 instance in a specific availability zone? [on hold]

I'm running some spot instances on EC2 and just noticed a weird behavior about what zone they end up in by default. How do I request a spot instance in a specific availability zone? I don't see ...
0
votes
1answer
29 views

What AWS services allow you to specify a path for the resource's ARN?

The AWS Documentation on Amazon Resource Names says Some services let you specify a path for the resource name. For example, in Amazon S3, the resource identifier is an object name that can ...
0
votes
0answers
10 views

Does OpenShift support IP broadcast and multicast? [on hold]

I know that Amazon AWS doesn't support IP broadcast and multicast (http://aws.amazon.com/vpc/faqs/). Does OpenShift support it?
1
vote
1answer
847 views

Using TntDrive to mount Amazon S3 on a Windows Amazon EC2 instance

I currently have 2 Amazon EC2 Windows Server 2008 instances setup with a load balancer. My problem now is that I need both instances to be able to access a single file system source (I'm trying to use ...
0
votes
0answers
25 views

Logging into an AWS EC2 instance from another machine in EC2

I have a few AWS EC2 instances that can SSH into each other. They are not in a VPC as this is an older AWS account and was active before VPC. One particular EC2 instance (zeta) is not able to SSH into ...
1
vote
4answers
5k views

yum not working on EC2 Red Hat instance: Cannot retrieve repository metadata

For some reason yum has stopped working in my Amazon EC2 instance, located in the EU West sector. There seems to be something wrong with the path of the repo metadata, is this correct? I would be very ...
0
votes
0answers
34 views

EC2 instance missing or got renamed?

One of our instances is missing. Or it could have been renamed by someone. I see a similar instance (not willing to turn it on as it might affect some other service). I want to know if there is a way ...
0
votes
0answers
206 views

Getting high CPU usage on EC2 running Plesk [on hold]

I've been running Plesk on an AWS EC2 instance for over a year with no major issues. All of a sudden yesterday I start getting severe CPU spikes / periods which has made my uptime about 16% over ...
5
votes
4answers
1k views

Correctly setting the hostname - Fedora 20 on Amazon EC2

Context I have a Fedora 20 cloud image running on Amazon EC2 (henceforth called the "instance"). And I have some uncertainty about persistently setting its hostname. Goal In this case, let's say I ...
0
votes
1answer
28 views

Adding new user to AWS EC2 - Permission denied (publickey)

I am trying to set up a new user for my AWS EC2. I have followed step by step this tutorial but I get Permission denied (publickey) error. I tried as well creating a newuser-key-pair.pem from AWS EC2 ...
0
votes
3answers
140 views

client denied by server configuration: /opt/bitnami/apps/wordpress/htdocs/

I have word-press website on ec2 with bitnami image in error log file i am getting bellow snippet error. I have overwrite default htaccess.conf file with my .htaccess file now the path for ...
0
votes
1answer
2k views

EC2 instance is blocking all outbound connections, how to diagnose/fix?

My EC2 instance is blocking all outbound connections. wget http://www.google.com ==> Hangs ping google.com ==>hangs ssh user@anyserver ==>hangs I ran : sudo iptables -F to eliminate all ...
-1
votes
1answer
43 views

SSH connection refused after installing webmin [closed]

I'm running Debian Wheezy on Amazon EC2, from their offical image: http://deb.li/awsmp I've got my SSH key and everything has run perfectly until I installed webmin via the deb-packages: ...
0
votes
1answer
1k views

Unable to ssh EC2 using password - “Disconnected: No supported authentication methods available (server sent: publickey)”

I have followed the following steps https://coderwall.com/p/j5nk9w This is what I did 1) $ sudo useradd -s /bin/bash -m -d /home/newuser -g root newuser Entered the Password for the newuser 2)$ ...
0
votes
0answers
18 views

Ansible fails to create Amazon EBS-ctorage

I have a problem - trying to automate the purchase of new EC2 instances. Here's my playbook: --- - name: Provision new EC2 instance hosts: local connection: ...
2
votes
1answer
753 views

Not able to login to EC2 instance after making changes to default ec2-user

I have been using key pairs to log in to my EC2 instance without any problems until I made some changes to the ec2-user. I changed the group of the ec2-user (usermod) and changed the default file ...
3
votes
4answers
5k views

SSH access problem: debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY

We have a server XXX ON Amazon EC2. SSH is running on a standard (22) port. I placed my pubkey at the /.ssh/authorized_keys file The fun thing is that YESTERDAY it was working great! But today, I ...
-1
votes
1answer
493 views

What is the significance of the s3 region, “US Standard” when it comes to “Amazon EC2 in the same region” pricing?

AWS S3 provides a special region called US Standard, US Standard Uses Amazon S3 servers in the United States Provides eventual consistency for all requests. This region automatically routes ...
-1
votes
0answers
35 views

Cannot add host to a Network Load Balancing cluster [closed]

I'm trying to setup Network Load Balancing (NLB) with two nodes in Windows Server 2012. I've created two servers on Amazon EC2 from an existing image. I've created user accounts with administrator ...
-2
votes
2answers
214 views

Vertx: What do these errors mean?

I'm trying to run a java applet using the Vertx platform but getting the following errors, as I am not a java person.. I'm having a hard time understanding how to fix these, your help is much ...
2
votes
0answers
22 views

Tuning Amazon Linux worker tier

I have a worker tier that is using PHP process control (pcntl) functions to send multiple requests to the SNS service in parallel. My question is how best to tune MPM_PREFORK directives to get the ...
0
votes
0answers
15 views

AWS EC2 Instance Shutting Down Prematurely (Possible Xen Driver Issue)

Currently trying to run a JSON Script using CloudFormation via the AWS Console and we're coming across a very frustrating error. The Instance seems to start up, and gets past the 2/2 Check in the GUI ...
0
votes
0answers
28 views

How to diagnose Nginx bottlenecks at specific number of users

Firstly, I know this is a loaded question, but I hoping that you guys will be able to point me in the right direction.... We've got a number of nginx-fronted web heads which site behind an AWS ELB. ...
0
votes
1answer
464 views

Cloud formation - updating a stack behind an elb doesnt update the AMI

We are powering our AWS EC2 instances using cloud formation. We have 3 different stacks - testing, staging and production. Our workflow to update the images for any of the stacks is as follows: ...
1
vote
0answers
47 views

Amazon IP no longer allowing MySQL connection (Error 104)

I am working on a group project that uses an Amazon EC2 server for hosting phpmyadmin. We have a PHP/MySQL website hosted on my school's server that makes database connections to amazon. Recently one ...
0
votes
1answer
27 views

Disabling SSLv3 in ELB on Amzon linux ec2

Hi I have Elastic Load Balancer on which I've deployed my ssl certificates and when i check on the web it say site is vulnerable because of SSLv3 is enabled on the site. So my question is What ...
12
votes
5answers
13k views

How do I Install Intermediate Certificates (in AWS)?

I have installed private key (pem encoded) and public key certificate (pem encoded) on Amazon Load Balancer. However, when I check the SSL with site test tool, I get the following error: Error ...
0
votes
1answer
35 views

Can't reset permissions on amazon ec2

I've a big problem: when I try to sudo something, this is what append: sudo: /etc/sudo.conf is owned by uid 222, should be 0 sudo: /etc/sudoers is owned by uid 222, should be 0 sudo: no valid ...
3
votes
1answer
557 views

Remote rsyslog only writing logging data to /var/log/syslog and not custom logfiles

I'm having a problem setting up rsyslog to log remote logging data to a specific file. I have two Windows Server 2008 boxes that each have a C# application using NLog.Targets.Syslog which log their ...
1
vote
0answers
25 views

AWS CLI Command Line: How to use “--query” to output multiple source lines

I am using aws-cli version 1.7.8 to get the --query output to create one record that is derived from multiple lines. In this case I am trying to get specific information from describe-instances. In ...
0
votes
1answer
257 views

introduce latency between ec2 instances

I have a 2nodes Cassandra ring on ec2 (10.96.31.143, 10.254.94.177) in the same zone (east-1). How can I introduce a 3 seconds delay for all cassandra-related network communications between them? I ...
0
votes
1answer
199 views

EC2 piops instances terminating immediately after launch, non-piops fine

I'm running into an odd issue when launching EC2 instances via boto and the Python API. Everything is fine so long as I don't attempt to launch provisioned iops instances, even if I set other volume ...
1
vote
2answers
5k views

How to figure out how much RAM each prefork thread requires for maximum Wordpress performance on an EC2 small instance

Just read Making WordPress Stable on EC2-Micro In the "Tuning Apache" section, I can't quite figure out how he comes up with his numbers for his prefork config. He explains how to get the numbers ...
1
vote
4answers
834 views

Tunning Apache and server for massive photo uploads

I got an Apache webserver running in a EC2 platform. It's receiving a lot of uploads from users (big pictures files). The problem is that immediately after upload I have to convert images to other ...
5
votes
3answers
6k views

Nginx set_real_ip_from AWS ELB load balancer address

I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule) so that I can access the originating client IP address on these servers (for ...