Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

learn more… | top users | synonyms (1)

4
votes
0answers
327 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: ...
4
votes
0answers
279 views

Does AWS Elastic Beanstalk Swap Environment Url swaps environments for git push?

I have read the docs for zero downtime on aws but cant seem to understand what happens in this scenario? I have a environment running in production called 'red' I duplicate the environment as 'blue' ...
3
votes
0answers
28 views

Authentication vsftpd account using remote LDAP user

I'm trying to authenticate vsftpd from LDAP logins which hosted remotely another server . vsftpd hosted on Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-48-generic x86_64) amazon aws . from the LDAP server ...
3
votes
0answers
195 views

Latency (wait ttfb) on EC2

My application is crawling a website. I use this crawler : https://github.com/rfussien/leboncoin-crawler On my dev environment, the latency is acceptable (3-4 sec) but on my prod server (ec2 T2....
3
votes
0answers
937 views

Running service with systemd as default user via ansible in ec2 (requests password)

I'm trying to employ the following Ansible script (part of a playbook) to run unicorn via systemd for a rails app on EC2 (micro) instance: --- - name: restart unicorn command: psql -h {{ db_host }}...
3
votes
0answers
115 views

IAM Action for `Get-EC2Instance` command in Powershell SDK

Calling Get-EC2Instance from EC2 instance and getting Get-EC2Instance : You are not authorized to perform this operation. Which IAM action do I need to add to my policy?
3
votes
0answers
90 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 ...
2
votes
0answers
15 views

How to correctly size separate index and data disks in Couchbase?

According to this link: https://forums.couchbase.com/t/data-vs-index-paths/3564 And others I've read, it is beneficial to separate the data and index paths. I'm going to be spinning up some new ...
2
votes
0answers
198 views

Windows Server 2012 R2 in AWS EC2, change resolution beyond 1280x1024

I have a Windows Server 2012 R2 instance running in EC2 performing some UI tests while nobody is connected to it. I use the following script to disconnect from Remote Desktop: for /f "skip=1 tokens=3"...
2
votes
0answers
71 views

After Upgrading to Ubuntu 15.10 from 15.04, EC2 Webservers are Crashing

I have a variety of Ubuntu machines on EC2 running in production, with about 30 that were upgraded from 15.04 to 15.10. With most of the machines, the upgrade went flawlessly and experienced no issues ...
2
votes
0answers
109 views

EC2 SSH Login Temporarily Hangs on “Entering Interactive Session”

I've been researching this for hours now, can't figure out why this is happening. Originally marked it as internet but checked my speeds (37 down, 10 up). I went from California to Oregon, and since ...
2
votes
0answers
31 views

AWS ELB: cloudwatch metric for open connections?

I'm setting up ELB, and I'm having trouble finding a suitable metric to use to adjust the size of the pool. RequestCount doesn't work because some requests are much cheaper than others. Latency ...
2
votes
0answers
62 views

Bootstrapping Windows EC2 instance with cfn-init command failing due to 1641 exit code

I'm having trouble with my EC2 instance cfn-init script. I'm attempting to have it install Powershell v5. When I execute the command: "command" : "C:\\cfn\\install\\Win8.1AndW2K12R2-KB3066437-x64....
2
votes
0answers
54 views

Connect to RDS from EC2 - different AZ

I have set up a RDS instance with Multi-AZ support. It ended up in eu-west-1a. It is setup with "Publically available = YES" I have a EC2 instance in eu-west-1c, from which I want to access the RDS ...
2
votes
0answers
748 views

AWS CLI throws “Unable to locate credentials”, the second time it's run

I'm trying to download some files from S3 to an EC2 instance using the AWS CLI (1.8.7) on startup using a User-Data Script. This instance has a IAM Role & Instance Profile with the appropriate ...
2
votes
0answers
211 views

AWS keepalived backup immediately goes to MASTER

Referencing these two guides: http://awsadvent.tumblr.com/post/105141640154/aws-advent-2014-high-availability-in-aws-with https://blog.logentries.com/2014/12/keepalived-and-haproxy-in-aws-an-...
2
votes
0answers
230 views

SSL - Apache and Node.js on the same Amazon EC2 instance

I hosted my website on an EC2 instance, using Apache. SSL was also set up properly, running on HTTPS, port 443. Currently, I just added a chat application to the website using Node.js + socket.io. ...
2
votes
0answers
252 views

How to scale up one container using Amazon EC2 Container Service

I am new using Amazon ECS and I would like to know how to set up services in order to scale up / down one container easily. Here is my project architecture: website: container with the website, ...
2
votes
0answers
789 views

Ubuntu on EC2 boot error after dist upgrade to 14.04: disk drive for / is not ready yet or not present

I just upgraded my Ubuntu 11.10 EC2 instance to 12.04, then to 12.10 and finally to 14.04 using the do-release-upgrade command each time. I arrived at 14.04 and the instance will not boot now, it ...
2
votes
0answers
439 views

Dedicated per region fee for Amazon EC2 dedicated instances

I'm sorry if this isn't the right forum for this question but I read the rules and it didn't seem to imply I can't ask this... Anyways I'm looking to get some EC2 dedicated instances because I will ...
2
votes
0answers
323 views

EC2 AMI instance store backup grub utility required

Working on backup of whole ec2 volume and image to upload to s3. Using RHEL7 and it internally uses Grub2 as bootloader. EC2 AMI tools requires grub legacy loader and I'm struck up in this loader. ...
2
votes
0answers
2k views

nginx service won't start after reboot + won't give output for service nginx status or start

A few weeks ago I configured an ec2 ubuntu server for my rails app. everything worked great. the database is on RDS and I use nginx and passenger for the rails app. anyway everything worked great ...
2
votes
0answers
226 views

AWS Dev-to-Production Build Process

I'm a developer, so not nearly as experienced as I would like to be with server administration. Essentially, I am trying to figure out how to create a base image (AMI) that can be used in development, ...
2
votes
0answers
409 views

How to make Statsd talk to Ganglia on EC2 (localhost)

As per topic, Im just trying to make this simple setup work. The services are running fine, but as far as I can tell statsd doesn't send anything over to ganglia. Ganglia is working fine I guess since ...
2
votes
0answers
724 views

How can I use huge pages and libhugetlbfs on a Debian EC2 PVM instance?

On my local machine (i7 9200) running Debian Wheezy amd64 I can get some significant speedups on some "big data"/HPC type stuff by: Following the instructions here to reserve some RAM for huge pages ...
2
votes
0answers
152 views

Programmatically add EC2 execute nodes to Grid Engine cluster

I am running Grid Scheduler (fka Sun Grid Engine) on Amazon Web Services. Master node is running all the time, but I want to programmatically add nodes to the cluster (also remove - but remove is not ...
2
votes
0answers
272 views

Can't connect to my nodejs server on Amazon EC2

So I am testing out Amazon EC2 to see If I can work with this platform. So far I am using the freetier VMI Machine, a small machine runnning Windows Server 2012 with SQL server express. I have ...
2
votes
0answers
455 views

Phing SSH connection to Amazon EC2 fails to authenticate

I'm trying to connect to Amazon EC2 with phing. This is my script. <ssh username="ec2-user" pubkeyfile="C:\Users\asd\Downloads\aws-nr1.public" privkeyfile="C:\Users\asd\...
2
votes
0answers
588 views

Connectivity issues with dual NIC machine in EC2

I'm trying to get some servers set up in EC2 in a Virtual Private Cloud. To do this, I have two subnets: 10.0.42.0/24 - Public subnet 10.0.83.0/24 - Private subnet To bridge these two, I have a ...
2
votes
0answers
2k views

EC2 Windows: Certificate for local system with Thumbprint … is about to expire or already expired

I regularly see this error in the Windows Error Log on one of my EC2 instances: Certificate for local system with Thumbprint aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa aa is about to ...
2
votes
0answers
3k views

EC2 Linux AMI with ffmpeg (no yasm?)

I'm running a Basic 64-bit Amazon Linux AMI 2011.09 (AMI Id: ami-953b06e1) and I want to install ffmpeg into it so I can use it convert video. These are the commands I run after firing up a new ...
1
vote
0answers
14 views

AWS EC2 IAM User Policy Error

I'm trying to create a user policy which allows specific users access to only the following permissions within a specific VPC: Create Instances Start Instances Stop Instances Terminate Instances I ...
1
vote
0answers
90 views

install mysql 5.7 to linux 6 - yum tries to install 5.7 el7?

I'm following the instructions here to install MySQL-Community-Server onto a linux 6 aws instance. Basic commands: wget http://dev.mysql.com/get/mysql57-community-release-el6-8.noarch.rpm sudo yum ...
1
vote
0answers
20 views

Cannot connect to anything above port 6000

I have an instance of Windows Server 2012 R2 running on Amazon Web Services. I am not able to make a TCP connection to the server on any port higher than 6000 for some reason. All ports below 6000 ...
1
vote
0answers
65 views

How do you properly deploy Angular application?

I'm writing an angular2 application, and want to deploy it on an EC2 instance. This is how I've currently set it up. Used gulp on the server to build typescript and scss. Then I setup nginx to setup ...
1
vote
0answers
29 views

Access database using Public External IP - Bandwidth

In an amazon EC2 instance, we pay for each GB of data transfer in/out. Which means, when are sent to server, it's data transfer in. When a user access some website hosted there, data is being ...
1
vote
0answers
36 views

I'm struggling to install darkstat on an Amazon EC2 server running Amazon Linux. Any tips?

Hello and thanks in advance for reading through this question. Disclaimer: I'm still quite a newbie when it comes to managing a server. I'm running an Amazon EC2 server (which is running Amazon Linux) ...
1
vote
0answers
24 views

ProxyPass on Amazon EC2 behind a load-balancer

I am using ProxyPass on my local machine with following directive in apache conf and it works fine: ProxyPass /v2/ http://localhost:1337/ I need to do the same on Amazon EC2 instances which are ...
1
vote
0answers
33 views

How can I set up mongodb to scale it quickly on AWS

I want to deploy a database using mongodb on AWS, and I think this database will receive a lot of data making necessary to think on the possibility that one server is not enough, so my questions is: ...
1
vote
0answers
118 views

AWS EC2 - Clone Windows Server Machines That Are Domain Joined

Firstly, I am using these as a base guide: http://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/ami-create-standard.html http://reduktor.net/2014/09/autoscale-ec2-instances-ad-aws/ Secondly, our ...
1
vote
0answers
37 views

Proper way to set limit in mongodb on log files

It more beginner question. I trying to set limit on mongo log file in AWS linux instance. I found some question that was asked here. And tryed to do that as was suggest from someone for mongo 3.0. ...
1
vote
0answers
28 views

IPsec: hide private IP behind Gateway IP

I have an IPsec Gateway to a customer, and the VPN tunnel is up, the problem is that they don't allow me to use my private address because it used by another VPN they use. Our gateway is an EC2 ...
1
vote
0answers
12 views

Amazon EC2 instance lacking libraries when installing WAMPP server

PROBLEM I've been using Amazon EC2 for the past six months and once in a while I need to create another instance. I'm not a Linux user so I always go for the Windows Windows_Server-2008-SP2-English-...
1
vote
0answers
17 views

MariaDB on Amazon RDS - Initial setup user grants and permissions

I'm trying to learn more AWS, and have an EC2 setup and an RDS setup running MariaDB. When I created the RDS instance, it asked for user/pass for the initial user, and created 'rdsadmin'@'localhost' ...
1
vote
0answers
124 views

Speeding up GlusterFS in AWS

I needed a good NFS storage cloud in AWS, and since EFS is just in preview mode, I did some research, and GFS looked like it would be the best bet. Currently, I have two servers that are part of one ...
1
vote
0answers
55 views

running AWS Windows server instance with amazon workspaces

Its for a project and not for production and just verity and test windows server 2012 r2 i want to create a AWS server running with windows 2012 R2 with active directory and create a AWS workspace ...
1
vote
0answers
68 views

Cannot connect to remote MySQL server (RDS)

When I am trying to connect to RDS from my vps, it says connection refused. When I tried connecting it from local or other vps, it worked fine. I figured out that it must be a firewall issue on my ...
1
vote
0answers
28 views

Apache2 virtualhost serving on unspecified domains

I'm trying to set up my amazonaws EC2 instance with a wordpress HTTP server (blog.mysite.com) through apache and a node/express HTTP server ([www.]mysite.com) both running on port 80. From what I've ...
1
vote
0answers
44 views

Least privilege AWS IAM policy for Foreman / RH Satellite to fully manage an EC2 compute resource

First post, so I apologize in advance if I miss some conventions. I'm trying to discover the least privilege access required for Foreman/RH Satellite to be able to fully manage an EC2 compute ...
1
vote
0answers
99 views

Problems installing software on AWS EC2 instance (Debian 7.8 'hvm')

After some issues due to the lack of support in required kernel for the network card in my machine (though I'm aware of how to compile the driver for my card, I don't want to do that, based on some ...