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
794 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: ...
0
votes
0answers
8 views

Advice for an EC2 Architecture and Deployment Strategy

My company is currently migrating several websites and PHP web applications (standard LAMP stack) from three in-house servers to Amazon EC2. Because we had only three servers, we clustered several ...
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 ...
0
votes
0answers
7 views

Drive Mapped On Amazon EC2 Instance Startup Disconnected After Logon

I am launching an Amazon EC2 instance (Windows Server 2012), and on startup (though User Data field), it runs this powershell script: <powershell> NET CONFIG SERVER /AUTODISCONNECT:-1 ...
1
vote
3answers
2k views

How to Setup VPN server in Windows Server 2008 on Amazon Cloud E2?

I have servers in Amazon Cloud E2 with Windows Server 2008 R2. I want to setup a VPN server. Can any one guide me? Because as per the MS articles I completed the steps but I am not able to connect ...
-1
votes
1answer
35 views

Amazon EC2 - HTTPS - Certificate body is invalid. The body must not contain a private key

I'm very new to Amazon EC2. I am trying to setup https for my website, I follow the offical instruction from amazon doc: http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/configuring-https.html ...
0
votes
2answers
20 views

AWS opsworks build lifecycle and amazon linux

I've been using Opsworks recently and am really impressed by the GIT integration to deploy apps across my server estate. But I have a requirement due to an external library to use PHP 5.4 > The Amazon ...
-1
votes
2answers
21 views

How to get server ssh keys on debian ec2 instance?

I launched an instance on EC2 with a Debian 7.6 AMI and the system log is empty. Is that by design? With the ubuntu images, the server's ssh keys were accessible via the system log. What is the ...
1
vote
1answer
42 views

How can I level out my auto scaling checks?

So, I have been playing around with my auto scaling config and my Cloudwatch alarms to try and keep all my instances purring but not roaring. I can't seem to get rid of a constant yoyo. CPU usage ...
0
votes
1answer
24 views

Zabbix Disk Monitoring showing value: no data

I'm running Zabbix 2.2.3 and for all my Amazon linux machines it shows the correct total amount of disk space but the free space is listed as "Value: No Data". I have another Ubuntu machine and disk ...
0
votes
1answer
39 views

How to monitor an Amazon EC2 instance

Is there a way to monitor ec2 instances without using cloudwatch? I ask this since ec2 instances are basically VPS's, and using output from commands like top, vmstat, htop in scripts may not give the ...
-1
votes
1answer
30 views

Apache optimisation

I'm trying to set properly an apache installation on an aws instance EC2 m3 Large (with 7.5 Gio or RAM). Once or twice a week, apache crash with the message: [Thu Aug 14 12:38:33.552250 2014] ...
0
votes
1answer
17 views

Using Cloud Formation provisioned security group with specific subnet

Summary I'm attempting to create an AWS CloudFormation template which contains an instance for which I want to select a particular subnet. If I specify the subnet ID then I get the following error ...
0
votes
0answers
24 views

Any objective VPS performance tools available?

Because: there are so many variables when it comes to VPS hosting (noisy neighbors, SSD/HD, host server specs, number of VPSes on host, etc...) VPS hosts like to use fluffy specs (vCPU) to sell ...
1
vote
1answer
21 views

What happens when I delete the first of several AWS EBS snapshots?

On http://aws.amazon.com/ebs/pricing/ it says: "EBS Snapshots [...] For the first snapshot of a volume, Amazon EBS saves a full copy of your data to Amazon S3. For each incremental snapshot, only ...
1
vote
1answer
1k 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 ...
0
votes
1answer
23 views

Pull GitHub repo on Ubuntu server start

I have an autoscaling EC2 group and I have a central config using git between servers. They are set up with keys, so they don't need a password. I want to make sure when an instance gets started and ...
1
vote
0answers
14 views

EC2 AMI instance store backup grub utility required

Working on backup of whole ec2 volume and image to upload to s3. Using RHEL7 and it internally uses Grub2 as bootloader. EC2 AMI tools requires grub legacy loader and I'm struck up in this loader. ...
1
vote
2answers
109 views

Amazon CloudFormation: How to get an ELB's private IP for a specific subnet?

TL;DR - Is it possible for a CloudFormation template to insert the subnet-specific internal IP address of a specific ELB into the UserData of an instance within that subnet? We have a fleet of EC2 ...
0
votes
2answers
39 views

SSH into EC2 with dynamic public IP address

Typically I set ssh aliases as follows: ssh -i ~/path/key.pem ubuntu@public-host-name.compute-x.amazonaws.com But with EC2 instances, the public-host-name changes whenever an instance is stopped and ...
5
votes
5answers
8k views

Why Can't I Reach My Amazon EC2 Instance Via It's “Elastic IP Address?”

The server works fine via the Amazon assigned DNS entry, but I cannot reach it (using a browser) via the Elastic IP address Amazon assigned the box. Ping does not work either. I am trying to confirm ...
0
votes
2answers
1k views

I have a Windows 2008 R2 Amazon EC2 server, it can't ls via ftp client, what do I have to do to fix that?

I have a Windows 2008 R2 Amazon EC2 and it needs to download a file from an external server via ftp. The file name is different everyday so I have to ls and then get the newest file. ls fails: ...
0
votes
0answers
28 views

xen:balloon: reserve_additional_memory: add_memory() failed: -17

We're running Ubuntu 14.04 on an EC2 virtual machine. I've been seeing a lot of these errors in our kernel log: [ 704.032085] xen:balloon: reserve_additional_memory: add_memory() failed: -17 [ ...
0
votes
2answers
752 views

Server overloaded with log messages: “tty_release_dev: pts0: read/write wait queue active!”

In the logs, I have this (extract from the full kernel messages logges at 06:01:14): Apr 21 06:01:14 ip-10-49-109-107 kernel: [233185.863038] BUG: unable to handle kernel NULL pointer dereference at ...
1
vote
1answer
28 views

Configuring SSL through IIS on an AWS EC2 Windows instance

I am trying to enable HTTPS connections to a website hosted through IIS on an Amazon EC2 instance. The instance is running Windows Server 2012. I do not have a wildcard certificate. The EC2 instance ...
0
votes
2answers
26 views

Repeated EC2 Apache 500 error

I'm running a Django website off Apache and MySQL. I'm using a t1.micro instance. After every couple of days, my server starts giving a 500 error. I solve this problem by restarting the Apache2 and ...
0
votes
2answers
20 views

can't connect to copied Amazon ec2 instance

I have a linux instance that I set up a while ago to host a ruby website. I can connect to it via ssh, ping it and browse the website. I wanted to make a copy of this instance and upgrade the copy, ...
2
votes
0answers
15 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": [ ...
6
votes
6answers
4k views

Is it possible to use an EC2 RDS MySQL instance as a slave to an external master?

I have a master MySQL instance running on our local network, but I was wondering if I can get an EC2 RDS instance to replicate the master or is this locked down by amazon?
-1
votes
2answers
30 views

Turn on Virtualisation settings on Windows 2012 R2 [closed]

I'm an AWS newbie. I'm trying to run the latest Hortonworks Sandbox VM image using Virtualbox on a Windows 2012 hvm AMI. I get an error message saying "VT-x is not available. (VERR_VMX_NO_VMX)" What ...
19
votes
5answers
20k views

How can I prevent a DDOS attack on Amazon EC2?

One of the servers I use is hosted on the Amazon EC2 cloud. Every few months we appear to have a DDOS attack on this sever. This slows the server down incredibly. After around 30 minutes, and ...
3
votes
5answers
5k views

How Amazon ELB Health check Works?

I am having problems configuring ELB for my servers. I start 2 micro instances with the exact same conf and try to do Load Balancing. However they never pass the health check (HTTP port 80 path:"/"). ...
0
votes
2answers
112 views

Ubuntu 14.04 Server HVM with EBS Free Tier AMI

I'm looking through the AWS Marketplace and Community AMI's to launch an instance on my newly registered free tier on Amazon. I'm very confused by the advertising of what's included in the free tier ...
0
votes
0answers
20 views

Can't use a Box in Amazon VPC subnet to connect to the other side of the site-to-site VPN tunnel which is already up

This is what I have done created VPC 192.168.0.0/16 created subnet 192.168.5.0/24 created internet gateway attached internet gateway to VPC created routing table set destination route 0.0.0.0/0 to ...
-1
votes
0answers
15 views

Best storage solution for auto-scaling EC2 application? [closed]

I couldn't find a great solution. Everything, like NFS and GlusterFS have tutorials available that don't work properly and I would really like to have my application auto-scaling. I have a web app ...
0
votes
0answers
26 views

Restarting an EC2 instance on the instance that is supposed to be restarted

I'm running through a loop with a PHP script that's on AWS instance. From my experiences with AWS, as soon as the instance is stopped, all of the code that's in the process of being executed is ...
2
votes
2answers
637 views

Unable to SSH into EC2 instance

I've read through the existing answers to this topic, but I still can't seem to connect. I've created an AWS key and saved to my ~/.ssh folder. The command: ssh -i ~/.ssh/jdrake.pem ...
1
vote
2answers
30 views

CloudWatch not honoring alarm settings

I have a CPUUtilization alarm setup for my ec2 instance. The settings for the alarm are: CPUUtilization >= 95% for 15 consecutive periods of 1 minute (15mins total) We are still receiving alert ...
0
votes
2answers
64 views

How to select snapshot for root EBS volume

I have a custom AMI, with a corresponding EBS snapshot, made some time earlier. Recently, I have decided to create a newer EBS snapshot to reflect some software updates. Then I wanted to submit a spot ...
0
votes
1answer
44 views

Connect to RDS from EC2 instance — both inside VPC

I have a VPC with two private subnets (two were required to get an RDS instance set up). I have a security group for this VPC, let's call it vpc-sg. vpc-sg allows TCP access on port 22 from my home ...
0
votes
1answer
40 views

Running multiple web sites on a single EC2 instance [closed]

To cut costs and simplify management, we have been thinking about running multiple web sites on a single Windows EC2 instance. Is that something you would recommend? what are the pros and cons? Can ...
0
votes
2answers
1k views

cannot connect to MS FTP 7.5 on Windows 2008 on Amazon EC2 instance

I have just installed the MS FTP 7.5 upgrade on my Windows 2008 Server (Service Pack 2) running on an Amazon EC2 instance. In the FTP Firewall Support settings for the server in IIS Manager I have ...
0
votes
1answer
58 views

Amazon Linux AMI for NFS between multiple EC2 servers

So I've been trying to create a Dropbox like system to allow multiple EC2 instances to work with the same files. I'm writing the programs that actually modify the files myself, and I'm not worried ...
0
votes
1answer
38 views

Amazon EC2 - httpd error on start port 80 - (98)Address already in use: make_sock

I'm unable to get httpd running on my AWS linux instance. I keep getting the following error whenever I try to start the service. $ service httpd start Starting httpd: (98)Address already in use: ...
0
votes
1answer
81 views

How to convert CENTOS5 PV AMI to HVM one?

I asked to migrate existing CENTOS5-basedEC2 server to the new T2 instance. I created AMI, but it can't be launched as T2 instance because T2 supports only HVM virtualization. There are few manuals ...
3
votes
2answers
283 views

Access Amazon EC2 RDS instance from inside VPC

I have an Amazon RDS instance set up in the 'classic' EC2 (no VPC.) I also have a VPC set up that holds our newer, migrated applications and such. However, it would seem that there is no way to ...
1
vote
1answer
729 views

Server bandwidth usage with rtmp streaming of video

Quick question - I am streaming video from Cloudfront using RTMP streaming via an SWF-based flash player on my EC2 instance. With this setup will I see I/O data from the EC2 instance on account of the ...
0
votes
1answer
53 views

Server time is off by 5 minutes [closed]

I need to create a cron job to run a script. Changed the server timezone to Eastern following the first option in this guide. The timezone was changed successfully but when I run date I'm noticing ...
2
votes
4answers
590 views

chef-server-webui session not working when access from external IP address

I have installed chef-server on an Ubuntu 12.10 system using the official .deb package for that release. After the installation had finished I run chef-server-ctl test Which reported success, 0 ...
0
votes
0answers
25 views

ec2 instance access via browser on subdirectory not working

I try to access a subdirectory via public dns vom amazon. I configured a virtual host: DocumentRoot "/var/www/html" NameVirtualHost *:80 <VirtualHost *:80> ServerName www.example1.de ...