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

learn more… | top users | synonyms (1)

5
votes
1answer
67 views

Can't install PM2 services via Ansible on an Ubuntu EC2 instance

I'm using Ansible to create a pm2 service on a EC2 / Ubuntu instance. Below is the script. When I run it, PM2 is installed and the service is enabled. When I run pm2 list, I don't the see the ...
0
votes
0answers
46 views

Connect to a Server from my AWS EC2 instance

I have a app running on AWS EC2 which connects to a database in another server. The database connection Uri is as following, jdbc:XXX:172.18.2.107:3306/database This is what I got form my ...
0
votes
0answers
53 views

502 Bad Gateway from relocated instance on AWS EC2

I tried to move some instance from tokio region (which by the way, it's working normally) to sao paulo region, then I followed this basic steps to perform but when I launch the instance from the ...
0
votes
3answers
1k views

multiple virtual hosts on EC2 ubuntu - cannot access second host, always accesses default

I have been searching and reconfiguring for 6 days now and have lost several clumps of hair. PROBLEM: I want 2+ virtual hosts on my ubuntu server (1 ip) BUT - Only the first "alphabetically" listed ...
0
votes
2answers
856 views

Server overloaded with log messages: “tty_release_dev: pts0: read/write wait queue active!”

In the logs, I have this (extract from the full kernel messages logges at 06:01:14): Apr 21 06:01:14 ip-10-49-109-107 kernel: [233185.863038] BUG: unable to handle kernel NULL pointer dereference at ...
2
votes
1answer
1k views

Alternative to DFS-R on Amazon EC2 Windows Servers

For hosting our web sites in a Windows load-balanced environment we've traditionally used DFSR to sync folders between servers with our hosting company. We're looking to migrate a lot of our sites to ...
-1
votes
0answers
35 views

L2TP/IPSec - Windows can't connect to OpenSwan

I'm trying to connect a VPN (L2TP/IPSec) running Ubuntu with openswan/x2ltpd. It looks like the connection is estabilished but IPsec receives a disconnection right after. Probably is happening on ...
0
votes
1answer
1k views

Amazon Linux AMI for NFS between multiple EC2 servers

So I've been trying to create a Dropbox like system to allow multiple EC2 instances to work with the same files. I'm writing the programs that actually modify the files myself, and I'm not worried ...
7
votes
1answer
2k views

xen:balloon: reserve_additional_memory: add_memory() failed: -17

We're running Ubuntu 14.04 on an EC2 virtual machine. I've been seeing a lot of these errors in our kernel log: [ 704.032085] xen:balloon: reserve_additional_memory: add_memory() failed: -17 [ ...
1
vote
1answer
32 views

what would be the Impact of using Multiple sites in same VPC on AWS platform?

I have a site running on four server inside of a VPC on aws platform. My question is would their be any impact on site if I host another website on four new server in the same VPC considering their ...
-4
votes
1answer
37 views

Does it cost anything just to allocate an elastic IP? [closed]

The title is pretty much self explanatory. When I click the "Allocate New Address" button in the EC2 console does it cost me anything?
1
vote
2answers
20 views

Can I use kernel modules on Amazon HVM/PV instances?

It's a perfectly stupid idea, I know. But I want to test one of my older projects, which includes kernel module (Netfilter extension) on a virtualized cloud-y instance. Will it be possible for me to ...
1
vote
2answers
3k views

AWS - Status check fails when loading AMI created from snapshot

I have a running micro instance using an 8GB EBS that I've customized. To my understand there are two ways I can create an AMI from this. 1) EC2 console -> INSTANCES - Instances -> Right Click ...
0
votes
1answer
57 views

Where are AMIs stored?

It seems like an very simple question, but yet I could not find the answer. When I make an instance on Amazon AWS and then make some changes and create an AMI where is that AMI stored? S3? Will making ...
0
votes
0answers
54 views

amazon ec2 - opencart seo url not working

I have installed opencart on my amazon ec2 server. I am trying to activate the seo url feature but it is not working. I have renamed .htaccess.txt to .htaccess in folder directory ...
1
vote
1answer
49 views

Launch new EC2 instance with a specified EBS volume attached

I would like to launch an EC2 instance using the python boto library, with a previously created EBS volume attached (in addition to the root volume). After connecting, I look up the volume by its ...
-1
votes
1answer
54 views

How can I host active directory from Amazon EC2? [closed]

I know EC2 pretty well, but I'm totally new to Active Directory. I'm trying to set up a computer hosting Active Directory on EC2. I want to be able to join the domain from computers running on EC2, ...
5
votes
5answers
12k views

How to schedule automatic (daily) snapshots of AWS EC2 Windows Instance?

I have some Windows servers hosted on Amazon EC2. Some run Windows Server 2003 and other run Windows Server 2008. These are EBS-backed instances. Most of the instances also have some additional ...
1
vote
1answer
536 views

docker.io package reports missing only on EC2

I'm trying to install Docker on a Debian Jessie EC2 image. Specifically, I'm using this AMI: https://wiki.debian.org/Cloud/AmazonEC2Image/Jessie. On a locally running Debian machine sudo apt-get ...
0
votes
1answer
31 views

Configure a transparent Elastic Load Balancer

I want to create an Elastic Load Balancer in front of my SSL site which simply passes through ports 80 and 443. I do not want my Elastic Load Balancer to have an SSL certificate of its own, I just ...
4
votes
2answers
465 views

Can't SSH into Amazon EC2

This is my first Amazon EC2 instance but I'm having a hard time and google can't help me out. These are the steps I have taken: Generate a keypair called aws Download aws.pem and put in my ...
2
votes
1answer
161 views

Amazon EC2 Instance running Ubuntu doesn't connect with non ec2-user

I have an Amazon EC2 instance running Ubuntu 10.04. I created my new user with sudo useradd -d /some/path new_user. Using the new_user, I created a new rsa key, using ssh-keygen -t rsa in the ...
2
votes
1answer
124 views

EC2 Ubuntu SSH Stops Working

I use about 15 EC2 instances to run some services. They are hosted on EC2 and run Ubuntu. Every once in a while the SSH stops working and the "Reachability Status" in the EC2 console shows that it is ...
3
votes
3answers
1k views

Amazon EC2 Elastic Load Balancing - strategy for zero downtime server restart

I have 5 web servers (Apache/mod_perl) behind Amazon EC2 Elastic Load Balancing, when I deploy codes to the web servers, I am doing this.. For each machine, shutdown the Apache Update the code Start ...
1
vote
1answer
18 views

Amazon EC2 Classic to VPC - what is the best migration path?

We're running an Ubuntu 10.10 on EC2 Classic and are migrating to a VPC. My question - is it best to first replicate the existing servers into VPC, then upgrade to Ubuntu 14, or just create the latest ...
-1
votes
0answers
51 views

Azure intermittent outbound connection failure to EC2 [closed]

I have three Linux VMs (Ubuntu 14.04) running in a vnet, like this: Host Internal IP External IP prod1 10.0.1.1 104.45.234.56 <---\__ load balanced prod2 ...
0
votes
2answers
49 views

How to restrict outbound EC2 to only access S3?

I want to restrict the outbound security group from an EC2 instance. The instance only needs to access an S3 bucket. I just learned that S3 uses port HTTPS (443). I could just put that rule in place ...
1
vote
2answers
290 views

S3 upload delayed

I have 2 servers using the same data located in AWS S3 storage. One is processing HTTP traffic, the other does longer lived jobs. How it works is that HTTP one saves data to S3, dispatches event to ...
0
votes
1answer
660 views

How to move RDS database to different VPC

I didn't select a VPC when creating a MySQL RDS database, so it created it inside an auto-generated "default" VPC. I'm now unable to add it to any of my pre-defined security groups, or access it from ...
0
votes
2answers
122 views

“www.mydomain.com” reachable, “subdomain.mydomain.com” is not

I have an Amazon EC2 Debian instance running NGINX. I can reach "www.mydomain.com" just fine. however, despite modifying the web server (NGINX) configuration to support "subdomain.mydomain.com" -- ...
4
votes
1answer
1k views

Can't find my AWS shared AMI when trying to share with specific account

I followed the instructions to share my AMI with a specific account here: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/sharingamis-explicit.html I made sure the account number is correct, and ...
0
votes
0answers
96 views

Ejabberd Clustering on EC2

I am trying to implement ejabberd clustering on Amazon EC2 instances, I have installed ejabberd and it is working fine on both instances, I can connect and send message, my first server is a master ...
1
vote
1answer
105 views

AWS CLI Command Line: How to use “--query” to output multiple source lines

I am using aws-cli version 1.7.8 to get the --query output to create one record that is derived from multiple lines. In this case I am trying to get specific information from describe-instances. In ...
-1
votes
0answers
11 views

how to power on imported vmware vm on ec2 by using ec2 cli tools

I am unable to power on and see the OS and files of an imported VMware VM on ec2. Is there any chance to have a look at the OS and files on the imported VM by using CLI tools?
0
votes
2answers
216 views

How can I check /dev/xvda1 if the command 'touch /forcefsck' doesn't work?

On login to EC2 (Ubuntu) instance, I see *** /dev/xvda1 should be checked for errors *** I can't fsck /dev/xvda1 because it is mounted, and sudo umount /dev/xvda1 fails because it is in use. So I ...
3
votes
3answers
1k views

Amazon EC2 VPC: NAT instance download speed performance drop

I have a set of servers inside Amazon EC2 in VPC. Inside this VPC I have a private subnet and a public subnet. In the public subnet I have set up a NAT machine on a t2.micro instance that basically ...
0
votes
2answers
26 views

DNS subdomain linking to service on port 5000 [duplicate]

My website is running on AWS EC2 on /var/www/html on port 5000. I would like to create a DNS A Zone test.example.com linked to that website. On the domain page I can only add the IP, not the port, so ...
0
votes
2answers
99 views

UDP/TCP ports on AWS ec2 public IP blocked

My goal is to receive/send UDP packet traffic on specific ports on my EC2 instance (on my eth0 private IP) via my public IP. I am asking because I have set my security group to allow all ...
0
votes
1answer
134 views

https outbound connections work before creating AMI, but not on new instance using that AMI

On Amazon Web Services Launch an EC2 instance using Amazon Linux AMI 2014.03.1 - ami-fb8e9292 (64-bit) Run my ansible script to configure the server for baking into an AMI Run some Ruby that ...
5
votes
2answers
6k views

Could not call sign: Could not find certificate request for puppet

I'm getting started with puppet on ec2 using the following guide. https://help.ubuntu.com/12.04/serverguide/puppet.html In the very last step when I try to sign the puppet client from the puppet ...
2
votes
1answer
45 views

How to setup routing for UDP in AWS instance

I'm new to AWS and I'm wondering if any one could provide a guild/link on how to go about setting up, what I'm guessing is VPC, so that I can send UDP packets to and from my instance via my public IP. ...
1
vote
1answer
83 views

Amazon EC2: OpenVPN server won't route bridged packets from client to VPC subnet

I have a bridged OpenVPN setup on a Linux server in an Amazon EC2 VPC. (Spent hours on docs, reading similar problems, here, openVPN forums, no luck yet.) The bridged interface is up and contains ...
0
votes
1answer
40 views

What is the difference between changing instance type(increasing ram capacity) and auto scaling on AWS?

I had been running my website on Amazon AWS t1.micro instance backed on a EBS volume. As I had expected to happen over time, my memory consumption is now almost full and just has around 10 MB free. ...
0
votes
1answer
41 views

Cannot configure RD Gateway to RDP through web access

I have a windows server 2012 base ec2-instance. This is joined to a domain. Have installed RDS service, and configured to make it a RD Gateway server. I can nicely access through web also. But I ...
5
votes
1answer
2k views

Creating an EC2 AMI Image from a running instance vs. from a volume snapshot

I want to backup a Linux-based EC2 instance while it is running with no downtime, and then later on launch a new instance. (The instance is running a web server and Postgres database.) I found there ...
0
votes
1answer
36 views

AWS EC2 Server can not access a fileshare over a VPC VPN using the machine name

I have a windows server on EC2 that is connected to my office via VPN. I'm having an issue connecting to file shares over the VPN. I'm able to connect if I use the IP address for example if I use ...
2
votes
2answers
172 views

Amazon EC2 - need to change IP address without downtime

I'm maintaining a fairly high-profile site which is hosted on Amazon EC2, and the previous developer pointed the A record at the instance's "public IP" instead of using an "Elastic IP". As far as I ...
0
votes
0answers
7 views

Cannot configure RD Gateway

I have a windows server 2012 base ec2-instance. This is joined to a domain. Have installed RDS service, but I need to make it a RD Gateway server. I was trying to configure session based desktop ...
2
votes
2answers
126 views

Getting files from an s3 bucket using IAM role credentials

I am trying to retrieve some files from a private s3 bucket to a filesystem location elastic beanstalk ec2 instance, but with no success. I've created a bucket named dev-config containing a file ...
2
votes
3answers
3k views

JMX connection to Tomcat running on Amazon EC2

My Tomcat 7 process, which I run on a server on Amazon EC2, has settings such as these in CATALINA_OPTS which should allow me to connect for JMX monitoring remotely: ...