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
vote
2answers
854 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 ...
-2
votes
1answer
24 views

Ubuntu EC2 AWS Ghost deployment is deleted after a couple of hours

I am new to AWS, I am trying to learn how it works. I deployed ghost following this guide http://aexmachina.info/installing-ghost-on-ubuntu-and-aws-ec2/ and worked perfectly. The problem is that after ...
4
votes
2answers
791 views

Create directory before binding via /etc/fstab

I have this line in my /etc/fstab: /mnt/tmp /tmp none bind,nobootwait On EC2 however, /mnt may be lost during restarts causing the mount to fail due to non existent /mnt/tmp. So is there a ...
4
votes
1answer
35 views

Create an IAM Policy that allows everything except IAM except PassRole

I'm attempting to modify an IAM Policy so that users can associate an IAM Role with EC2 instances that allows Read Only rights to our S3 buckets. Our teams do quite a bit of R&D with AWS, and so ...
0
votes
1answer
43 views

EC2 Failing Load Balancer Health Check

One of my projects is an internal web app which we are putting behind a load balancer. As of now there is only one ec2 (will be more in production) and the load balancer is not able to reach the ...
1
vote
2answers
42 views

EC2 linux any and all upstart jobs returning “unrecognised service”

Having a nightmare migrating some upstart jobs from Ubuntu to EC2 Linux (ElasticBeanstalk) I am unable to get even the most basic task to work. I am using the script below which works perfectly on ...
0
votes
2answers
818 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 ...
0
votes
3answers
47 views

aws ec2 security group and centos ip tables

I try to change the SSH port from 22 to another port (218). In AWS EC2, I shall add the rules in security group or in IP Tables? Is there any guideline/references recommended for EC2 Security ...
0
votes
1answer
52 views

How do I link a security group to my AWS RDS instance

I have a postgres db setup on RDS. It is running great. However, I want to link this to a set of autoscaled EC2 instances sitting behind an ELB that all reside in a single EC2 security group. I've ...
1
vote
1answer
40 views

Instance created from shared snapshot gives Server refused our key error

I have created an instance from a shared snapshot from other aws account,following steps were done by me, 1.Share snapshot from other account. 2.copy it to my account. 3.create a volume from it ...
0
votes
2answers
517 views

EC2 elastic IP not resolving to private IP on debian instance

I've read on many sites that the answer to attaching multiple public IP addresses to an EC2 instance (for SSL, redirection, whatever purposes) is to create multiple private IP addresses, attach ...
0
votes
1answer
33 views

Is it possible to upgrade/downgrade from one Instance type to a completely different Instance type?

I know its possible to upgrade from one medium M3 Instance type to large M3. But what about upgrade from medium M3 to Large R3? Is this possible? (they are instance type) ...
1
vote
0answers
34 views

Connecting to a PostgresSQL Database Instance on Amazon Web Services

I've been trying to use the instructions found on amazon to set up my PostgreSQL database instance and connected it to PG Commander. After getting an initial connection error I checked to see if ...
0
votes
1answer
50 views

Unable to connect the Ubuntu EC2 instance to VPC LAN on AWS using secondary NIC adapter?

Infrastructure setup: VPC is created with 192.168.254.0/24 netwok Private subnet within VPC (Virtual Private Cloud) is created with 192.168.254.0/25 network Public subnet within the VPC is created ...
4
votes
2answers
3k views

Setting Up ELB with SSL - What is Backend Authentication?

I started setting up Amazon's Elastic Load Balancing Service for my server pool and I need to setup HTTPS/SSL. I have all my SSL Certificates setup, but then I come to the step for backend ...
1
vote
2answers
121 views

504 gateway timeout when accessing by hostname, but not by IP

I'm using Amazon EC2 with Elastic Load Balancing. On my web-based application, end-users connect to app.myapp.com get a 504 gateway timeout error when performing certain operations like converting a ...
11
votes
4answers
12k views

How do I Install Intermediate Certificates (in AWS)?

I have installed private key (pem encoded) and public key certificate (pem encoded) on Amazon Load Balancer. However, when I check the SSL with site test tool, I get the following error: Error ...
0
votes
1answer
43 views

Rebooting AWS EC2 instance not coming back online

About 40 minutes ago, I restarted my AWS EC2 instance using the admin panel. A moment later, the instance state was "running" again, and the status checks continued to pass. After about 20 minutes, ...
0
votes
2answers
1k views

ssh timeout issue connecting to an EC2 instance on OS X

I am new to AWS and not a networking expert but curious to know more about it. I created a VPC with a public subnet only. Then i created an EC2 instance using an Ubuntu 14.04 64-bit pv AMI image ...
0
votes
1answer
161 views

Can't use a Box in Amazon VPC subnet to connect to the other side of the site-to-site VPN tunnel which is already up

This is what I have done created VPC 192.168.0.0/16 created subnet 192.168.5.0/24 created internet gateway attached internet gateway to VPC created routing table set destination route 0.0.0.0/0 to ...
0
votes
1answer
32 views

Pricing of Key Pairs and Security Groups on AWS?

My free AWS account expired. I deleted all S3 and EC2 resources, but am wandering if I can leave the Key Pairs and Security Groups without having to pay for them. (My account resources look like this ...
1
vote
2answers
94 views

AWS EC2 Auto Scaling Groups, RDS, Route 53 and Constantly changing IP addresses

I setup an auto scaling group on EC2 along with an RDS Postgres instance. I am not using ELB. Maybe I should be... The challenge is that every time a new EC2 instance is created it assigns a unique ...
0
votes
0answers
33 views

Creating a Remote Desktop Session from within an EC2 server, not to it

Ok, I'm having problems answering this because I can't figure out how to word it. Most questions about "remote desktop" and "ec2" focus on remoting into an ec2 instance, which isn't necessarily what I ...
-2
votes
1answer
43 views

Determining the old MX record [duplicate]

Our sysadmin created our mailserver years ago before he left. We recently decided to use gmail as our mail app and they required us to change the MX record to point to them on amazon route 53 app. I ...
1
vote
4answers
382 views

Setup Apache in Amazon AWS

I tried to setup apache 2.2 in amazon aws using amazon ami. i did installed httpd and php and congirue http.conf to use /var/www/html. Then put file index.html on that folder. But when i tried to use ...
0
votes
0answers
65 views

Amazon VPC NAT performance problems

I have a set of servers inside an Amazon VPC, whose job is to get image files from S3 and process them. The S3 downloads would frequently stall, sometimes for over 2 minutes, but all would eventually ...
-1
votes
2answers
55 views

“Cannot open SSH Tunnel” on MySQL (corrected)

(help, patience and mercy... begginer lost haha) -Ok heres the deal, im trying to connect a EC2 Instance to MySQL throught SSH in MySQL Worckbrench -I set up the configurations this way SSH ...
0
votes
1answer
2k 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 ...
3
votes
2answers
383 views

Amazon EC2 VPC: NAT instance download speed performance drop

I have a set of servers inside Amazon EC2 in VPC. Inside this VPC I have a private subnet and a public subnet. In the public subnet I have set up a NAT machine on a t2.micro instance that basically ...
0
votes
2answers
74 views

installing Abbyy ocr server on Amazon — incompatible GLIBC

I'm trying to run ABBYY server (version 10) in Amazon EC2 instance. At home, I realized that Abbyy requires a different (lower) GLIBC version than the one that comes with Ubuntu 12.04. It installed ...
-1
votes
1answer
87 views

Why the time taken to fetch results of a query for 10,000 times from a RDS is so uneven? (experiment)

tl;dr : Why the time taken to fetch results of a SELECT statement for 10,000 times from a RDS when requested from an EC2 is so uneven? Updated the question with results of small and medium RDS ...
1
vote
2answers
70 views

How to setup a Domain Controller in the cloud

We are implementing a new Windows Server 2012 R2 domain controller for our 2 small offices, and we want to set it up on Amazon EC2. I have read that with this type of setup you normally use a VPN. How ...
1
vote
1answer
65 views

How to point AWS EC2 to Domain name server [closed]

I have amazon free tier ec2 account. Have deployed my java EE application into apache tomcat installed in AWS. I have created new elastic IP and associated with the public DNS of the AWS. Now I can ...
0
votes
1answer
28 views

30GB EBS Backed Ubuntu server showing 7.74GB in landscape-sysinfo

I created a ec2 instance with 30GB of EBS volumne. However when i SSH into my ec2 instance, the landscape-sysinfo says usage of 9.7% of 7.74GB. Wasn't it suppose to be 30GB instead of 7.74GB System ...
1
vote
1answer
204 views

Error after installing mysqlnd_ms

I am working on Amazon EC2 using the Amazon Linux AMI which is based on CentOS. I have installed php54 and php54-mysqlnd. Then I do a sudo pecl install myslqnd_ms. This installs fine. I add the ...
0
votes
0answers
101 views

apache is utilizing 100% of cpu usage on m3.xlarge ec2 instance running centos - how to tune apache?

I have recently migrated to amazon. I have m3.xlarge maching with 4 cpu cores and 15 GB RAM . But my site goes down suddenly due to 100 % cpu utilization. top command says apache is utilizing almost ...
0
votes
0answers
95 views

Mcrypt PHP extension fail on PHP 5.5 Amazon Linux

I'm installing laravel framework on my Amazon Linux Server, But once i compose and Laravel finish installing, laravel ask for Mcrypt PHP extension. then when i try to use command line to install ...
0
votes
1answer
110 views

Enabling TLS1.0? Cannot communicate securely with peer: no connection encryption algorithms

For over a year I have been running a photo based website that allows customers to order prints, which are subsequently fulfilled by a printing company. Orders are posted in XML format to a ...
1
vote
0answers
21 views

ModSecurity on Apache 2.2 in EC2 - HTTP Status 413 messages dropped

Hi I am running Mod_Security on Ubuntu instances in EC2 behind an Elastic Loadbalancer. The app is a Ruby App. I have set SecRequestBodyLimit 293601280 When I upload files below that size, they are ...
2
votes
0answers
113 views

EC2 Ubuntu SSH Stops Working

I use about 15 EC2 instances to run some services. They are hosted on EC2 and run Ubuntu. Every once in a while the SSH stops working and the "Reachability Status" in the EC2 console shows that it is ...
1
vote
0answers
59 views

How best to maintain a recent bash version on amazon linux?

I require Bash 4.2 or higher. Amazon Linux default repositories only provide Bash 4.1. I have done some searches and can not find a yum repository for recent versions of Bash. I don't want to compile ...
0
votes
1answer
48 views

Amazon EC2: Not able to login(RDP) to Instance after migrating root ebs volume.

I am trying to access my windows instance but I am unable to login (RDP) into it. What I have done is I have taken up a snapshot of a root EBS volume and attached that to newly launched instance. The ...
0
votes
0answers
23 views

Software RAID0 on ephemeral storage for Server 2008 on boot

I have a c3.large instance which I would like to run the two ephemeral drives in a striped raid configuration. I am able to do this via command line and the disk management msc, but I have not been ...
4
votes
2answers
1k views

how to collect and aggregate logs from multiple machines in Amazon AWS environment

We have multiple Ec2 servers running and they have a tendency to be started and shut down at unpredictable times (based on load etc). What is the best way to collate and aggregate logs from them in ...
0
votes
2answers
454 views

Whitelabel DNS with Amazon Route53

I've searched the internet for the answer, but I can't find it and this is because DNS management is not exactly in my skillset. I want to use Amazon AWS Route53 to host a multi tenant php application ...
13
votes
3answers
3k views

EC2 drive not EBS volume size

I have an EC2 instance which I created a 500GB EBS volume for. Unfortunately, the EC2 instance shows only 8GB available. I have only one drive, which is right. [root@ip-10-244-134-250 ~]# ls -la ...
1
vote
4answers
4k views

How to install VNC server on Linux SUSE EC2 instance?

Assuming I can ssh to my Linux instance (SUSE Linux Enterprise Server 11 SP1) as root and that I can transfer files into it - how do I install a VNC server (let's say RealVNC free version) on the ...
1
vote
1answer
354 views

connecting to an EC2 instance via ssh on a created user

I can connect to my EC2 instance as root but if I create a user I get a Permission denied(public key) error. Here is the output from ssh -v OpenSSH_5.3p1 Debian-3ubuntu3, OpenSSL 0.9.8k 25 Mar 2009 ...
0
votes
4answers
737 views

EC2 instances in VPC and access to the Internet

I am playing a bit with AWS. I created one VPC (with 10.1.0.0./24 net) and two EC2 instances attached to it. One EC2 has 10.1.0.4, second 10.1.0.5 . I allocated one Elastic IP to VPC and associated it ...
-1
votes
1answer
39 views

Can't mount raid 1 with different size disks

I have a EC2 instance with a an ssd on xvdm (20 gb, 60 iops) and another ssd on xvdb (16 gb, better iops - instance store). The xvdm contains a mysql database and I'm trying to join these 2 disks in a ...