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

learn more… | top users | synonyms (1)

4
votes
1answer
513 views

EC2 disk goes to 100% util, but fine after reboot

We've been running some production services on Amazon EC2 for a while, using mainly t1.large and t1.xlarge instances (non-EBS). Every so often one of the attached (ephemeral disks) will get into a ...
3
votes
1answer
151 views

How can I use IAM pollicies to restrict a user to only launch instances with a specific set of AMIs?

I have the AMIs I want to allow tagged with the "type" tag. Here's the policy I tried: { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ ...
3
votes
1answer
111 views

Difference between AWS Software Subscription and Launching a Custom AMI?

Amazon AWS seems to provide two methods of launching an instance of Ubuntu 12.04 that confuse me, one of them is the Software Marketplace the other method is by launching an AMI on the Ubuntu ...
3
votes
1answer
361 views

SSH connection closed/dropped a few seconds after successful log in (EC2/linux/debian)

I have been using ssh to connect to the same EC2 instance for months. Now, all of a sudden, I am getting kicked off the server every time I try to do so. The amount of time I can remain connected ...
3
votes
1answer
244 views

How do I configured postfix and to use SES, and still be able to forward email from unverified external addresses?

We are using postfix for email group lists (eg "members@domain.com" will go to all members) from Amazon EC2 systems. For a variety of reasons (scalability and reliability) we would like to use SES ...
3
votes
1answer
361 views

archive and visualize amazon ec2 cloudwatch metrics

How do you backup your ec2 cloudwatch metrics? How do you visualize different measurements with different scales at once, like cpu% and i/o? How do you combine your application server metrics (like ...
2
votes
1answer
142 views

Tcpdump on ec2 not seeing all packets

I'm running tcpdump on an Amazon EC2 instance to monitor HTTP traffic going to Nginx (this is just a test box, the only resource is the example test page). Running tcpdump with the command # ...
2
votes
1answer
143 views

How to route traffic through OpenVPN for the server only

I have a number of services running on my server to which I want to restrict access to only those connecting through OpenVPN. I did manage to get routing to work to a second IP I added to the ...
2
votes
1answer
121 views

amazon ec2 instances lost boot drive?

This is driving me crazy since hours now. I have done the setup of 5 instances in AWS (some micro, some large) and after a while when i stopped them and rebooted them many times one of them won't ...
0
votes
0answers
35 views

what device_mapping in ec2-bundle-vol parameters are for?

As per http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/CLTRG-ami-bundle-vol.html I expected "ec2-vol-bundle .... --block-device-mapping ...
0
votes
0answers
16 views

Drupal on Amazon VPC tries to reinstall a new site

My Drupal based web site running on a cluster that includes Amazon VPC instance, gluster network file server and Amazon RDS database instance. Sometimes, not very frequently, when a new instance is ...
0
votes
0answers
224 views

My Bitnami Tomcat Stack (on EC2 AWS) is generating DoS attack

I have a very small java web app that is deployed on a Bitnami Tomcat Stack on AWS. We are using this app in the company with only 5-10 user base daily, and generating only below 100MB of traffic per ...
0
votes
0answers
316 views

can't access RabbitMQ remotely in EC2 instance

I have set up a rabbitmq instance on windows, and up until now we had 2 tomcats connecting to said rabbit and it was just fine. We want to scale our apps and we created a third app which will connect ...
0
votes
0answers
46 views

auto scaling Amazon ec2 with custom DNS

I am thinking to add auto scaling, my ec2 instance all have custom DNS with route 53, so I am wondering how I can setup auto scaling since I am using DNS, how the new scaled instance get the DNS name. ...
0
votes
0answers
25 views

hosting a service locally and on amazon ec2 with auto-routing

I have a java REST service which is very CPU intensive. The service serves a website. I would like to host the service on my local machine which has 8 core 16GB RAM, SSD as the main storage and high ...
0
votes
0answers
49 views

EC2 node not accessible with ELB, issue on O2 netwrok

Issue: We have some website hosted on EC2 in N. Virginia region and it was working fine across globe, until some of our customer reported from UK region reported that they cannot access our site. ...
0
votes
0answers
157 views

amazon ec2 no longer acceping the private key for ssh

The private key file seemed to be working till a day before but from the last day, it generates an error while trying to connect to Amamzon ec2 ssh via the private key file. (am using Bitvise ssh ...
0
votes
0answers
145 views

connect to windows 2012 server without rdp

I've got an fairly stock Windows 2012 EC2 server running on AWS which I've been able to RDP into until after the last reboot. Are there any other services like [Telnet, SSH etc] that run by default ...
0
votes
0answers
52 views

Point existing EBS to new EC2 instance

I have an EC2 instance running Ubuntu 11.04 with EBS attached, now I am planning to move to Amazon Linux AMI 2013.09.1 Can I just launch new instance and map existing EBS is that enough or is there ...
0
votes
0answers
115 views

Amazon EC2 instance “sudo reboot” not coming back up

I did a "sudo reboot" on my EC2 CentOS and now my instance is not coming back up! It is a web server and I know there is nothing wrong with my configs to make it not come back up! The only thing I did ...
0
votes
0answers
49 views

Amazon EC2 instance “sudo reboot” not coming back up

I did a "sudo reboot" on my EC2 CentOS and now my instance is not coming back up! Did I lose everything? How can I bring it back up? Any help is greatly appreciated.
0
votes
0answers
70 views

Amazon ELB timeout on multiple instances but not on single instance

I have an Amazon load balancer and one EC2 web instance behind it, and websites work fine, all my websites do not require long processing time, they are just some basic PHP sites, then I spun up ...
0
votes
0answers
649 views

Gmail rejecting IMAP calls from AWS EC2 hosted James server

I have James server (SMTP server) hosted on AWS EC2. I have small application running on this AWS instance which fetches certain emails from my Gmail account. Gmail rejecting any IMAP request from my ...
0
votes
0answers
144 views

Amazon EC2 Nat Instance - goes out but not back in

I've followed Amazon's steps and list what I've done. I've created 6 subnets (4 private SN1: 10.50.1.0/24, SN2: 10.50.2.0/24, SN3: 10.50.3.0/24, SN4: 10.50.4.0/24) and 2 public (SN5: 10.50.101.0/24 ...
0
votes
0answers
72 views

Issue with Setting up Amazon SES using VPS/Ec2

So, I currently have a VPS and a EC2 instance. The VPS is a completely separate company that hosts my domain, email, etc. But, I recently pointed these to my Ec2 instance as: MX Record: The ...
0
votes
0answers
55 views

Unable to stop instance in Amazon EC2

I am developing a java web application and deploying to Amazon EC2. I have deployed with default micro small ec-2 server. Now i have to move this ec-2 server from small to large server. I have gone ...
0
votes
0answers
226 views

Can I forward my godaddy domain to Load Balancer DNS' name?

My domain is hosted on GoDaddy. Is it possible to forward my domain to LoadBalancer's DNS? Example steps: Add Domain Forwarding on GoDaddy Forward to: ...
0
votes
0answers
138 views

setting haproxy servers to use AWS public name server

I'm trying to configure haproxy to cluster a couple of mysql servers (galera cluster), but it seems that haproxy does not accept dns name in the server directive. e.g. config listen mysql ...
0
votes
0answers
27 views

How to install latest version of ec2-api-tools?

Downloading ec2-api-tools from Amazon gives version 1.6.7.2. Following these directions to get Amazon's PPA shows version 1.5.0.0, which is so old you can't use the access key/secret access key ...
0
votes
0answers
56 views

securing ec2 interinstance communication with ssh

I would like to be able to have instances from one of my ec2 clusters to talk to instances in another ec2 cluster in real time (not via a rdbms or messaging queue). I'm thinking the best way to do ...
0
votes
0answers
384 views

Configuring passive-ftp on Amazon AWS with PureFTPD?

I see with Google this is bothering a lot of people, but I can't seem to get it working. Here is what I've tried, echo myip > /etc/pure-ftpd/conf/ForcePassiveIP echo "30000 30100" > ...
0
votes
0answers
122 views

Copy files from EC2 instance to remote dedicated server

I'm having trouble copying several very large sql dumps via SSH I used this command: /usr/bin/scp -P 2382 /ec2/path/file.sql root@$123.45.67.890:/remote/file/path/ And also /usr/bin/scp -P 2382 -i ...
0
votes
0answers
159 views

configure heartbeat HA on Amazon VPC instance

I'm trying to implement HA with Heartbeat (and monit) on two Amazon VPC instances. I read many articles about it and I tried all possible options I can think of. few articles I read (don't work for ...
0
votes
0answers
253 views

SSH won't work after associating Elastic IP on Amazon Ubuntu 12.04 32 bit micro instance

This morning my EC2 and elastic IP were working fine. All of a sudden, all hell broke loose and my EC2 won't access through my elastic IP anymore. When I did a ssh -vvv I get debug1: Connecting ...
0
votes
0answers
204 views

nagios volatile service and system time change warning

I have a nagios service with volatile option on (executes event handler every time it encounters a non-ok hard state). Problem is that if the event handler executes for 2-3 times (that is the expected ...
0
votes
0answers
163 views

Replacing my ec2 root esb volume resulting in no SSH connectivity

I have 2 Amazon EC2 on demand instances running. Instance A - micro - Root Device = EBS backed Instance B - large - Root Device = EBS backed Both instance are accesible using SSH. Both instances ...
0
votes
0answers
252 views

Load balanced solution on EC2 with IIS app servers behind single IP address

I need to create an auto scaling, load balanced solution on EC2 behind a single IP address with IIS 7.5 as an app server(s). I've got a pretty good working setup with haproxy (as a reverse proxy) ...
0
votes
0answers
52 views

Testing web box behind a https load balance

I have a 3-tier system setup 2 Load balancers n amount of app servers database boxes / slave boxes. I have SSL setup on the load balancers. Normally when I test a specific server I change my host ...
0
votes
0answers
78 views

Route HTTP requests to subdirectory to another server

I have a situation where there is a server running IIS7 - it contains a mix of .ASP, .NET and PHP solutions in separate directories. I'd like to install a copy of Wordpress at: ...
0
votes
0answers
104 views

Cannot see an EC2 VPN server from another EC2 instance

I'm using openVPN to connect to one EC2 instance from another. The client cannot see the server, however, despite that servers outside of AWS can see the server and successfully negotiate with it. ...
0
votes
0answers
76 views

Multiple domains going to one IP on an IP based virtual host

We just tried to do a launch and when we started changing the "a records" for multiple domains to point to the new IP. The server had one domain pointing to the IP for days and it was working fine ...
0
votes
0answers
1k views

ssh with cygwin for amazon ec2 gives permission denied (publickey)

I looked at all other posts that are similar. I'm probably missing something simple since I'm relatively new to this. I have an Amazon-EC2 instance with Amazon Linux. I'm using Cygwin on Windows 7. ...
0
votes
0answers
50 views

Compiling libraries for Amazon linux

Since Amazon Linux can't run outside of EC2 (if it can please explain) what is the closest platform that I should use when compiling code that should run on a EC2 instance running Amazon Linux? I ...
0
votes
0answers
97 views

Cannot access data from hbase with amazone ec2

I have a single node Hadoop machine in which HBase is running in the Amazon EC2 instance. Due to some reason the server got restarted. So i need to start Hadoop and Hbase again. Then it's working ...
0
votes
0answers
128 views

Using own Nameservers on Amazon EC2?

I got a static IP from EC2 and put it to A host part on godaddy to my domain. After that I defined 2 hosts (NS1.domain.com and NS2.domain.com) from godaddy with the same IP address. And put them into ...
-1
votes
0answers
9 views

Access jboss server deployed on Amazon Ec2

I have deployed Wildfly 8.0.0 on an EC2 instance. I have added appropriate rule to open port 80 for inbound traffic. I am able to access my web application locally. But when I try to access it in a ...
-1
votes
0answers
13 views

VPC DHCP Option Sets Missing Option 3 Router

Maybe I'm missing something, but why can you not set your option "003 Router" in the DHCP configuration in EC2? http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_DHCP_Options.html I'd like ...
-1
votes
0answers
28 views

My mail server from ec2 becomes unresponsive (can't ssh, nor manages mails) after 2-3 days

Hy! I have configured my server with http://www.iredmail.org/ and everything worked nice for 1-2 days and then it stopped working. Everything is unresponsive. SSH hangs; Web server interface ...
-1
votes
0answers
49 views

cURL request from EC2-VPC instance (in default VPC) to retrieve RSS feed timing out

I am trying to make a cURL request from EC2-VPC (in default VPC) to retrieve RSS Feed data. # cURL request from EC2-VPC instance curl -Lv -o test_rss.txt http://www.example.com/feed/rss/ The cURL ...
-1
votes
0answers
20 views

How to add SSL certificate to domain that is URL-frame redirected to AWS EC2 server

Currently running a node.js webapp with a NginX reverse proxy on an Amazon EC2 web server instance. Furthermore, I have a domain, call it example.com, which URL-frame redirects to this web server. ...