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

Mounted volume is not showing in my EC2 elastic block store list

I have recently launched an m3.xlarge instance on amazon EC2 which is running Ubuntu 14.04. It came with three volumes. One 8gb volume which holds the OS data, and two 40GB data drives. When I ssh ...
0
votes
0answers
59 views

Diagnosing Random Internal Server Errors That Leave Clean Logs

I have a Django site running on an Amazon EC2 Ubuntu instance, and I've been getting random Internal Server Errors that I can't get to the bottom of. I'm using Apache 2.4.10 to serve pages. I also ...
0
votes
0answers
74 views

Amazon EC2 not responding on port 80 and mysqld will not start

An EC2 instance running Apache 2.2.5 on CentOS 6.4 appeared to be fine up until September 29. That day at 7:49 the Value in CloudWatch was 42, at 7:59 it was in the low 100,000's, the last Value ...
0
votes
0answers
66 views

Is the IP based filtering in Amazon EC2 enough to ensure security?

I am hosting a webserver using Amazon EC2 and want it to be accessible only from a particular IP. I have set up my security groups to allow connections from only that IP. ...
0
votes
0answers
29 views

Linux pt_BR Locale - Bad Translations

I'm using Amazon Linux AMI 2014.09 (up-to-date) to host my PHP application, that uses locales for internationalization (usually it's pt_BR). On the production server the pt_BR translations is not ...
0
votes
0answers
77 views

Mail not getting to users on Google when MX records specified in Amazon Route 53

I configured the MX on my Amazon AWS Route53 and I was told that some of the users don't get any emails with this domain. When I send myself an email everything works fine now, and I doubt that ...
0
votes
0answers
199 views

aws cli tool set up - unable to connect ec2 and retrieve instance information

I am trying to use aws configure to set up the cli tool aws configure --profile work AWS Access Key ID [None]: ABCD AWS Secret Access Key [None]: 123456 Default region name [None]: Default output ...
0
votes
0answers
713 views

Apache Server 2.4 on EC2 “caught SIGTERM shutting down ”

I'm using amazon linux on an m3.large instance on EC2. I had these logs before my apache server was shut down: [Sun Sep 28 18:54:31.679261 2014] [cgi:error] [pid 32422] [client 67.211.230.58:58937] ...
0
votes
0answers
87 views

custom ami creation and sysprep

I am working through steps to create a custom ami, so far take a base one and install all software needed. shutdown machine with sysprep. create an ami. create instances from it I am wondering how ...
0
votes
0answers
85 views

AWS Instance Suddenly Not Available in Browser - SSH and ping work

I am very new AWS and sys admin so bear with me... I noticed my website was suddenly down today and have been working to sniff out the issue. No site files were changed as far as I am aware. Here is ...
0
votes
0answers
129 views

EC2 Haproxy stops taking requests

I am using haproxy with Apache to keep alive an EC2 server. Sometimes haproxy stops taking new requests. If I reload haproxy it starts working normally. I have disabled iptables and increased open ...
0
votes
0answers
130 views

Configuring NGINX with SSL and Node.js on CENTOS 6 in EC2

I'm trying to deploy a Node.js web-app on a Centos EC2 instance with an elastic IP. The SSL certificate is already setup and properly configured. I would like to allow only https connection to my app, ...
0
votes
0answers
135 views

systemd-journald: Received request to flush runtime journal from PID 1

I'm using RHEL7 on Amazon EC2 and I'm experiencing issue while booting it up. last few entries from log are: [ 93.000775] systemd-journald[413]: Received request to flush runtime journal from PID ...
0
votes
0answers
57 views

amazon ec2 ftp RETR hangs

The problem is with an Amazon ec2 instance "Red Hat Enterprise Linux Server 7.0 (Maipo)" (kernel 3.10.0-123.6.3.el7.x86_64) When attempting to RETR a remote file the FTP client hangs indefinitely. I ...
0
votes
0answers
36 views

EC2 Create new Linux user(s) with their OWN Key Pairs?

In EC2, i spinned a CentOS v6.5 instance, and i got a Key Pair as well (of course). But the problem is, i hoped it would be like as usual before that it would creates the ec2-user user, so that i can ...
0
votes
0answers
35 views

adding per-boot script via user data

I am passing cloud config via --user-data-file argument when starting ec2 instance from canonic ubuntu images. It works well but the problem is that some of its commands need to run every boot (i.e. ...
0
votes
0answers
53 views

Install tuleap on amazon ec2 linux AMI

I'd like to know if it's possible to install tuleap on amazon ec2 linux ami. I searched the net unsuccessfully and when I try to install tuleap with yum, I got confilcts error (with httpd24, ...
0
votes
0answers
75 views

Rails environment variables at EC2

I have a Rails app which I want to deploy to EC2 instance. I know how to set the environment variables at Heroku. But how to do that at AWS EC2? I need that because I have to connect to MongoDb and ...
0
votes
0answers
32 views

Amazon EC2 - set Windows services log on user to another instance user

I have a master "share drive" on a single Windows Server 2012 instance that many secondary instances are mapped to with full control. I have a service that I need to set with administrator rights to ...
0
votes
0answers
11 views

Revert EC2 aliases to default

I have an EC2 instance that I have updated aliases on but I now wish to revert to the EC2 defaults. Basically I created a .profile file and ran source .profile before realising this could potentially ...
0
votes
0answers
15 views

Launch EC2 instance with Logical Root Volume

I need EC2 instance on Amazon Web Services with CentOS 6.5 where the root partition will be Logical Volume. Is there some specific AMI or some available option for choosing before launching the ...
0
votes
0answers
49 views

Conflicting ip routes with local table on attaching a virtual network interface

I have an EC2 instance with these ip rules: $ sudo ip rule show 0: from all lookup local 32766: from all lookup main 32767: from all lookup default I can attach an elastic network interface to ...
0
votes
0answers
31 views

Drive Mapped On Amazon EC2 Instance Startup Disconnected After Logon

I am launching an Amazon EC2 instance (Windows Server 2012), and on startup (though User Data field), it runs this powershell script: <powershell> NET CONFIG SERVER /AUTODISCONNECT:-1 ...
0
votes
0answers
50 views

Any objective VPS performance tools available?

Because: there are so many variables when it comes to VPS hosting (noisy neighbors, SSD/HD, host server specs, number of VPSes on host, etc...) VPS hosts like to use fluffy specs (vCPU) to sell ...
0
votes
0answers
41 views

Restarting an EC2 instance on the instance that is supposed to be restarted

I'm running through a loop with a PHP script that's on AWS instance. From my experiences with AWS, as soon as the instance is stopped, all of the code that's in the process of being executed is ...
0
votes
0answers
62 views

ec2 instance access via browser on subdirectory not working

I try to access a subdirectory via public dns vom amazon. I configured a virtual host: DocumentRoot "/var/www/html" NameVirtualHost *:80 <VirtualHost *:80> ServerName www.example1.de ...
0
votes
0answers
108 views

AWS IAM policy for Action ec2:CreateSnapshot fail when using an ec2:ResourceTag Condition

I am trying to limit a IAM policy for a Role to only allow creation (and deletion) of snapshot based on the presence of a specific Tag. This is my policy: { "Statement": [ { "Resource": ...
0
votes
0answers
89 views

GlusterFS Fast Write Slow Read on CentOS EC2

As part of my testing stateless instances, I have setup GlusterFS in the following configuration: 1x m3.medium Amazon Linux GlusterFS Server, acting solely like a NFS share. 2x m3.medium CentOS ...
0
votes
0answers
28 views

SSH into EC2 instance through a “bridge” instance

I need to ssh into an EC2 instance which can only be accessed from another EC2 instance. So I've tried something like this ssh -N -L -i target_instance.pem localhost:22:ec2-user@10.0.0.1 -i ...
0
votes
0answers
106 views

MySQL replication across availability zones in AWS resulting in lag

I have 3 EC2 instances, each running MySQL. 2 are slaves replicating from the master. The master is located in the availability zone eu-west-1b. One of the slaves is in the same zone, and the other ...
0
votes
0answers
29 views

Web server directory structure with additional volume for media (in Amazon EC2)

I'm re-building my server (LAMP) structure. I have now only one root volume that includes all data. Now i'm adding (EBS volume) for userdata like media etc. so i can just backup that volume and not ...
0
votes
0answers
728 views

How to debug why systemd is idling and is not going on with the boot process?

I am trying to create a PV instance for AWS EC2. The template VM is based on CentOS 7, which is using systemd. The disk layout is two partitions: /boot (/dev/xvda1) and LVM2 (/dev/xvda2). The root ...
0
votes
0answers
30 views

How do I change the deploy directory when using Elastic Beanstalks CLI tool?

When I deploy using the EB CLI tool, with: git aws.push It deploys to /var/app/current How do I change that to deploy to /var/www/html ? Thanks
0
votes
0answers
171 views

Load balanced EC2 instances for high performance hosting?

I have a fairly hefty Dell machine with dual quad-core cpus and 32GB memory. On that machine I host a pretty busy forum, but the one machine does everything; web, cache, db, sphinx, etc. I also have ...
0
votes
0answers
182 views

Cannot access Jenkins on windows server EC2 instance

I have a Windows Server 2008 R2 instance with Jenkins setup as windows service. I can see jenkins is up and running when I browse to localhost:8080 on the EC2 instance but cannot access it ...
0
votes
0answers
316 views

All EC2 outbound traffic is blocked

This is access from WITHIN an EC2 outbound to anywhere. (EC2-BAD) I can get INTO the instance via ssh and I can run my webserver on port 80 and I can ping from another EC2 (EC2-GOOD) in the same VPC. ...
0
votes
0answers
246 views

EC2 instance with partitions for /boot as ext4 and root / as lvm possible?

I've been playing about with this for a few days now. I haven't managed to find an example of someone running an EC2 instance with the root volume partitioned to have /boot on ext4 (or 3 or 2) and ...
0
votes
0answers
69 views

Issue in increase amazon ec2 instance disk space

I have a Amazon EC2 instance of 100GB disk space My disk most probably full only 5 GB space is available so I want to increase space. For increase disk space I followed below steps: - Log into the ...
0
votes
0answers
49 views

EC2: Persistent IP/Host for internal communication

I have a few servers on EC2 which intercommunicate using a RESTful interface. Currently, the addresses are saved in a configuration file which lists explicit IPs. This is prone to errors, because it ...
0
votes
0answers
42 views

Replace existing DataStax OpsCenter Installation in EC2

I'm using DataStax OpsCenter v3.2 installed on an EC2 instance. AWS is going to retire the instance, so I set up a new instance, installed OpsCenter, and tried to connect to my cluster. I got the ...
0
votes
0answers
69 views

Postfix+DKIM using Amazon's second private IP address

I use Amazon EC2 with 2 private IPs. I have 2 postfix instances (using multi-instance builtin support) with opendkim. Each instance works when I send email (over telnet) using the primary private IP ...
0
votes
0answers
52 views

Strange network issue when moving EC2 elastic IP

Recently we had an issue with a Windows 2012 EC2 server, which meant that we had to move across to another instance. We duplicated the instance, ran some tests and moved over the elastic IP. Should ...
0
votes
0answers
41 views

how to access Application and Database on AWS as local from other network

Recently I created a micro instance of Amazon EC2 (Windows_Server-2012-R2_RTM-English-64Bit-SQL_2014_RTM_Express-2014.05.20). I configured IIS on AWS and create a database respectively. that is one ...
0
votes
0answers
36 views

No access or error logging on OpenSuse

I've got an Amazon ec2 instance running OpenSuse and I'm getting a white page of death on some of my php scripts but there's no error log in var/log/apache2. To my surprise, there's also no access ...
0
votes
0answers
2k views

High Performance AWS EC2 / RDS + Nginx + PHP-FPM setup

General description of the issue We're currently running an application on a PaaS type solution for PHP. Their solution is based on AWS cloud and due to the fact that their plans don't fit our ...
0
votes
0answers
42 views

Why did AWS EC2 Ubuntu node get wiped on reboot?

I shelled into a functioning AWS EC2 Ubuntu instance, rebooted, tried to shell back into it, and found that I was presented with a different host certificate. I was able to log in based on the same ...
0
votes
0answers
51 views

Linux commands are hanging on ec2 instance

We are having a VPC setup for our staging environment. In this we have attached an elastic ip to one instance & rest of the instances are connected through this. Now today when we restarted our ...
0
votes
0answers
201 views

can't start play 2.2 on ec2

I am trying to deploy my project on port 80 by using play start 80 play "start 80" play "start -Dhttp.port=8080" It's giving me this error: org.jboss.netty.channel.ChannelException: Failed to bind ...
0
votes
0answers
68 views

Amazon EC2 SQL Server Connection Timeouts

I am currently having a problem with SQL server timeouts. I am running Windows Server 2008 R2 w/IIS and SQL 2008 R2 (Express) on an m1.small instance in EC2. We have custom services that monitor the ...
0
votes
0answers
60 views

AWS Autoscale termination policies

I'm attempting to add an existing EC2 instance to an autoscale group I created as the initial instance. I've set the termination policy to 'NewestInstance' and if I understand correctly, when a new ...