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
1answer
101 views

Amazon EC2 504 Gateway Time-out

I have only a single amazon EC2 free-tier instance. It's hosting two Django sites that currently get almost no traffic, barely a handful of requests per day. The server is apache with mod_wsgi, and ...
-2
votes
1answer
30 views

Nginx directory when build from source?

I wanted to install nginx-push-stream-module with Nginx so I followed the steps as given here nginx-push-stream-module Now the problem is that I cannot find my nginx directory, usally it should be ...
0
votes
1answer
35 views

Route 53 not able to map to EC2 using an Elastic IP

So I launched an EC2 instance with an Elastic IP attached to it. I am able to see my app online (HTTP) using the IP address (52.88.100.62). I bought a domain name (rishijavia.com) and was trying to ...
0
votes
0answers
13 views

Apache 2.2 Prefork generating many connections without load

I'm observing a problem where Apache 2.2 is starting up a tremendous amount of extra threads between 2:45 AM and 3:00 AM each night. I've gone through all the usual troubleshooting, and can't find a ...
2
votes
3answers
76 views

Check the cause of slow loading time among different server

A e-shop has developed using perstashop and put to the three server: the first 2 are amazon EC2, should be same setting Server 1: http://be-pure.com/en/women/3-slim-y-tank.html Server 2: ...
0
votes
0answers
31 views

How to monitor AWS EC2 instance in order to recognise DDOS and identify bottlenecks? [duplicate]

I have web app (NodeJs) running on AWS EC2 Ubuntu instance. I would like to monitor it somehow so I would be able to quickly recognise DDOS attacks. I would also like to identify bottlenecks etc. What ...
0
votes
1answer
308 views

How to mitigate DDOS attacks on AWS?

I have web application (NodeJS) and I plan to deploy it to AWS. To minimize the cost it will run on single EC2 instance. I'm worried though about what will happen if someone decides to bless me with ...
4
votes
1answer
151 views

AWS EC2, Nginx SSL Issue

I'm running a rails app on an AWS EC2 instance with Nginx 1.4.6 acting as a reverse proxy and serving SSL certificates. I'm pretty sure my issue is with my Nginx config. Here it is: upstream puma { ...
2
votes
0answers
83 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 ...
1
vote
0answers
86 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 ...
0
votes
1answer
37 views

Find best AWS EC2 zone for given IP address

Is there an easy way to determine AWS EC2 region with lowest ping to given public IP address? There is a server hosted by third party. I only know the IP address of the server. Given that I'm looking ...
0
votes
0answers
61 views

Ansible and EC2: How to enumerate running instances by tag?

In a playbook, I want to spin up a bunch of Spot instances on EC2 and deploy some services on them. Since I want to re-use already running spot instances with a specific tag, I am using exact_count ...
-1
votes
1answer
195 views

Alias not working in VirtualHost for a domain but works locally on localhost?

I have created a virtual host locally using domain name virtual hosting in which I have used an Alias to a directory pointing to another project on the same server (my local host) as given below: ...
7
votes
1answer
694 views

How to load balance sftp instances on AWS

I like to know is it possible to load balance sftp servers in AWS. I have 2 servers, and each of my servers are using s3fs-fuse to mount the same S3 bucket onto a mount point. Both of my ec2 ...
0
votes
0answers
367 views

Let's Encrypt on AWS EC2 - domain name mismatch

I tried to generate a SSL certificate with Let's Encrypt on my EC2 instance with an elastic IP associated to it. The command I run is ./letsencrypt-auto certonly --standalone -d mariellaval.com -d ...
-1
votes
1answer
73 views

Nginx with mod_security on EC2 [closed]

I am looking to get some ideas and see what others are doing in terms of managing/keeping updated Nginx + mod_security on EC2 instances. The catch with this is that mod_security needs to be compiled ...
1
vote
0answers
58 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
1answer
43 views

AWS EC2: EBS snapshot without reboot in read only context it is safe (consistent)?

I have a Windows Server 2012 R2 EC2 instance on AWS platform, with 2 EBS volume attached, the first (C:) for Windows SO (root volume) and the second (D:) for static file storage served by http server. ...
1
vote
2answers
95 views

need recent version of libmemcached on aws ec2

The yum repo available on aws ec2 instances only has an old version of libmemcached: v 1.0.8. Can anyone tell me how to get a more recent version, like 1.0.18, installed on an aws ec2 instance? ...
0
votes
0answers
70 views

Diagnosing high Network Out (Bytes) by MySQL instance

I have an EC2 instance (r3.xlarge) with only MySQL running on it. At some points in time, this machine sends a sustained amount of information (at almost a rate of 400Mbps) for about an hour or more ...
0
votes
1answer
56 views

Unable to SSH into EC2 Ubuntu Instance port 22:Connection Refused [duplicate]

I created EC2 Ubuntu Instance, when the status check was clear, I tried following command. chmod -400 key.pem & ssh -i key.pem ubuntu@ip_address which gave following error ssh: connect to ...
0
votes
1answer
57 views

Can't connect on port 25 on my EC2 instance

I'm new to EC2 and I'm pretty confused about what's going on. I have a security group setup that allows world access on a number of ports (22,25,80,443,993) all with source 0.0.0.0/0 I have my ...
0
votes
0answers
71 views

Why does VSFTPD time out on slower connections?

I've got a Linux box running VSFTPD. In particular it's on an EC2 instance in AWS with a DNS record in Route53 to give it a friendly/public name. I typically use FileZilla as my client to connect to ...
4
votes
1answer
36 views

EC2 - should security groups be specialized and stacked?

I haven't been able to find any best practices for AWS security groups. I figure there are two approaches I could take, but I'm not sure on if there are any particular drawbacks to either one. ...
-2
votes
1answer
76 views

Can I run VirtualBox with Bridged adapters on EC2 and GCE

I have a Ubuntu 14.04 host on GCE and I want to run a VirtualBox VM on it. The guest is also running Ubuntu 14.04. I want the VM to be visible to other machines in my VPC and bridged adapter seems to ...
3
votes
1answer
91 views

AWS Windows EC2 instance: daily EBS snapshot without downtime

I have one "Windows Server 2008" instance on "Amazon AWS EC2" with two "EBS-volumes" attached: D:\, E:\. I want to schedule a daily snapshot of only D:\ "EBS-volume" to "s3 bucket" so that we have ...
0
votes
0answers
29 views

What is the benefit of the RDS Environment Variables being set for EC2 instances?

Background I am running an ASP.NET MVC website running from Elastic Beanstalk. I have an Windows EC2 instance running IIS and an RDS instance in an Elastic Beanstalk environment. The Problem I've ...
3
votes
2answers
202 views

Error while updating yum

Trying to update my server and I get this error. I have tried the suggestions at the bottom but no success. How can I resolve? sudo yum update Loaded plugins: priorities, update-motd, upgrade-helper ...
3
votes
1answer
58 views

Reducing AWS EC2 Instance and RDS - Is 'low' Network Performance acceptable?

I launched my site on AWS a few weeks ago. I have a m3.medium EC2 instance and a db.m3.medium RDS instance (MySQL database). I've looked at the monitoring for each and this is the average usage for ...
3
votes
2answers
49 views

Linux user to access and execute only on one location

I am trying to figure out a solution for this: I have some user which I created using command useradd. I want to allow this user do whatever he wants on a special location, say /var/www/. He might ...
0
votes
0answers
25 views

Entire EBS not being used with AWS EC2 instance?

I found out the entire root partition isn't used with the ami I created, ami 1: /dev/mapper/vg_basecentos6-lv_root 6.5G 2.0G 4.2G 32% / ami 2: /dev/xvde 20G 723M 18G 4% / I've created ...
1
vote
0answers
42 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 ...
0
votes
1answer
85 views

What is the benefit of VPC Endpoints on AWS?

I learned a long time ago that if you want an EC2 instance to be able to talk to AWS services like SQS, Kinesis and the like, the instance has to either have a public IP address or there needs to be ...
0
votes
0answers
19 views

414 Uri to long

I have the following url to reset my password: ...
0
votes
0answers
28 views

Jenkins aws elastic deployment plugin just create a new ec2 on each update

Here is something strange happening when I tries to deploy from Jenkins to Elastic Beanstalk , you can check my previous question for more clarity. ...
3
votes
2answers
108 views

EC2 Security Group, restrict inbound access by hostname

I have written a web hook for PayPal IPN and I only want to allow access from PayPal servers on Port 80/443 to the EC2 instance hosting the end point. In the EC2 security group console I can only ...
0
votes
0answers
117 views

nginx configuration: Extremely poor performance of AWS server running Magento

I have an AWS server which is setup with nginx with Magento, and PHP-FPM. The server is currently setup as an on-demand type (which I realize is the wrong type to use). Type: c3.2xlarge CPU : 8 ...
0
votes
1answer
21 views

Amazon - point your elastic IP to a VPC peer

I can't seem to be able to find an answer to this question within the Amazon documentation. Let's say my account has an elastic IP. It is now assigned to an instance within a VPC. I then start a VPC ...
0
votes
1answer
70 views

Should I use amazon VPC or EC2 in this scenario?

My application is a SAAS that leverages amazon web services. Currently, the application is ending development and my company received its first client. My application users are required to upload word ...
0
votes
1answer
43 views

Errors that disk is full. df -k only shows 51%

Amazon ec2, web server, no database. I could not create a new file with touch, I couldn't even use tab completion because it complained about not being able to create a file. Someone else just ...
0
votes
1answer
20 views

Fixed: Knife create instance failing - ERROR: uninitialized constant Chef::Mixin::Command

I'm wondering if any of you guys have a clue on what is the problem here. I'm using Chef Knife EC2 plugin to create a new instance. After completing the ssh connection step, it seems to break on ...
0
votes
3answers
183 views

Idle AWS EC2 but high memory usage

I'm using Amazon EC2 instance C4.large, total 3.75G memory, running Amazon-Linux-2015-09-HVM The memory usage increases day by day, like there's a memory leak. Then I kill all my program and all ...
0
votes
1answer
31 views

How to restrict IAM policy to not allow stop/terminate an EC2 instance but can create new instances?

I want to create IAM policy which will restrict group or users to stop/terminate two used EC2 instances but they can create their own EC2 instances. I used following policy statement for this: { ...
0
votes
1answer
205 views

Connection timed out when trying to SCP from one EC2 instance to another

I'm trying to SCP from one ec2 instance to another (via SSH client). Both server use the same keys. My initial investigation into this led me to believe this would all be possible by using ...
0
votes
1answer
43 views

Amazon ec2 Data transfer out

I recently reserved a ec2 instance for 36months, i plan on moving my web app over to it very soon but i started doing some research, amazon charges for data transfer out. Basically the entire reason ...
0
votes
1answer
121 views

Amazon Web Services, mod_remoteip behind VPC hosted ELB occasionally sending IPv6 addresses

On Amazon Web Services, I have an EC2 instance running Apache and mod_remoteip. The instance is behind a Virtual Private Cloud (VPC) hosted Elastic Load Balancer (ELB). In the mod_remoteip config ...
2
votes
1answer
24 views

Configure Amazon EC2 auto-scaling by database event

How do you configure Amazon EC2 auto-scaling to create instances programmatically based on a database event? I have an application that processes several dozen large files (100MB each) on a monthly ...
0
votes
0answers
158 views

Setting Up StrongSwan on CentOS 6 to Connect to Amazon VPC VPN

NB: This questions pertains to connecting Strongswan to AWS hardware VPN, NOT between two servers running Strongswan I tried following the tutorial here: http://www.mynameistoby.com/ It won't work ...
2
votes
1answer
30 views

EC2 Disk space not utilized fully

I have an EC2 instance. While launching i tried with disk storage space, like 16 GB. In AWS console i see a new EBS volume been created of 16 GB and gets attached. When i log into machine i can see ...
-1
votes
1answer
32 views

How can I set an EC2 network interface to stop auto-assigning a public IP address?

I launched the majority of my EC2 instances with network interfaces that automatically assign public IP addresses. Now that I no longer want them to have public addresses, is there any way to disable ...