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
53 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
34 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
30 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
270 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
32 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
58 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
271 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
63 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
54 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
37 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
42 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
27 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
29 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
234 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
23 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
198 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
496 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
75 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
67 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 ...
0
votes
1answer
39 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 ...
0
votes
1answer
55 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
31 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
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
67 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
49 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 ?
-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
21k 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
5k 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 ...
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
65 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
13 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 ...
12
votes
3answers
9k 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 ...
0
votes
1answer
44 views

Current setup maxing CPU. Need help designing AWS architecture and MySQL Clustering via AWS RDS instances

My company runs a mid-sized eCommerce (30,000-50,000 unique views monthly) shopping cart using X-Cart as a back-end. We are in the processing of redesigning and upgrading our back-end software. We are ...
21
votes
3answers
10k views

How can I check /dev/xvda1?

On login to EC2 (Ubuntu) instance, I see *** /dev/xvda1 should be checked for errors *** I can't fsck /dev/xvda1 because it is mounted, and sudo umount /dev/xvda1 fails because it is in use. lsof ...
3
votes
4answers
2k views

How can I automatically cycle a new image in an AWS Auto Scaling Group?

I have a web application setup with a load balancer and auto scaling group to manage scaling. The source code is in a git repository so I don't have to update the images when the code changes, but ...
5
votes
1answer
85 views

Can't install PM2 services via Ansible on an Ubuntu EC2 instance

I'm using Ansible to create a pm2 service on a EC2 / Ubuntu instance. Below is the script. When I run it, PM2 is installed and the service is enabled. When I run pm2 list, I don't the see the ...
0
votes
0answers
56 views

Connect to a Server from my AWS EC2 instance

I have a app running on AWS EC2 which connects to a database in another server. The database connection Uri is as following, jdbc:XXX:172.18.2.107:3306/database This is what I got form my ...
0
votes
0answers
74 views

502 Bad Gateway from relocated instance on AWS EC2

I tried to move some instance from tokio region (which by the way, it's working normally) to sao paulo region, then I followed this basic steps to perform but when I launch the instance from the ...
0
votes
2answers
858 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
33 views

what would be the Impact of using Multiple sites in same VPC on AWS platform?

I have a site running on four server inside of a VPC on aws platform. My question is would their be any impact on site if I host another website on four new server in the same VPC considering their ...
-4
votes
1answer
39 views

Does it cost anything just to allocate an elastic IP? [closed]

The title is pretty much self explanatory. When I click the "Allocate New Address" button in the EC2 console does it cost me anything?