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

learn more… | top users | synonyms (1)

6
votes
2answers
28k views

RSA certificate configured for SERVER does NOT include an ID which matches the server name

I recently started a LAMP server (all the latest versions) w/ WordPress on it, and I'm trying to install a SSL certificate that I recently purchased. When I restart apachectl, error_log gives me this: ...
0
votes
1answer
34 views

EC2 + Cloudflare = CORS issue with font

I just put my first Wordpress site up on a EC2 instance. And I have setup CloudFlare as my CDN. But when viewing the site I get the error below: Font from origin 'EC2 IP' has been blocked from ...
0
votes
2answers
1k views

Can't connect from EC2 to RDS via PHP. I can directly thought

I've set up an EC2 instance it has mysql and php-mysql installed (not mysql-server). I've set up an RDS instance and set the security group to the EC2 instance. I can connect via the command line ...
1
vote
2answers
953 views

Unexpected behaviour when dynamically add node in HAproxy server

I wanted to use HAProxy for my web app for load balancing purpose. I am trying to add a new rabbitmq node dynamically in HAProxy server using command : haproxy -p /var/run/haproxy.pid -sf $(cat ...
1
vote
1answer
1k views

In Amazon EC2, what's the best way to clone a private github repository on boot?

I need to configure an autoscale group of EC2 instances that on boot will clone a particular branch and commit from a private github repository, then execute code from inside that repository. I'm ...
0
votes
0answers
18 views

EC2 Booting an EBS-backed AMI instance gives a kernel panic

TLDR: I'm trying to create an EBS-backed AMI instance and then pivot to it using Busybox but I get a kernel panic: VFS: Mounted root (ext3 filesystem) readonly. Freeing unused kernel memory: ...
2
votes
3answers
2k views

How to delete EC2 AMI

I know that the command ec2-create-image instance-id will be creating an image of the ec2 instance, creating snapshots file and registering as an AMI. But what is the equivalent command to delete the ...
-1
votes
1answer
49 views

SSL Certificate - Self-Signed Certificate

I'm trying to get PCI compliant and the PCI scanning company is showing below Fail scan report SL Certificate - Self-Signed Certificate SSL Certificate - Self-Signed Certificate port 25/tcp over ...
0
votes
2answers
67 views

AWS credentials not working - ~/.aws/credentials

I'm having a problem with my AWS credentials. I used the credentials file that I created on ~/.aws/credentials just as it is written on the AWS doc. However, apache just can't read it. First, I was ...
0
votes
0answers
15 views

Knife EC2 in zero mode cannot gives TypeError when ssh comes up

I am using the following command to spin up a new EC2 instance: knife ec2 server create -I ami-f0b11187 --ssh-key "mykeyid" -f t2.micro --ssh-user ubuntu --identity-file ~/.ssh/mykey.pem -z ...
0
votes
1answer
20 views

why can't I view my app on my aws ec2 instance? deployed with meteor up

I'm trying to get my meteor app up onto an aws ec2 instance using meteor up. This worked for me previously, following this tutorial. I've successfully run mup setup and mup deploy, but when I try to ...
-2
votes
4answers
797 views

Get AWS ELB name from an attached instance

I created one ELB and attached a few instances to this ELB. So when I login into one of these attached instance, I would like to type a command or run a nodejs script that can return me the its ELB ...
0
votes
0answers
22 views

Is it possible to use a partitionless EBS image as an HVM AMI?

Attempting to locate/create an EC2 AMI that meets my current needs. HVM is preferred over PV, because the newer and larger EC2 instance types only support HVM (we're targeting r3.4xlarge) and a ...
0
votes
2answers
32 views

Starting a long-running process in cloud-init on ec2 instance

I'm trying and failing to start a long-running command on launch of an EC2 (Amazon Linux). It needs to run under the ec2-user account. This was my first attempt: #!/bin/bash echo 'Woot 1!' > ...
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
0answers
11 views

Is Reboot Needed after registering a COM dll on server

I have Just Registered two dll on EC2 web server. And change my build platform target to x86. But Still geting this error Retriveing the COM class factory for component with CLSID Failed due to the ...
0
votes
1answer
104 views

Is a single instance VM with a SLA possible in Azure with 3rd party software?

I understand that single instance VMs aren't eligible for an SLA in Azure. For the SMB customers who have important applications that weren't built well enough (Sage 50 in my case) to allow you to ...
0
votes
1answer
22 views

EC2 Auto scaling to start instances, not launch them

I think this is not supported or possible, but maybe someone has tricked EC2 into doing this. I have a group of 10 instances that are appropriately configured for my task. I want to turn them on/off ...
0
votes
1answer
56 views

Can't connect to AWS instance after import with stock Centos7

I am trying to import a Centos7 based VM into Amazon AWS. The VM was created with the Centos7 minimal ISO installed into VirtualBox. Networking in the VM works fine locally before trying to do the ...
1
vote
1answer
1k views

Using TntDrive to mount Amazon S3 on a Windows Amazon EC2 instance

I currently have 2 Amazon EC2 Windows Server 2008 instances setup with a load balancer. My problem now is that I need both instances to be able to access a single file system source (I'm trying to use ...
1
vote
1answer
2k views

Can't install new database in OpenLDAP 2.4 with BDB on Debian

I'm trying to install an openldap server (slapd) on a Debian EC2 instance. I have followed all the instructions I can find, and am using the recommended slapd-config approach to configuration. It all ...
1
vote
1answer
45 views

RDS to EC2 mysql replication

I would like to create a RDS mysql and to replicate it to an EC2 server so the DB will be local and thus the query time will be faster (the EC2 is a web server). According to the second paragraph here ...
0
votes
1answer
2k 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
8answers
20k 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 - ...
1
vote
1answer
981 views

Amazon EC2 Socket connection not being accepted

I am trying to run a java application on my EC2 instance. The application accepts socket connections on port 54321. If I try and connect to it, it times out. My Security Group is set as: TCP Port ...
1
vote
2answers
271 views

How to avoid GRUB errors after runing apt-get upgrade - ubunut

I'm running ubuntu 14.04 on an EC2 After running apt-get upgrade I'm prompted with a screen that asks me to reinstall GRUB boot loader The GRUB boot loader was previously installed to a disk ...
0
votes
2answers
521 views

Can't access IIS web server on public IP

I have a Windows Server 2012 running within the Amazon Cloud. There, I've added the IIS web server role. Accessing the example page, and my own pages from within that server over the private IP is ...
1
vote
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 ...
0
votes
1answer
33 views

In a LAMP stack, what are some obvious ways to utilize ephemeral SSD storage? [closed]

Here I'm talking about cloud servers (from any vendor) which feature some amount of ephemeral SSD storage. When working with standard images, by default this ephemeral SSD storage is wasted and not ...
0
votes
0answers
21 views

Changes done on EC2 instance took effect after restarting the server

I'm working on a website that i built with codeigniter framework. I'm using amazon EC2 instance since last 1 month. Today while doing some work i found that changes done in PHP files are not ...
1
vote
1answer
1k views

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail: ...
2
votes
5answers
3k views

I'm unable to symlink a directory into /var/www/html

I've read up on this subject at so many resources but I'm still struggling to get this right. Background: I'm using an Amazon EC2 instance with a LAMP setup I have this repo on bitbucket that has ...
2
votes
3answers
3k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
0
votes
2answers
347 views

Wordpress slow when publishing

I have an Wordpress website with more than 219k of posts, and everytime when I publish something my CPU/MySQL usage go to 100%. I really don't know why, because my entire website stay on 6% all day ...
0
votes
0answers
23 views

How can I specify the devices for an iscsi target?

I have an AWS Storage gateway that exposes two iscsi targets. I am attaching them to an EC2 instance running Amazon Linux: iscsiadm --mode node --targetname gateway.com.amazon:volume1 --portal ...
-3
votes
3answers
57 views

How can I access EC2 instance using Access Key ID?

I need to access (SSH) Linux EC2 instance, I have following information available. Access Key ID and Secret Access Key. Is there any way to login EC2 with above information?
0
votes
1answer
40 views

aws ec2 linux instance not reachable

I have created aws ec2 linux instance. I attached ebs volume and mounted ebs under /mnt. I stored data under /mnt data size is huge. Now my instance is failed to respond ( checks failed ) but ...
0
votes
0answers
25 views

Speed up EIP reassignment

I have a real-time application running on an Amazon EC2 instance. I'd like to implement master/slave redundancy with a VPC, a second instance and keepalived. So far it's working reliably, but in the ...
0
votes
1answer
27 views

Is it possible to get aws ec2 instance id based on its IP address

I have list of IP addressed, I want to find if instances associated with the IP address are still running or terminated. I am launching and terminating lot of instances on daily basis, just want to ...
0
votes
1answer
38 views

sendmail masquerading doesn't change From address in envelope or header

I cannot find why masquerading isn't working for our server. I have been through a few dozen online explanations of the subject, here and on other forums, and according to them we are taking all the ...
0
votes
2answers
3k views

Allowing web access to an Amazon EC2 Windows Server 2008 instance running Tomcat+application?

The instance I choose was the following: Basic 64-bit Microsoft Windows Server 2008 (AMI Id: ami-d9e40db0) Microsoft Windows 2008 R1 SP2 Datacenter edition and 64-bit architecture. I have installed ...
0
votes
0answers
17 views

In AWS Datapipeline how can I name my EC2 instance resource (or tag it)

I am starting to use Datapipelines in AWS and it creates EC2 instances but the lack of a name makes it feel a bit sketchy just looking at the list of running instances in my account. I'd like to have ...
0
votes
1answer
1k views

AWS Cloudwatch monitoring - what is the difference between Average, Sum, and Maximum

I'm setting up alarms for my EC2 instance. This may be basic math, but I'm confused as to what the difference between "average", "sum", and "maximum" as it pertains to a CloudWatch graph. ...
1
vote
4answers
2k views

Can't access site on EC2 instance via public ip

I have Amazon EC2 micro instance with window 2008 server and deployed one sample web application over there which uses java and deployed on tomcat 7 server. I am able to access it locally on ...
4
votes
2answers
3k views

Nginx Solution for AWS Amazon ELB Health Checks - return 200 without IF

I have the following code that is working on Nginx to keep the AWS ELB healthcheck happy. map $http_user_agent $ignore { default 0; "ELB-HealthChecker/1.0" 1; } server { location / { if ...
0
votes
1answer
19 views

Access EC2 site with port

Hi I have create new site in EC2 with port 8099. Which I can access fine within the server like. http://localhost:8099/Site.html But while trying locally http://00.00.00.00:8099/Site.html //note: ...
-1
votes
0answers
23 views

unable to connect to ec2 instance via internet browser

I have an AWS ec2 rhel instance up. My security group is set with every possible protocol and port open for both incoming and outgoing traffic. It is pingable from my computer. My computer is ...
0
votes
1answer
1k 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 ...
-1
votes
1answer
20 views

How can I easily backup multiple folders on EC2 to S3

I move dockers around a lot on EC2 instances. Each docker has a specific folder on the host where it stores it's data. I want to create a single backup script that will look for any of a list of ...
5
votes
4answers
8k views

Nginx set_real_ip_from AWS ELB load balancer address

I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule) so that I can access the originating client IP address on these servers (for ...