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
votes
4answers
103 views

Domain Controller as EC2 instance

We've successfully extended our on-premises active directory to AWS, creating domain controllers as EC2 micro instances, we loosely based our setup on the Amazon White Paper: Implementing Active ...
0
votes
0answers
158 views

Starting httpd: AH00526: Syntax error on line 7 of /etc/httpd/conf.d/modsecurity.conf:

I installed mod_security and mod_evasive in the Amazon EC2. Initially it needs the components libxml2 libxml2-devel, httpd-devel, pcre-devel, curl-devel. But my site uses PHP56, so I used the ...
0
votes
1answer
30 views

Amazon - EC2 stop instances not working properly

I'm very new on AWS and now I have two EC2 instances. In order to avoid waste the free tier plan I'm trying to stop instances when I'm not working with them. This is what my EC2 Management console ...
0
votes
0answers
56 views

HTTPS showing blank page on EC2 Amazon Ubuntu server

I have a big problem trying to solve for more than two week and still nothing. I installed the certificate on the server which is working properly and in response I received this response ...
0
votes
0answers
147 views

yum-cron errors with EC2 RHEL repositories

Here is a weird one. Beginning Thursday, my EC2 RHEL 7 instance began throwing 503 errors during its yum-cron task: Could not get metalink ...
1
vote
0answers
18 views

EC2 create-image vs. secure credentials

I'm trying to understand the security implications of granting access to the create-image EC2 action. The docs say that the create-image action does not support IAM resources so it seems like granting ...
1
vote
0answers
84 views

Symfony No Access to Cache - Red Hat 7

I'm running amazon EC2 VPC, normaly use Centos and I have no problem with it, but I have tried Red Hat Enterprise Linux Server release 7.1, and I have installed everything from scratch. I'm using ...
-2
votes
1answer
87 views

Change user's home directory to udev partition on ubuntu [closed]

I have AWS EC2 instance and its disk usage always above 90% and just trying to move user folder to "udev" partition to free disk space. Filesystem Size Used Avail Use% Mounted on /dev/xvda1 ...
3
votes
0answers
158 views

Node.js Server with PM2 Crashing with error ENOMEM - but no memory leak

I have an EC2 instance running a node.js server (Express based). After deploying in a new environment, my service had started crashing almost instantly with spawn ENOMEM Errors like this one: ...
0
votes
2answers
97 views

Deploy active directory ONLY on the cloud and join workstations to it WITHOUT VPN (No DCs on premise, No RODCs etc.)

The company has does not have any offices. All users are remote. However, they need an Active Directory to which workstations can be joined and users can be centrally managed. One suggestion is to ...
0
votes
0answers
44 views

GeoIP module (mod_geoip2) and Amazon EC2 Ubuntu instance

I have installed GeoIP mod via http://dev.maxmind.com/geoip/legacy/mod_geoip2/ and have made sure the permissions are correct for www-data to read the database. We are just needing to block a ...
0
votes
2answers
47 views

Trying to SSH into an Amazon Ec2 instance - permission error?

I'm trying to connect into AWS Ec2 server via mac Terminal but keep getting Connection closed by xx.xx.xx.xx. Here's what happened last night: I was in the server and was deleting and uploading ...
1
vote
1answer
43 views

Automatic discovery of RDS endpoints from EC2 instances

I'm very new to AWS and cloud services in general, I'm trying to set up a simple webserver + database stack, as a staging environment before going into production and scaling out. My question regards ...
0
votes
0answers
51 views

How to handle DNS with AWS when you have no spare elastic ips available?

The problem: I've currently got over 5 different ec2 instances that use elastic ips for DNS purposes - this is so that when I restart the server I don't lose my IP address (that is refrenced to in ...
0
votes
2answers
58 views

AWS EC2: constant PuTTY configuration for instances which may be restarted

I have configured PuTTY for accessing my instances as described in the instruction. I have set the hostname as it's displayed in my instance dashboard - everything works great. But when I restart my ...
0
votes
1answer
59 views

How to add a Tag when launching an ec2 instance using aws clis

I am trying to create an instance in ec2 using CLI. Is there anyway to specify tags to the instance when using CLI to create instances? aws ec2 run-instances --image-id $ami_id --key-name ...
0
votes
1answer
70 views

Unable to boot a customized HVM AMI on EC2

I am trying to customize an existing Debian Jessie HVM AMI(ami-116d857a) and store it as my private AMI. Though the AMI creation process succeeds, I am unable to boot from it. The instance shows ...
0
votes
1answer
38 views

Nginx passenger rails

On a EC2 with ubuntu 14.04 with nginx/passenger/rails came with this log on nginx: App 31063 stderr: * ERROR *: Cannot execute /usr/local/lib/ruby: Permission denied (13) App 31065 stderr: ...
0
votes
1answer
157 views

AWS - Map URL to API Backend (Apache ProxyPass Like)

I have a web architecture using Apache as front-end and Nodejs as back-end. I want to migrate this architecture to AWS. Node.js is going to be an Elastic Beanstalk and Apache will be stored on Amazon ...
0
votes
2answers
199 views

Attempting to initialize AWS EB, getting 'signature not yet current error'

I'm on my local machine. I'm a dev guy with no idea about ops. After selecting us-east-1 for my region after running eb init on the command line, I get this: ERROR: The current user does not have the ...
0
votes
1answer
43 views

Extremely flaky connection to our EC2 instance through one connection, but not others

We have a robotic coffee barista deployed at the Dell campus in North Austin, with internet service through Time Warner Cable. We have been fighting intermittent connection losses between 10PM - 1AM ...
0
votes
1answer
41 views

Amazon AWS EC2 - Two IP´s for private and public access

I need a different IP for my database/ssh access to the public IP address my users know for a better security. For my understanding, it´s only possible to bind a single Elastic IP to one EC2 ...
0
votes
0answers
31 views

How do you allow only EC2 instances with a specific tag to launch?

I am trying to create a policy that only allows AWS EC2 instances to be launched if they contain an OwnerID tag. I have already successfully limited launches to instances that are not oversized (i.e. ...
1
vote
1answer
56 views

Ansible fact from another host

I'm trying to get a fact from another host in my ansible playbook: - hosts: localhost tasks: - site_facts: name={{ var }} - hosts: "{{ apphost }}" tasks: - shell: command: ...
1
vote
0answers
19 views

Creating a new user with SSH access on ec2 [duplicate]

I'm trying to add a new user to an EC2 instance and giving that user SSH access. (RHEL 6.5) I do this by copying the content of .ssh from the default ec2-user's home dir to the new user's home dir. I ...
0
votes
0answers
138 views

Nginx https reverse proxy set up in Amazon EC2

I am running Ubuntu 14.04.3 and Nginx 1.4.6 on Amazon EC2. I'm trying to set up a reverse proxy for my application on port 8000, which I can see running when I go to www.mywebsite.com:8000. The ...
0
votes
0answers
54 views

Strongswan inside Amazon EC2 Classic

This is my first question, so please be gentle ;) I've got a Strongswan vpn tunnel set up to connect to a Check point server. The checkpoint sysadmin told that I'm already connected to the tunnel but ...
-1
votes
1answer
166 views

Running Python scripts on Apache Server: 403 Forbidden Error

I need to run a few python scripts on a subdomain of my website set up using Apache on an AWS EC2 instance running Ubuntu. I tried following some of the steps mentioned in this post. I get a 403 error ...
0
votes
0answers
53 views

libssl.so.5 required for xmlsec1-openssl on Amazon AMI Linux

I am trying to set up xmlsec1-openssl in order to install LASSO on an Amazon AMI Linux. I have xmlsec1 1.2.7-4 setup for an x84_64 arch. I downloaded the RPM for the xmlsec1-openssl 1.2.7-4 (x86_64) ...
1
vote
0answers
221 views

504 Gateway Timeout on HTTPS but not HTTP

I configured an AWS Load Balancer. It is working find on HTTP, but when I try over HTTPS I get a 504 Gateway Timeout Error. I tried all the suggestions on AWS's help page (increase idle timeout), but ...
0
votes
1answer
62 views

What is the best way to share files between EC2 servers?

I am running multiple EC2 servers in different AWS regions. These are web servers running apache. What is the best way to share files between the EC2 servers to keep the data in sync? I heard about ...
0
votes
2answers
65 views

Apache redirect loop

Can anyone explain why I keep getting a re-direct loop? I'm attempting to make https the default port. I am running Apache on an ec-2 instance: <VirtualHost *:80> DocumentRoot ...
1
vote
1answer
44 views

MongoDB on RHEL vs. Ubuntu [closed]

I'm looking to install MongoDB on an Amazon EC2 instance, to me AMI doesn't matter much... but maybe it should. While searching online for how-to's, I've only found thorough guides for installing ...
1
vote
2answers
65 views

Can an AWS AMI name be set during import

I am trying to import an OVA into AWS using the aws CLI. To do this I run the following command: aws ec2 import-image import-image --client-token 653151442415980 --disk-containers ...
0
votes
0answers
46 views

Nginx multidomain configuration on EC2 with one elastic IP

I'm trying to configure two domains on a EC2 instance sharing one elastic IP. Both domains work just fine if i assign the elastic IP in my local /var/etc/hosts. I use the name servers of my ...
0
votes
2answers
31 views

EC2 Server Seems to have port issues

I have installed an Elastix server on a m4.large instance,but I cannot get sound on any of my calls. The server is configured as follows: CentOS 5.9 Elastix 2.4 Using the following guide: ...
-1
votes
1answer
38 views

Not able to send mails from my server, able to receive mails

I am not able to send mails from my server; however, I am able to receive mails. I am using Postfix. When I telnet to port 25, I get this output: telnet server.example.in 25 Trying 52.xx.xxx.21... ...
1
vote
0answers
69 views

Unable to diagnose downtime / memory issues with Apache and mod_wsgi

I have an Ubuntu EC2 instance (t1.micro, 600mb of RAM) running mod_wsgi on Apache, to serve a Django app. This is all behind a load balancer. The problem I keep running into is that I can only seem ...
0
votes
1answer
88 views

Why is a user getting a “proxy server isn't responding” message and causing HTTP 408 errors to be logged?

I have a user who can't get to my web site hosted on AWS EC2. This user is behind a corporate proxy server, and when they enter my URL, they get a "The proxy server isn't responding" message in IE and ...
-2
votes
2answers
73 views

Why haproxy dont work?

I have created 2 instances in Amazon.com with ubuntu and install HAProxy on it. HAProxy in 1st server works. Haproxy in 2nd server doesn' work since I tried to set up iptables. I try to execute curl ...
0
votes
2answers
124 views

Associating route 53 Nameservers with GoDaddy

I am using GoDaddy as domain, & AWS for instances. I have created route 53, & it generated four DNS. should I replace the two default GoDaddy DNS with route 53? or I add four AWS DNS & ...
0
votes
1answer
36 views

Designing EC2 for regional load balancing and single DB

I've built EC2 hosting solutions before, but the application I'm building now is more advanced and I'd like some insight to see if I'm on the right track. The system is hosting a mobile application ...
1
vote
1answer
54 views

Why are all 32 “cpus” on Amazon EC2 i2.8xlarge sometimes not used?

Running an i2.8xlarge EC2 instance type, I expect 32 cpus to be available and usable. In one test on one instance I only saw 16 cpus utilized. I used stress -c31 -t 30 to generate some cpu load but ...
-1
votes
1answer
339 views

libGL error: failed to load driver: swrast error on AmazonEC2 with Ubuntu14

I have a t2.large instance on Amazon EC2 with 8Go of ram and 30Go of disk space. The OS used is Ubuntu 14.04 Trusty and the desktop manager is xfce4. I'm using xrdp to remotely access the desktop, ...
0
votes
1answer
112 views

Terminated EC2 instances keep restarting

I have a couple of small EC2 instances (t1.micro and t2.micro) one of which was setup using AWS-EB. I'd like to terminate both of them, but whenever I terminate them, the re-appear in my list of ...
1
vote
1answer
54 views

Connection / Tunnel to AWS RDS from EC2

I'm working on a website hosted in a VPC on AWS. Yesterday, we moved the mysql server from a EC2 instance to a RDS instance to allow the mysql server to perform better. So, before, when I wanted to ...
-1
votes
1answer
58 views

AWS: Route 53 Configuration

I have created two instances in AWS (one is Live & other is Backup). My website is hosted on Live Instance. I have configured Route 53, Health checks & Hosted zones on default settings. Also ...
0
votes
1answer
58 views

Migrating from nginx to Amazon ELB

I'm interested in migrating from a manually managed AWS EC2 cloud with multiple webapps to AWS ELB with auto scalling. However, I'm not sure whether a single ELB will be enough to handle my ...
1
vote
0answers
58 views

How install PHP 5.4, mod_security and mod_evasive together without conflict

I need create webserver with PHP 5.4, and install mod_security and mod_evasive. But when I try to join the php 5.4 and the mods on an EC2 server, it returns an error of conflict between the versions ...
0
votes
0answers
53 views

AWS instance Status Checks remain 1/2 + Unable to SSH to aws instance

I'm new to AWS. What I want is to change my instance type from t2.micro to m4.xlarge. I stopped my running instance and then change its type from t2.micro to m4.xlarge. On starting the instance I got ...