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

learn more… | top users | synonyms (1)

0
votes
1answer
34 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] ...
-1
votes
0answers
23 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
1answer
16 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
23 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
15 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
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. ...
0
votes
1answer
22 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
1answer
40 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
2answers
37 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 ...
0
votes
0answers
23 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 [ ...
1
vote
1answer
27 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
19 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": [ ...
-1
votes
2answers
30 views

Turn on Virtualisation settings on Windows 2012 R2 [on hold]

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 ...
0
votes
2answers
24 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 ...
-1
votes
2answers
20 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
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 ...
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 ...
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
40 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
57 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
36 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
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 ...
0
votes
0answers
24 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 ...
0
votes
1answer
17 views

slaves get a connection timed out with hdfs

I have 3 node instances - master, slave1 and slave2 SSHing between these nodes works fine. Here is the processes that starts on each node when I say ./sbin/start-dfs.sh master: SecondaryNameNode ...
0
votes
1answer
39 views

hosting two public facing website on single ec2 instance

I am trying to host 2 website xxx.com and yyy.com on a single amazon ec2 instance. So far this is what I have done. Created ec2 instance with Ubuntu and set up apache, mysql & Php On Ec2 I ...
0
votes
0answers
18 views

AWS IAM policy for Action ec2:CreateSnapshot fail when using an ec2:ResourceTag Condition

I am trying to limit a IAM policy for a Role to only allow creation (and deletion) of snapshot based on the presence of a specific Tag. This is my policy: { "Statement": [ { "Resource": ...
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
0answers
9 views

GlusterFS Fast Write Slow Read on CentOS EC2

As part of my testing stateless instances, I have setup GlusterFS in the following configuration: 1x m3.medium Amazon Linux GlusterFS Server, acting solely like a NFS share. 2x m3.medium CentOS ...
0
votes
1answer
30 views

AWS connecting between instances within availability zone

Few questions: Are us-east-1a, us-east-1b, and us-east-1d considered one or three availability zone? Say I have two instances within us-east-1a, one has a mongodb server, the other has a nodejs app. ...
0
votes
1answer
25 views

Problems with a PHP include from the command line (or cronjob) [closed]

I am trying to setup a cronjob on my AWS EC2 instance. There is nothing wrong with the actual entry in the crontab file but when I try to run the command in the command line I get this response. PHP ...
2
votes
2answers
307 views

EC2 & MySQL security

The current infrastructure contains two servers located in Amazon EC2: application server, and MySQL server. Concern: security of communication between the application server and the database, ...
0
votes
1answer
34 views

Extremely high bandwidth usage on Amazon EC2 instance

I have a m3.medium instance on Amazon EC2. Things are under development and my usual bandwidth usage is no more than 200 to 300 MB per day. I just noticed a spike in my EC2 bill and found out that I ...
1
vote
1answer
40 views

Telnet 3306 fails to connect to Amazon EC2

Ok, I know this has been asked a lot, but I've tried every advice I can find and I still can't telnet to my Amazon server on port 3306. Add iptables entry for accepting connections on port 3306: ...
0
votes
2answers
46 views

AWS ec2-user permission denied [closed]

I have my Apache HTTP server on Amazon Linux AMI. I am trying to install a Prestashop on my root directory subfolder as an ec2-user via SSH. cd /var/www/html but when I tried to create a directory ...
0
votes
1answer
29 views

How to set up routing tables in EC2, so that ping works

I have a wide open security group which I rely on for instances to be able to connect. I also have a private network of 172.*. addresses, as shown here: What do I need to do in order to allow ...
0
votes
0answers
23 views

SSH into EC2 instance through a “bridge” instance

I need to ssh into an EC2 instance which can only be accessed from another EC2 instance. So I've tried something like this ssh -N -L -i target_instance.pem localhost:22:ec2-user@10.0.0.1 -i ...
0
votes
0answers
52 views

MySQL replication across availability zones in AWS resulting in lag

I have 3 EC2 instances, each running MySQL. 2 are slaves replicating from the master. The master is located in the availability zone eu-west-1b. One of the slaves is in the same zone, and the other ...
0
votes
0answers
15 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 ...
0
votes
1answer
96 views

Amazon EC2 t1.micro instance [closed]

Is there Amazon EC2 t1.micro instance using HVM virtualization? Currently I'm trying to use it for Apache, Stratos, PHP, Cartridge. But it gives the following error: TID: [0] [STRATOS] ...
0
votes
0answers
24 views

Web server directory structure with additional volume for media (in Amazon EC2)

I'm re-building my server (LAMP) structure. I have now only one root volume that includes all data. Now i'm adding (EBS volume) for userdata like media etc. so i can just backup that volume and not ...
0
votes
1answer
32 views

Copy EC2 instance between regions

On the amazon ec2 Singapore region I have a single windows machine with an elastic IP. I want to close this machine to the San-Paulo region so I will have two independent machines with the same ...
0
votes
1answer
17 views

Unable to connect to Amazon EC2 and run pig

I have made an EC2 key pair and saved it to a location under my home directory on mac. Also I have changed permissions with 'chmod 600 /path/to/saved/keypair/file.pem'. Now I have followed the ...
0
votes
2answers
31 views

Keypair with Shellinabox?

I've got an Amazon EC2 instance with a keypair, and I want to setup shellinabox so I can ssh from any web browser. However, shellinabox only seems to allow password logins and I wasn't able to find ...
0
votes
1answer
25 views

On EC2, when does the host key change?

I have an instance on EC2 that I think I Stopped at one point or another. When I restart it and tried to ssh in, I got those messages about the host key having changed. But why? Is it because the ...
0
votes
1answer
37 views

Setting up port redirection on Windows Server 2012 in Amazon ec2

I have a couple of servers in amazon EC2 One server is a Windows Server 2012, is used to host a web application, there is an elastic ip address attached to this server. The second server is a linux ...
0
votes
1answer
36 views

Not able to assign elastic ip using knife

I want to create a EC2 instance using knife with an elastic ip assigned to it. Knife has the option --associate-eip but when I use this option it fails with error "ERROR: Elastic IP requested is not ...
0
votes
0answers
39 views

EC2 Security Groups and Postfix

I am having some difficulty getting ports open on EC2. I setup an EC2 instance and opened up SSH (tcp:22) initially. Then I configured Postfix and was successfully able to connect (telnet to port ...