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
2answers
33 views

Loadbalancing a root domain redirection web server hosted in EC2 to remove SPOF

This may seem quite obscure and perhaps quite niche but bear with me. The situation is: www.domain.com points to infrastructure in EC2, specifically an ELB domain.com points to a micro instance in ...
1
vote
1answer
40 views

Creating domain name to ec2 instance with masking

I have a created a EC2 instance and hosted my application in the amazon cloud and wanted to set the domain name to my EC2 instance (which URL is to long) and I want the domain name to be present in ...
3
votes
1answer
68 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 ...
0
votes
1answer
27 views

How to find total number of reserved instances under particular tag?

I am query AWS using boto ec2 in python. Firstly I find all reserved instances by get_all_reserved_instances then I am also able to find total count of each instance_type by instance_count. I am ...
2
votes
0answers
65 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 ...
3
votes
0answers
122 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 ...
1
vote
1answer
46 views

Getting different number of AWS instances depending on how I count

I am calculating my total number of reserved instance on the basis of instance_type and I'm storing this in a dictionary by instance_type as a key. Firstly, I'm finding my all reserved instances by ...
0
votes
1answer
43 views

Setting up a simple email forwarder on EC2 [closed]

I'm migrating my personal website to be hosted on EC2. I've got the website part of it up and running, but I'm stuck getting the email server setup. All I'm trying to do is receive a small volume of ...
1
vote
1answer
84 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
29 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
34 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
225 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
136 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
76 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
84 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
36 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
57 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
187 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
631 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
350 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
71 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
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
1answer
40 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
88 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
67 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
47 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
48 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
55 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
35 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
73 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
66 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
27 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
199 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
55 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
40 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
73 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
27 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
96 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
109 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
69 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
38 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
18 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
152 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 ...