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
255 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
248 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
57 views

Unable to deploy a rails application using eb cli

I recently updated my environments configuration to :64bit Amazon Linux 2015.03 v1.4.6 running Ruby 2.2 (Passenger Standalone). After deploying my application using eb deploy i now get an error in my ...
3
votes
0answers
116 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 ...
3
votes
0answers
463 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
98 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?
2
votes
0answers
10 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
131 views

AWS Site-to-Site VPN and Remote-Access VPN Server using Pritunl

I was looking at the Pritunl Enterprise edition product and wondered if we could set up the following scenario using it: Our AWS environment consists of a number of VPCs in different AWS regions. We ...
2
votes
0answers
93 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 ...
2
votes
0answers
64 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
72 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
28 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
52 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" : ...
2
votes
0answers
535 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
160 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 ...
2
votes
0answers
178 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
229 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
78 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
814 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 ...
2
votes
0answers
751 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
382 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
282 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
221 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
399 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
697 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
136 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
443 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" ...
2
votes
0answers
583 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 ...
1
vote
0answers
24 views

Drive not showing up in EC2 Console, but shows up when I do lsblk

I've inherited a sever that lives on EC2. When I do the following: lsblk I get: xvda 202:0 0 40G 0 disk └─xvda1 202:1 0 40G 0 part / xvdb 202:16 0 30G 0 disk /home/dbt ...
1
vote
0answers
25 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
21 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
24 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
10 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 ...
1
vote
0answers
11 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
20 views

How do I get the ec2 tag Name from my ec2 hosts?

I'm wanting to extract the "Name" tag from ec2 instances. How do I do that? It doesn't seem to be part of ec2_facts
1
vote
0answers
71 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
27 views

How to get the output of the python script executed in aws instance

I am trying to automate the aws instance setup using boto. I have a python script in which I will do the ssh to the instance. After ssh,I am executing a python function which is in remote python file ...
1
vote
0answers
28 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
58 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
24 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
31 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
83 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 ...
1
vote
0answers
56 views

Change SSH key on EC2 Instance

I want to change the SSH key file needed for logging in my Ubuntu EC2 Instance. I know it is not possible to do so directly from the EC2 Management Console so I tried changing it by doing the ...
1
vote
0answers
39 views

EC2 Shared Drive / VPN / Security Groups

I have an EC2 instance, running Win 2008. On it, I have a shared drive. Windows permissions are set properly. The server has a static IP through Elastic IP. I do not want to open this to the world. I ...
1
vote
0answers
113 views

Openswan IPSec VPN on AWS tunnel established but no traffic

I am setting up a tunnel with a telco using AWS/VPC/EC2/Centos7/Libreswan and have been stuck for weeks. Appreciate any help! I have 192.168.16.73 (VPN GW, EIP 52.76.x.x) and 192.168.16.116 ...
1
vote
0answers
63 views

EC2 automatic windows updates disabled by default on Windows Server 2008 R2 - why?

I spun up an Amazon virtual instance for Windows 2008 R2 Datacenter Edition and when I went into Windows Updates in control panel, automatic updates were turned off. I turned them on and checked for ...
1
vote
0answers
41 views

How to setup a security group on AWS that allows incoming traffic only by certain Elastic Beanstalk servers?

we have the following setting on AWS: 8 Elastic Beanstalk environments (4 QA, 4 PROD) read and write data. Typically, 1 environment (the API) always reads data from DynamoDB and RDS and 1 environment ...
1
vote
0answers
28 views

Is there a way to use Route 53 as a DNS failover, that activates a dormant (i.e. cheaper) EC2 instance that takes over?

Is there a way to use Route 53 as a DNS failover, that activates a dormant (i.e. cheaper) EC2 instance that takes over? My idea is to use a different provider to host most of the time, but if there ...