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
0answers
28 views

Elastic Load Balancer connection draining causes a blank page for some web sessions

I'm running 3 EC2 instances behind an ELB with connection draining enabled (set to 300ms). When I remove an instance from it, I can see fewer and fewer web requests in the server log until eventually ...
0
votes
0answers
39 views

Best practice of using MongoDB Replica Set on AWS EC2

MongoDB needs at least three replica set members on independent locations to work automatic failover correctly. However, some of AWS Regions (such as ap-northeast-1) have only two Availability Zones. ...
0
votes
0answers
71 views

VPN to Windows Server 2012 on ec2 not routing

I have a Windows Server 2012 instance on EC2 so I can VPN into the private network to access machines not exposed via a public IP. I can connect to the Windows Server VPN by its public IP and ...
-1
votes
1answer
31 views

How to change volume mount

I have two volumes in my EC2 ubuntu instance: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvdb 202:16 0 40G 0 disk /mnt xvda1 202:1 0 400G 0 disk / I want the 400GB one to be the main ...
0
votes
0answers
53 views

crontab at reboot for EC2 instance

I'm trying to mount an EBS volume after restart. It does not work. I set the mount after reboot, in the following manner: echo "@reboot 'sudo mount $DEVICE_PATH $TARGET_PATH -O noatime,noexec'" | ...
1
vote
1answer
57 views

What's an inexpensive way to connect 3 sites over VPN, each with dynamic IPs?

I have 3 networks that I would like to connect to each other over VPN (IPSec or OpenVPN). Each site has a single dynamic public IP address and is running NAT. How can I connect each of the sites ...
0
votes
0answers
85 views

'end_request: I/O error, dev xvda1' after rebooting AWS EC2 instance

I rebooted one of our Amazon EC2 instances after having some performance problems and had a look at the Actions > Instance Settings > Get System Log to see this: Amazon Linux AMI release 2014.09 ...
0
votes
0answers
32 views

Logging into an AWS EC2 instance from another machine in EC2

I have a few AWS EC2 instances that can SSH into each other. They are not in a VPC as this is an older AWS account and was active before VPC. One particular EC2 instance (zeta) is not able to SSH into ...
0
votes
1answer
154 views

Adding new user to AWS EC2 - Permission denied (publickey)

I am trying to set up a new user for my AWS EC2. I have followed step by step this tutorial but I get Permission denied (publickey) error. I tried as well creating a newuser-key-pair.pem from AWS EC2 ...
0
votes
0answers
37 views

Ansible fails to create Amazon EBS-ctorage

I have a problem - trying to automate the purchase of new EC2 instances. Here's my playbook: --- - name: Provision new EC2 instance hosts: local connection: ...
2
votes
0answers
30 views

Tuning Amazon Linux worker tier

I have a worker tier that is using PHP process control (pcntl) functions to send multiple requests to the SNS service in parallel. My question is how best to tune MPM_PREFORK directives to get the ...
8
votes
5answers
226 views

High load due to I/O wait in Ubuntu 12.04 on EC2 instance

I am using Ubuntu server 12.04 , having trouble finding cause of load, I have seen change in response time of server from past week after reading Linux Troubleshooting, Part I: High Load It seems ...
0
votes
0answers
29 views

AWS EC2 Instance Shutting Down Prematurely (Possible Xen Driver Issue)

Currently trying to run a JSON Script using CloudFormation via the AWS Console and we're coming across a very frustrating error. The Instance seems to start up, and gets past the 2/2 Check in the GUI ...
0
votes
1answer
46 views

How to diagnose Nginx bottlenecks at specific number of users

Firstly, I know this is a loaded question, but I hoping that you guys will be able to point me in the right direction.... We've got a number of nginx-fronted web heads which site behind an AWS ELB. ...
0
votes
1answer
51 views

Disabling SSLv3 in ELB on Amzon linux ec2

Hi I have Elastic Load Balancer on which I've deployed my ssl certificates and when i check on the web it say site is vulnerable because of SSLv3 is enabled on the site. So my question is What ...
1
vote
1answer
93 views

AWS CLI Command Line: How to use “--query” to output multiple source lines

I am using aws-cli version 1.7.8 to get the --query output to create one record that is derived from multiple lines. In this case I am trying to get specific information from describe-instances. In ...
0
votes
1answer
59 views

Can't reset permissions on amazon ec2

I've a big problem: when I try to sudo something, this is what append: sudo: /etc/sudo.conf is owned by uid 222, should be 0 sudo: /etc/sudoers is owned by uid 222, should be 0 sudo: no valid ...
0
votes
0answers
37 views

Unable to traceroute on Amazon EC2 Ubuntu

I have setup a brandnew Ubuntu 14.04 instance, with a public IP, with a security groups that allows all inbound and outbound traffic using all protocols on all ports from/to any IP. I have installed ...
1
vote
0answers
54 views

Amazon IP no longer allowing MySQL connection (Error 104)

I am working on a group project that uses an Amazon EC2 server for hosting phpmyadmin. We have a PHP/MySQL website hosted on my school's server that makes database connections to amazon. Recently one ...
0
votes
0answers
66 views

Environment variables using AWS CodeDeploy

I have a web application that utilizes environment variables for some of its configuration (DB credentials, API keys, etc). I'm currently using Elastic Beanstalk for deployment and can easily set ...
0
votes
2answers
48 views

AWS EC2 : No HTTP Traffic after reboot but SSH is ok

I have a small ami EC2 instance @ AWS. I had to reboot yesterday and after reboot, I couldn't access the websites hosted on the EC2 while there was no problem at all through SSH. Things I checked ...
0
votes
2answers
55 views

Why I cannot access EC2 instance public IP from inside of instance itself?

Here is an example, I have an Linux instance , say, private IP is 10.10.10.10, public IP is 54.54.54.54. Inside the instance, I could successfully ping it's private IP(10.10.10.10) and localhost. ...
0
votes
0answers
38 views

Django/Tastypie: RDS is damn slow compared to EC2-MySQL

Initially my setup was: EC2 (Apache -> Django -> Tastypie) -> MySQL on EC2 itself. One of our API (Tastypie) does almost 80 SQL SELECT queries to fetch related resources and attributes. For local ...
0
votes
0answers
110 views

AWS EC2 instance hyperthreading

I am currently doing some performance testing of web-apps that we have moved to AWS. One of the things we have noticed is that vCPU performance doesn't seem to be nearly as good as we'd expected. In ...
0
votes
1answer
21 views

Create Windows AMI from EBS snapshot

I made an AMI from a Windows snapshot using AWS Console, but the operation created an AMI of type "Linux (Other)". Funnily enough, the AMI launches and AWS charges the Linux price (!). However, I am ...
0
votes
1answer
41 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
0answers
41 views

Port not opening even after adding security group rules on Amazon EC2 instance

I have an Amazon EC2 Linux instance. I recently installed SmartFoxServer in my instance. For that I needed to open 9933 port. So I just created inbound rules on Amazon EC2 Manager console website. My ...
0
votes
1answer
19 views

Amazon Custom AMI

If I create a custom AMI for an EBS backed EC2 instance after installing numerous applications and making lot of config changes to the EC2 instance like IP Tables, httpd.conf file etc... Will the ...
1
vote
1answer
34 views

Remote port forwarding not working

I have a test app I run locally, and use remote port forwarding to give others access to it. This was working just fine, until I set up a new server instance on EC2. The EC2 server runs CentoOS 7. ...
0
votes
1answer
148 views

EC2 instance running apache tomcat not accessible from outside

I have a 64-bit amazon linux instance in aws. I am running apache tomcat6 running on that machine. sudo fuser -v -n tcp 8080 USER PID ACCESS COMMAND 8080/tcp: ...
0
votes
1answer
50 views

Multiple Ec2 instances on Amazon free aws account

I created amazon micro instance with IP ec2@x.x.x.x.com . While using amazon free service, if I create 2nd micro instance then will it be chargable? or only one micro instance is available on for ...
0
votes
1answer
33 views

Disk root error on start instance on “Amazon Web Services (AWS)” EC2

I "Detach Volume" and "Attach Volume" again. After that I want "Instance Start" but I get immediately message Error starting instances Invalid value 'i-{id}' for instanceId. Instance does ...
0
votes
0answers
36 views

How can I use AWS placement groups with ironfan?

I would like to use AWS placement groups in order to decrease latency between my front-end server and back-end servers in a particular availability zone. We use the Chef orchestration layer Ironfan, ...
0
votes
0answers
25 views

Sharing between EC2 Instances not working

I want trying to setup a render farm in AWS where I created all my instances using my 'Windows 2008 Base' based AMI. I will have one manager instance which is attached to EBS drive (D drive) and this ...
0
votes
3answers
204 views

client denied by server configuration: /opt/bitnami/apps/wordpress/htdocs/

I have word-press website on ec2 with bitnami image in error log file i am getting bellow snippet error. I have overwrite default htaccess.conf file with my .htaccess file now the path for ...
0
votes
1answer
24 views

Cam I instruct an AWS EC2 instance to run in “maintenance” mode with cloud-init (user data)

I have an AMI image I'd like to update, i.e. start an instance from it, do some edits/updates, and save a new AMI from the instance. But while I do my edits I don't need the full system running, I ...
1
vote
1answer
26 views

AWS Security Group settings for public application

I'm a bit confused by AWS security groups. I have an application on EC2 that I need accessible to everyone (in theory) in the world. AWS says this though: "If you use 0.0.0.0/0, you enable all IP ...
0
votes
1answer
302 views

How can I upgrade to Java 1.8 on an Amazon Linux Server?

I tried sudo yum update but it just keeps java "1.7.0_75". I need 1.8 for it to work with another application but can't figure out how to upgrade it. Do I need to manually install it somehow? There's ...
0
votes
1answer
45 views

Assign two domain names to a single EC2 instance

I am running an AWS EC2 Linux instance with Elastic IP a.b.c.d. and I am hosting two different websites on it: ServiceA: http://a.b.c.d/serviceA ServiceB: http://a.b.c.d/serviceB I have purchased ...
0
votes
0answers
27 views

not able to map domain name 53 to EC2 instance

I am facing the issue with assigning the new domain name I brought in route 53. I followed the instructions in http://coenraets.org/blog/2012/01/setting-up-wordpress-on-amazon-ec2-in-5-minutes/ and ...
0
votes
1answer
221 views

EC2 instance not working with Amazon route 53 domain name

I have an EC2 instance running with following details - t2.micro - virtualization type = hvm - Elastic IP assigned = 54-152-108-137 - Public DNS assigned = ...
1
vote
2answers
107 views

Copying data between AWS EC2 machines

There are times where, in order to do some debugging or perhaps a manual migration, I need to copy large chunks of data from one EC2 instance to another. When the size of the data is tiny, it's simple ...
0
votes
1answer
35 views

How to list EC2 security group *rules* from within instance?

I have SSH root access to an EC2 instance but no access to the AWS Console / AWS KEY & SECRET. My incoming traffic to this host on all TCP ports except 22 TCP seems to be blocked - I cannot ...
1
vote
0answers
66 views

How to best use Amazon's “ephemeral” SSD devices under Linux? [closed]

Amazon attaches "ephemeral" SSD device(s) to most of the instace-types -- these are included in the cost of VM, are fast, but any data on them is lost, when the VM is shut down. How to make the best ...
0
votes
0answers
61 views

How to deploy in amazon ec2 through bitbucket

I have a django project and have my repository in bitbucket and locally (windows 7). Now I want to deploy the changes to amazon ec2 instance (ubuntu 14.04) by doing git push and git pull. I did git ...
0
votes
1answer
205 views

Subdomain using AWS Route 53, load balancer, EC2, Apache

I've tried to follow a few different tutorials on this, but can't quite get it to work. I have all of my DNS for my domain (example.com) in Route 53. Works fine. My top level domain (A record) ...
0
votes
0answers
33 views

EC2 Ubuntu 12.04 refuses do-release-upgrade

I'm running Ubuntu 12.04 on EC2 and I want to upgrade to 14.04. do-release-upgrade returns that there are no upgrades. do-release-upgrade -d begins to work and then halts stating: Calculating the ...
0
votes
0answers
55 views

Windows VPN Server on Amazon EC2 Instance

we are small software company. Our web/db servers were in different networks. Recently we decided to create small network on Amazon EC2 and move all those servers to EC2. I have created several ...
2
votes
0answers
46 views

Amazon AWS EC2 image shutting itself down [closed]

We have a Bamboo elastic instance running on Amazon AWS EC2, which is running Windows Server 2008 R2. There have been multiple times that the instance has shut down automatically. This has occurred ...
0
votes
1answer
89 views

How to avoid GRUB errors after runing apt-get upgrade - ubunut

I'm running ubuntu 14.04 on an EC2 After running apt-get upgrade I'm prompted with a screen that asks me to reinstall GRUB boot loader The GRUB boot loader was previously installed to a disk ...