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

learn more… | top users | synonyms (1)

0
votes
1answer
19 views

AWS : IP filtering with Load Balancer

I have an Amazon EC2 Instance which I use to expose an API to my clients (Django and Nginx if that can help you). Now, I needed an SSL connection so I had to use a load balancer. I should mention ...
0
votes
0answers
9 views

AWS EC2 How to install Windows Updates and Reboot computer remotely?

I want to run a command via AWS Run Command that downloads and installs windows updates on a remote Windows 2012 R2 Server instance running on EC2, and reboots the instance. I tried suggestions on ...
0
votes
2answers
371 views

running a docker container on upstart on Amazon Linux isn't working

I'm trying to get my container to run on startup using upstart. As the tutorial said - I created /etc/init/nginx_server.conf description "Nginx docker" author "Me" start on filesystem and started ...
-1
votes
0answers
11 views

virtual host created on bitmani wamp stack in amazon EC2 windows AMI is not accessible from outside [on hold]

I have a windows server 2012 R2 Base instance running on amazon ec2. I've installed Bitmani WAMP stack server on to it, and have also loaded my laravel application. I did this using Remote desktop ...
0
votes
1answer
31 views

How to configure Apache to serve default Index.html file stored on attached AWS EBS volume?

I have a AWS EC2 Linux VM with Apache installed, and my requirement to configure Apache so that the default Index.html file served is the one from the attached EBS volume (where I have already stored ...
3
votes
1answer
3k views

Public Amazon RDS database?

Is there any way to add a wildcard security group to Amazon RDS? I'm trying to connect from an EC2 under the same account, but had no luck with the security groups. So I'm resorting to just opening ...
46
votes
6answers
30k views

How to add a security group to a running EC2 Instance?

I have an Amazon EC2 instance running and I will like to add another security group to that instance and then remove the current security group from that instance. Is this possible?
0
votes
1answer
3k views

AWS-EC2: Shared file system for high availability

I have a couple of ubuntu instances running on Amazon EC2 and would like to make them a bit more fault tolerant by running a duplicate instance in another region(generated from a snapshot) with load ...
-2
votes
1answer
19 views

Amazon ec2 server timeout

I know this question has been asked many times before, but in my case none of the answers seem to solve the question. I have followed all of amazon's trouble shooting guide, but I'm still unable to ...
0
votes
1answer
18 views

Why do AWS EC2 spot requests always launch instances in the same zone?

I've created spot requests in several different AWS regions. In most of the regions, there is a zone that is always lower-priced than the other zones so if I create a low-ball spot request in that ...
9
votes
9answers
26k views

Amazon EC2 - No SSH After Reboot, Connection Refused

I've replicated this two or three times, so I'm guessing there's something wrong with what I'm doing. Here are my steps: Launch new instance via EC2 Management console using: Ubuntu Server 13.10 - ...
2
votes
2answers
148 views

PHP and MYSQL on Amazon EC2 server

I am trying to set up an amazon server to display my php files for a final for one of my classes. I followed this tutorial for setting it up and when I try to run my code I get "Fatal error: Class ...
0
votes
0answers
16 views

How to delete old AWS instances after 24 hours? [on hold]

We want to tag our instances as "no longer needed" in a way that they will get deleted after 24 hours. We are detaching instances from an autoscaling group and set an EC2 tag with the timestamp. We ...
4
votes
2answers
1k views

HAProxy authenticated httpchk (health check)

I am using HAProxy on EC2 and using httpchk to manage node availability. I had used a pseudo-unique path as the health check route in an attempt to make sure only my servers responded to the health ...
0
votes
0answers
11 views

Service httpd went down, rsyslogd was HUPed

I have an M2 server on amazon ec2 with (amazon's default ami). I have the default php stack installed with wordpress running on it. The server has been working fine for a few months now without any ...
0
votes
1answer
2k views

How do you get multiple ports working with nginx proxy_pass and Node Express?

I have multiple node instances running each on a different port. (8000, 8001, etc.) I also have nginx running on port 80. What I am trying to do is allow a user to enter my site via a single domain ...
0
votes
0answers
16 views

Do you need GPU AMI to open Android Studio Amazon Web Services

I have been looking into getting a web server for my web development. Recently I have decided shared hosting wasn't enough for what I wanted to do with my hosting. I decided to go with 1 of 2 options. ...
0
votes
0answers
19 views

Is there a cost to EC2 API calls? [on hold]

I am trying to understand if EC2 API calls are being charged. Example API call in Python (taken from here): ec2 = session.resource('ec2', region_name='us-west-2') # List all of my EC2 instances in ...
0
votes
1answer
20 views

Access s3 bucket from Ec2 service

I'm new to AWS and was looking for a bucket policy to enable my ec2 servers access to the S3 buckets on the same account. I tried using this policy which enables the account: { "Sid": ...
0
votes
0answers
14 views

Restrict RDS users to particular region

I am trying to create a policy where I can restrict users to access different region RDS. However I want to give them admin access to only one region i.e. ap-southeast-1. I have created some policies ...
0
votes
0answers
33 views

Setting up Open VPN client on Amazon EC2

There are various pages that advise on setting up an Open VPN Server on Amazon EC2, but all I need is to setup a client (so any internet access is routed through the VPN rather than coming directly ...
-2
votes
0answers
16 views

AWS EC2 public_ip:port_no not accesible

I have a node app which run another node app on public_ip:port_no. I have allowed port range in security groups which port_no may use. The app itself is running on a specific port, that is allowed in ...
6
votes
2answers
2k views

Is it possible to force Re-creation of EC2::Instance or RDS::DBInstance in amazon cloudformation?

It's possible to force the re-creation of a EC2 or RDS instance using cloudformation stacks? My stack goes stuck in a point where simply destroying and creating the resource will fix it, instead of ...
0
votes
0answers
11 views

How do I create a policy in AWS to allow a user to create security groups? [duplicate]

I took this Administrator policy from this link: http://aws.amazon.com/code/AWS-Policy-Examples/2435282702293422 { "Statement":[{ "Effect":"Allow", "Action":"*", "Resource":"*" }] } I tried the ...
-3
votes
0answers
27 views

Automatically Running a Script On a Server?

Background I have a few javascript scripts that I'd like to automatically run at a certain time on a server (e.g. I'm thinking of using Heroku). These scripts essentially add a product of my choice ...
1
vote
1answer
1k views

Issue with aborted MySQL connections (error code: 4)

Some of the connections between my application server (Ubuntu, Apache, PHP) and my DB server (Ubuntu, MySQL) are failing with error code 4. According to the documentation error code 4 is: OS error ...
0
votes
0answers
14 views

SSL in aws ec2 windows running node js

I have a domain via namecheap (say example.com) and server is a aws ec2 windows instance. There's a node js server listening at 443 , with following code require('https').createServer({ key: ...
-1
votes
0answers
14 views

php mail() is 7 hours delay in receiving mails [closed]

I am using amazon server. I use php mail() for sending mails. Sometimes email delivered in proper time. But at times it takes more than 7 hours to deliver a mail(). Please give me a sloution.
-1
votes
2answers
41 views

Will CSR become invalid

I have a domain registered with namecheap and server instance is aws ec2 (windows machine running node js) , cname record pointing to ec2 instance's public ip. Now i want to configure ssl on it , I ...
-5
votes
1answer
31 views

Is EC2 storage really 3 cents per GB? [closed]

https://aws.amazon.com/s3/pricing/ Is Amazon blob storage really 3 cents per GB per month? Are there any gotchas? EDIT Are there additional costs, what if the data is heavily accessed?
0
votes
0answers
78 views

How to connect Amazon EC2 with Cloudflare?

I'm trying to set up Amazon EC2 with Cloudflare for more than one day. I already added all the information NS failover with NS route53 no Cloudflare but nothing works. Someone got success to connect ...
0
votes
1answer
23 views

Private Route53 zone and dynamic DNS

I have a simple question, with hopefully a simple solution. I have a private Route53 zone, which is only available within a VPC. I want some kind of dynamic dns, so when servers are launched, they ...
-4
votes
0answers
18 views

How can i use services like amazon workspace on EC2 instance?

I want to create an instance and assign it to my user with the following softwares like Ms Office, Skype and other softwares. So, is it possible to do this in instance because we connect our instance ...
-2
votes
2answers
29 views

Clone ec2 instance with all things installed

I received a amazon email saying that i have to terminate my instance because of attacks but worked really hard to install and setup everything on the instance. So how can i create another ...
-1
votes
0answers
23 views

docker on aws ec2, not reachable from outside

Trying to get the sharelatex community docker image up and running on aws. Followedd their guide and got to the point where I can see the login page when using lunx on the aws instance via ssh. So it ...
10
votes
4answers
6k views

AWS EC2 and build-essential

I am trying to compile Node.js on Amazon EC2, but I can't even install "build essential". Where's the problem? Thanks. sudo yum install build-essential Loaded plugins: fastestmirror, security ...
1
vote
0answers
20 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 ...
0
votes
0answers
18 views

InnoDB causing mysqld to crash on Amazon Linux AMI

This Amazon Linux server is running a single WordPress site that is constantly crashing. The way to resolve it seems to be to run service mysqld restart and it resumes operation until it crashes ...
-1
votes
0answers
23 views

Access mysql database on EC2

How can I connect from my computer to my mysql database on EC2? I have checked the security groups for the instance, and made sure that my public IP is allowed in the security groups for inbound ...
0
votes
1answer
19 views

Amazon RDS and Auto-Scale EBS: Security Groups

I have the following setup on Amazon AWS: An Auto-Scaling Group An ELB An RDS database Everything is in the default VPC The only thing about this setup that I don't quite understand yet relates to ...
1
vote
2answers
44 views

Central control for SSH access to AWS instances

What are some approaches or best practices for managing SSH access by many devops to many AWS instances? I'd like to have the ability to e.g. add or remove access for a user to multiple instances ...
0
votes
0answers
17 views

SSH stops responding on all AWS EC2 instances at the same time

I've noticed SSH connections hang on all my EC2 instances (ubuntu), and eventually fail (with 'broken pipe') around the same time, 7 to 9pm in the evenings. HTTP and telnet continue to function ...
0
votes
1answer
26 views

How to migrate all AWS services (including running instance, API, Snapsorts) to its sub account with consolidate Billing?

I have one master AWS account and have linked one subaccount with it. I want to migrate all AWS services (including running instance, API, Snapsorts, user group permissions, tags, etc) to subaccount ...
0
votes
1answer
10 views

Does vanilla Ec2 support anything similar to the termination hooks supported by auto-scaling?

I've got a set of machines which are stopped and started nightly for cost management. They are not in an ASG, because the servers have different purposes/are owned by different users/etc. I would ...
0
votes
0answers
11 views

How to set specific user profile path on EC2 Windows server?

I want to create a new local user on EC2 Windows 2012 R2 server and specify its profile folder explicitly. I do the following net user SomeUser Pwd /ADD /HOMEDIR:C:\Users\SomeUser ...
2
votes
1answer
39 views

AWS regional traffic: Track down where it comes from

I started using multiple machines in a cluster on AWS EC2. Since I started this project, I see costs for regional traffic in my billing information: regional data transfer - in/out/between EC2 AZs ...
0
votes
1answer
22 views

rsyslog server listen only on tcp 514

I'm trying to set rsyslog client- server to listen to tcp messages with port other then 514, however it doesn't work. Only when using 514 it receives messages. I'm using EC2 vms. input(type="imtcp" ...
0
votes
0answers
18 views

Amazon EC2 instance goes offline

I've set up a game server on Amazon EC2. However it is often going offline for ~10 minutes, failing a status check. Instance reachability check failed at January 31, 2016 at 8:10:00 PM UTC+1 (4 ...
0
votes
1answer
19 views

With PROXY support enabled in ELB, are occasional non-PROXY connections to the EC2 instance still possible?

We have PROXY protocol support enabled on our ELB but we seem to be occasionally getting non-PROXY TCP connections to the EC2 instance behind the ELB. The instance's Security Group only allows ...
0
votes
1answer
18 views

Route 53 A name record to EC2 instance not working

I have an issue with my ec2 instance hosted on AWS. The EC2 instance has an associated Elastic ip address that I can access and confirmed is working (SSHing into the instance and changing the base ...