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
514 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
202 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
112 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
385 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
456 views

Managing LXC containers in EC2

I have an EC2 instance running inside a VPC. I need to run a service inside a LXC container started in that instance and to make the service available to the outside world. I have therefore created a ...
3
votes
1answer
245 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
367 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
166 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
156 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
436 views

Troubleshooting AWS EC2 site connection timeout in browser

I'm a newcomer to AWS, and am using the free tier to test personal Django projects. However, when I try to access the IP address, the browser gives a timeout error. The site works locally, and the ...
2
votes
1answer
126 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
292 views

AWS Cloudformation Bootstraping with S3 File and Autoscaling

I just started trying to use CloudFormation and am using it for some autoscaling. I am new to all this so bare with me. I am using the sample template for autoscaling found here. ...
0
votes
0answers
35 views

deploy compiled .Net app to EC2 IIS VM from non-Windows machine?

I've got both the source and a compiled version of a .Net application from a partner my organisation is working with. I've also fired up a new Amazon EC2 instance using an AMI from Microsoft. ...
0
votes
0answers
185 views

Auto-login to aws ec2 instance running windows on startup

I'm trying to run a service on startup of a windows instance on amazon. So far it is a manual process where I have to start rdp in, log in and then start the process. I'd like it when the instance ...
0
votes
0answers
589 views

Does AWS EC2 have limits on concurrent connections?

No matter what I do to my EC2 instance, any size and with apache/ubuntu. I can't get it to go over 1400 concurrent connections. Have set the prefork settings high, set ulimit to 1000000 Is this ...
0
votes
0answers
145 views

Can't connect to iSCSI target on Amazon EC2 Windows Server 2008R2

I have Windows Server 2008 R2 running on Amazon EC2 with attached elastic IP. All ports in a security group are open but only to my IP-address. I have succesfully set up Microsoft iSCSI Target 3.3 ...
0
votes
0answers
127 views

Network drops SSH connection to EC2 only

I have an EC2 instance (in eu-west-1) which I've been SSH'ing into for almost a year, but recently the connection simply hangs (i.e. becomes fully unresponsive) when an executed command returns more ...
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
17 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
237 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
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
163 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
55 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
121 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
50 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
72 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
717 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
152 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
74 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
57 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
235 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
159 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
57 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
125 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
167 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
265 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
208 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
171 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
266 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
53 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
105 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
51 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
131 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
19 views

Cant connect to machines within my VPC

I created a new EC2 Machine (c3.4xlarge) within my VPC. I can login into the server and ping google.com and some machines of my VPC but not all. When I re - created the machine it worked. I am ...
-2
votes
0answers
23 views

AWS EC2 - Crontab running every minute instead what I set up

I'm trying set a crontab to run some URL every 30 minutes. I wrote that in crontab -e: 0,30 -links -dump [MY-URL] It is running, but not every 30 minutes, but every minutes (or maybe few seconds, I ...