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
votes
1answer
51 views

How to run a shell script on all amazon ec2 instances that are part of a autoscaling group?

Can anyone please tell me how to run a shell script on all the ec2 instances that are part of a auto scaling group. The scenario is that i have a script that i want to run on many ec2 instances that ...
1
vote
1answer
32 views

Locating bandwidth bottleneck

I am using FFMPEG to encode a video stream that is sent to a server at EC2 through ELB. I was only able to get about 2Mbps/15fps throughput to the EC2 instance. Through process of elimination, I ...
0
votes
0answers
24 views

Fabric: Using ssh_config settings on env.gateway

I have a relatively standard AWS setup, that looks like this: [ App server ] \ [ App server ] -- [ Dev gateway ] [ App server ] / Where the servers are only accessible over 22 from the gateway's ...
0
votes
2answers
3k views

EC2 instance always ask me to enter passphrase for the pem during connection

The pem file is generated by AWS console I was able to connect using the EC2 remote web interface, using the same pem file The permission of pem is 600 already Error.. ssh -i ~/test.pem -v ...
-2
votes
0answers
17 views

/dev/xvda1 full , though there is no temporary files [migrated]

I have AWS ec2 micro instance, suddenly it shows memory full. I have checked the folder using df -hcommand. The result is displayed below. Filesystem Size Used Avail Use% Mounted on /dev/xvda1 ...
0
votes
2answers
267 views

How to create a smaller disk size Windows instances on Amazon EC2?

Does anyone know how to create smaller disk size Windows instances on Amazon EC2? Their default is 30 GB, and I have to pay $0.10/GB/month for EBS storage, which means that for each Windows instance I ...
3
votes
2answers
3k views

Is it possible to create an EBS AMI for windows EC2 instance?

We have a Windows server (EBS backed) running in EC2. We make regular snapshots for data backups. I'd like to create a new EC2 instance from one of these snapshots. Yes, I realise this is the same as ...
-1
votes
1answer
23 views

amazon ec2 linux redhat server install unar package

I'm just trying to install unar package for the purpose of uncompress compressed files. What I've tried is sudo yum install unar But it shows "No package unar available". I googled and downloaded ...
0
votes
4answers
48 views

How to mirror AWS EC2-Instance data?

Can we mirror one EC2-Instance data to another? For example let consider following scenario: I’ve ELB connecting with two EC2-Instance. Instance A Instance B In the instance A I’ve created simple ...
1
vote
1answer
260 views

Any way to block IP address host header spoofing?

I have already added the following the following to my nginx config to deal with spoofed domains: if ($host !~* ^(.*example.org|\d+\.\d+\.\d+\.\d+)$ ) { return 444; } Right now ...
-1
votes
1answer
58 views

Why the latency increases on highload? [closed]

We have a system built on AWS. We use Beanstalk, we have autoscaling, our database (mysql) is hosted on RDS. We use apache and php. We wanted to test our system on highload. So, we chose large ...
0
votes
1answer
37 views

Having trouble ssh into ec2 instance with elastic ip address

I have a new ubuntu EC2 micro instance in a VPN with what i think should be access from the outside world to ssh. $ ssh -i ./sendy.pem ubuntu@52.5.229.252 ssh: connect to host 52.5.229.252 port 22: ...
0
votes
1answer
25 views

Ansible EC2 Hosts Script Missing Instance

For some reason, ansible's ec2 hosts is missing instances. ec2-describe-instances returns the correct instances, but /etc/ansible/hosts does not: [root@or-manage ec2-user]# ec2-describe-instances | ...
-1
votes
0answers
13 views

Stop sending all ec2 instance package upgrade email to client

Our client (he is non technical person) keep getting daily email for package upgrades/updates happening on his ec2 instances of his. something like this Unattended upgrade returned: True Packages ...
0
votes
0answers
25 views

can't ssh on ubuntu, ec2 suddenly. stuck on “Sending env LANG = en_IN”

Suddenly I am not able to ssh (with pem file passwordless login & with password both) My pem file has not been changed, It was working fine till yesterday. Here is ssh -v output ...
0
votes
0answers
18 views

EC2 CFN IAM: allow instances in ASG to manage their own volumes

I have an auto scaling group defined in a CloudFormation template. The launch configuration associated with the auto scaling group has an IAM instance profile attached. Is there any way to define a ...
-3
votes
1answer
26 views

How to upgrade PHP version in multiple AWS EC2-Instance?

Can we upgrade versions in multiple EC2-Instance at the same time? For example let’s say I’ve ELB connecting with two EC2-Instance. Instance A (running PHP 5.3) Instance B (running PHP 5.3) Here ...
0
votes
1answer
204 views

PHP version conflict in Amazon Linux EC2 instance

I've lunched a fresh instance from the AWS -> EC2 console panel. After that when I logged into the instance via SSH and executed the following line: (note I executed first the sudo yum update before ...
4
votes
3answers
3k views

Can't change assigned key pair on amazon ec2 instance

I can't seem to find the option to assign a newly created key pair to an amazon ec2 instance after deleting away the original key pair. I wanted to "deny" the first key pair from access to the ...
0
votes
0answers
21 views

Multiple static IPs Amazon EC2

I want to have multiple sites with SSL on IIS (Windows 2008 R2 on Amazon AWS). I've read this other question and the documentation in Amazon where it explains how to add another IP. My question is, ...
1
vote
2answers
187 views

AWS Custom AMI not running userdata script

We bake AMI's and lately I have wanted to run some user-data scripts to notify cloud formation when the instance is done booting and put it into service. I am using cfn-signal to do this. On the ...
1
vote
3answers
493 views

Shared encrypted filesystem for ec2 instances

Me and my company intend to start using ec2 for distributing some cpu-intensive pieces code, involving a few 10s of gb of data, however I have some concern about the protection of the intellectual ...
0
votes
1answer
53 views

t2.micro EC2 Ubuntu, t2.micro RDS MySQL. Server crashes after DB reaches ~60 connections [closed]

So I have the following setup: Server - t2.micro ECU Ubuntu instance Database - t2.micro RDS MySQL instance. The stack is a basic LAMP stack with default Apache settings. I am basically running ...
1
vote
2answers
65 views

Can we launch website without AWS Load Balancer?

I've requirement that I want to publish a small web CMS in a CLOUD environment. Therefore I thought since I've a AWS account and go for it, but my client does not want bear any high cost. So I'm ...
3
votes
1answer
701 views

The site is using outdated security settings that may prevent future versions of Chrome from being able to safely access it

We're using an AWS ELB to do SSL termination and are having an issue where Chrome is displaying "https" in red with a strikethrough. It says "The site is using outdated security settings that may ...
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
37 views

AWS DNS Error - SERVFAIL

So I have followed the configuration guide provided by Amazon (http://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingNewDNS.html), but I cannot get the URL/Domain to be send out to the name ...
1
vote
1answer
1k views

How to configure network on EC2 instance launched by Vagrant?

This is my AWS setup: 1 VPC with: default public subnet, 10.0.0.0/24 1 EC2 micro instance, private 10.0.0.172 and public Elastic IP 1 RDS instance, running MySQL The EC2 instance has network ...
0
votes
1answer
42 views

Naked domain not working on VirtualHost for EC2

I am using AWS EC2 and I am redirecting example.com domain to a directory in EC2 with the following virtual host: NameVirtualHost *:80 <VirtualHost *:80> ServerName www.example.com ServerAlias ...
0
votes
2answers
30 views

Creating an AWS disk that I can access from separate servers

I would like to use a load balancer to rotate traffic between two separate servers. These servers will need access to a single data store (to save files, documents, images, etc.). Is it possible to do ...
1
vote
1answer
1k views

Open ports between Elastic Beanstalk and one EC2 instance on AWS

I currently have the following setup: An API (Node.JS) running using Elastic Beanstalk, which is currently only running one EC2 instance A MongoDB instance running on a seperate EC2 instance ...
1
vote
2answers
2k views

How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. So, there is a NAT server in public subnet which forward all ...
4
votes
2answers
3k views

Assign multiple Elastic IPs to EC2 instance

When I try and associate a second Elastic IP to a small EC2 instance, the currently assigned Elastic IP is disassociated. Do I need to use a VPC?
8
votes
5answers
4k views

How to move S3 bucket to different location

We use S3 for storing millions of entries in our webapp, now we move the whole thing to EC2, EU servers, and we also want to move that S3 data to EU. But the bucket we use is in US, and there seem to ...
0
votes
0answers
50 views

How to auto assign public IP for VMs imported from vSphere in AWS - EC2

I was trying to import a Linux VM running in my VMware infrastructure to my AWS-EC2 account using the ec2-import-instance CLI. The VM gets successfully imported to EC2, but on starting it up its not ...
0
votes
1answer
45 views

ephemeral storage of Amazon EC2 instance

I have created new ec2 (m3-large) instance on Amazon with root partition 80GB.But mnt partition it automatically mounted with 30 GB. Will the ephemeral storage be charged ?
0
votes
1answer
2k views

ssh: connect to host port 22: Connection refused -> AWS

Just moved offices. Our production servers are on AWS and the Security Groups have being updated to reflect our new External IP. I have tried another computer with the same response both Mac OS X. ...
-1
votes
1answer
22 views

enable ip forward with specific port

I have two servers the first one under Linux (Amazon Linux) server with two network card eth0 (IP 1.1.1.1), and eth1 (IP 2.2.2.2), and the second one under Windows server 2008 R2 (IP 3.3.3.3 install ...
-1
votes
4answers
2k views

yum won't update my glibc packages

Is there any way to fix corrupted "yum"? This is what I got myself into by accidentally pressing ctrl+c while doing sudo yum update on an amazon linux EC2 instance $ sudo yum update Loaded plugins: ...
3
votes
2answers
19k views

RSA certificate configured for SERVER does NOT include an ID which matches the server name

I recently started a LAMP server (all the latest versions) w/ WordPress on it, and I'm trying to install a SSL certificate that I recently purchased. When I restart apachectl, error_log gives me this: ...
0
votes
0answers
20 views

OpenSSH Won't Start on Ubuntu EC2 Instance

My Amazon EC2 instance's openssh server fails on boot ever since I scaled my instance. I have tried following these instructions here: ...
3
votes
2answers
4k views

FTP - 500 I won't open a connection to xx.xx.xx.xx

I'm running a server on AWS and I'm connecting out to a partner's FTP site (not much idea what they are running). My server has an elastic IP. In the results below xx.xx.xx.xx is the internal IP ...
1
vote
2answers
912 views

Unexpected behaviour when dynamically add node in HAproxy server

I wanted to use HAProxy for my web app for load balancing purpose. I am trying to add a new rabbitmq node dynamically in HAProxy server using command : haproxy -p /var/run/haproxy.pid -sf $(cat ...
13
votes
3answers
5k views

How to change the name and description of an AWS EC2 security group?

How do you change the name and description of a security group in AWS EC2? My security group is named quick-start-1 (the default) and I want to change it to "HTTP, HTTPS and Limited SSH".
0
votes
0answers
51 views

can' t access ec2 instance for additional user with sftp or ssh - key refused

I keep getting server refused our key error with putty/public key rejected error in filezilla when trying to access my ec2instance with a new user. Access works fine for both ssh and sftp with the ...
0
votes
0answers
12 views

appropriate traffic to load test couchdb horizontal scaling

I'm designing the CouchDB backend to my web application, and I want to estimate how many GETs and PUTs per second I can achieve with a given number of instances. (Arguably I should be testing view ...
6
votes
5answers
14k views

Amazon EC2 - No SSH After Reboot, Connection Refused

I've replicated this two or three times, so I'm guessing there's something wrong with what I'm doing. Here are my steps: Launch new instance via EC2 Management console using: Ubuntu Server 13.10 - ...
-1
votes
0answers
21 views

Connect EC2 with RDS

I am trying to move my CMS from 1&1 to AWS. The CMS was built using PHP + MYSQL. I have completed the following steps in AWS - I created an EC2 instace I uploaded a php script to test if ec2 ...
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 ...
11
votes
3answers
8k views

Create an AWS HVM Linux AMI from an Existing Paravirtual Linux AMI

Is it possible to create a hardware virtual machine (HVM) AMI from an existing paravirtual (PV) AMI. My initially thought was to start a new PV instance and use the ec2-create-image command to ...