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

How to reduce AWS EBS root volume size?

Enlarging an EC2 instance is easy like a breath (for instance, create an AMI, launch an instance from it and then change the storage size). But reducing it becomes more difficult. I’d like to reduce ...
1
vote
0answers
14 views

How to correctly setup multiple IP addresses pointing to one instance in EC2?

I currently have one ec2 instance which I'd like to have 2 public IPs pointing to. I have 2 EIPs allocated, 2 network interfaces to which the EIPs are attached and which are both attached to the ...
0
votes
1answer
10 views

Which IAM permissions are needed for ec2-create-image?

I looked through the official docs and couldn't seem to find any reference as to which permissions the IAM user needs in order to be able to use this command. I want the IAM user to only be able to ...
0
votes
0answers
17 views

Mount the other half of instance store volume

I have a running c3.xlarge EC2 instance on AWS. As listed in http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#StorageOnInstanceTypes , it should provide 2 x 40GB SSD instance ...
-2
votes
0answers
35 views

AWS are blocking port 80 on my EC2 instance

I have an NGINX stack running on a Server 2008 EC2 instance. The pages are visible in the local browser, but I can't access the pages from the outside. I've set up a security group for HTTP and HTTPS ...
-4
votes
1answer
22 views

Domain transfer from godaddy to AWS ec2 [on hold]

On EC2 i just started a micro instance and installed ubuntu 14.04 with php apache mysql.Now i can access its from an ip like this 192.xxx.xx.xx. Also i have domain name say www.example.com registered ...
0
votes
0answers
11 views

SQL Server 2012 Web uses max 4CPUs. AZ RDS allows deployment on R3.2xLarge (8vCPU) instance. Why?

According to MS documentation, SQL Server 2012 Web Ed. is limited to use 4CPUs. However, Amazon RDS allows it to be deployed on R3.2xLarge instance. BTW, R3.2xLarge offers 8vCPUs. So is it helpful ...
0
votes
0answers
14 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
11 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
15 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
22 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
27 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
20 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
35 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? [closed]

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

Does OpenShift support IP broadcast and multicast? [closed]

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
15 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
26 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
33 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
20 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 ...
6
votes
3answers
122 views
+50

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
16 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
29 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
33 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
37 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
28 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
48 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
23 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
42 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
44 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
15 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
53 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
18 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
19 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
18 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
26 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
45 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
33 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
18 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
20 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
24 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
143 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
28 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
16 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
20 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@_________ ~]$ ...