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
6 views

Unable to open redis 6379 for inbound on AWS EC2

I have two servers on EC2. One hosting my php application and other hosting my redis server. I am managing my php session and data on redis server. So on my php server I gave the ip:port as session ...
0
votes
0answers
6 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
11 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
14 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
22 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
10 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
30 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 ...
-1
votes
0answers
23 views

How to request EC2 instance in a specific availability zone? [on hold]

I'm running some spot instances on EC2 and just noticed a weird behavior about what zone they end up in by default. How do I request a spot instance in a specific availability zone? I don't see ...
0
votes
0answers
10 views

Does OpenShift support IP broadcast and multicast? [on hold]

I know that Amazon AWS doesn't support IP broadcast and multicast (http://aws.amazon.com/vpc/faqs/). Does OpenShift support it?
0
votes
0answers
9 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
24 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
28 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
18 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
22 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 ...
-1
votes
0answers
33 views

Cannot add host to a Network Load Balancing cluster [closed]

I'm trying to setup Network Load Balancing (NLB) with two nodes in Windows Server 2012. I've created two servers on Amazon EC2 from an existing image. I've created user accounts with administrator ...
0
votes
0answers
15 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
0answers
27 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
27 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
0answers
23 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
35 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
25 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
47 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
18 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
40 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
0answers
16 views

Analysis of scalability with Amazon AWS and 150 / 200k active users [duplicate]

I have a (probably) strange question ... I have to realize approximate analysis regarding the choice of architecture servers. I need to locate the scalable architecture server to identify possible ...
0
votes
2answers
38 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
14 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
50 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
16 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
17 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
12 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
16 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
23 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
41 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
29 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
17 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 ...
-1
votes
0answers
17 views

How to enable ICMP echo replies on AWS EC2?

While traceroute seems to work on AWS EC2 $ traceroute www.google.com traceroute to www.google.com (216.58.217.100), 30 hops max, 60 byte packets 1 * * * ... 17 209.85.242.140 (209.85.242.140) ...
0
votes
0answers
23 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
19 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
138 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 ...
-1
votes
0answers
26 views

Why does the EC2 (Amazon) server keep refusing connection to host with Presto?

I got Presto launched but when I try to create a table like the following: //code is irrelevant -> CREATE TABLE verifier_queries( id INT NOT NULL AUTO_INCREMENT, suite VARCHAR(256) NOT ...
0
votes
1answer
15 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 ...
0
votes
1answer
19 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 ...
-3
votes
0answers
46 views

How can I make presto (or anything) an executable file on a Linux Server? [migrated]

I tried CHMOD along with the file directory but it just can't seem to find it for some reason. I've tried the following: -bash: homeec2-user: command not found [ec2-user@_________ ~]$ ...
-1
votes
0answers
24 views

Error while trying to run a cron job

I'm new to using cron and I'm trying to set up a cron job for automated Amazon EBS Snaphots, and when I try running the cron job right away like so: * * * * * deploy ...
0
votes
1answer
53 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
34 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
23 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
49 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
64 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 ...