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
0answers
10 views

Error establishing database connection WordPress - EC2 and RDS [on hold]

I installed an ec2 micro instance and uploaded my WordPress files and database. Everything was working fine when I went to sleep (i.e. my site was up). When I woke up, I got 'Error establishing a ...
0
votes
1answer
16 views

AWS EC2 Instance Launch Configuration

I am trying to figure out the best way to do this on AWS. What I want to do is: I want to launch an EC2 instance using my custom AMI but on launch make some custom configurations to the environment. ...
0
votes
0answers
7 views

CloudFront alias for https site

Our website is completely configured on SSL and all links of images and others are coming via https://www.example.com/.. This is one of the requirement of site Now, if I need to setup the CloudFront ...
0
votes
1answer
12 views

AWS backup on another attached drive

In AWS-EC2, I was thinking of backup my code data and database in RDS via bash script on separate attached drive on same instance. I want to do it like that way so it becomes easier for me during ...
0
votes
0answers
14 views

rsnapshot vs EC2 EBS Snapshot

Question What are the pros and cons of using rsnapshot [on a live drive] to a separate EBS volume vs using Amazon's EBS snapshot on a live drive? Background I just moved a small single server from ...
-1
votes
0answers
34 views

Amazon EC2 DNS resolve issue

I am using Godaddy as my Domain name registrar and I want to point my Godaddy Domain name to Amazon EC2 Instance ,I have hosting at Amazon EC2 . I am using Route 53 and I created one Hosted Zone for ...
2
votes
0answers
18 views

how to disable executing shell script from user-data by cloud-init

I am making a new AMI in EC2 and want to disable it running any shebang script that could be put in user-data when launching (or rebooting) from this AMI. I looked at the existing ...
2
votes
0answers
25 views

AWS keepalived backup immediately goes to MASTER

Referencing these two guides: http://awsadvent.tumblr.com/post/105141640154/aws-advent-2014-high-availability-in-aws-with ...
-2
votes
1answer
25 views

Nit able to access Amazon instance via IP or domain name [on hold]

I was able to access amazon instance via IP address, I was assigning my godaddy domain name to amazon instance using this tutorial. I did this on my amazon instance and it's been more than 48 hrs. ...
0
votes
1answer
27 views

Can't access AWS ec2 instance behind elastic load balancer

I've been following lynda.com's AWS essential training and I've successfully set up an EC2 instance but when I try to put it behind a load balancer I can not access it through the ELB's public DNS. ...
0
votes
0answers
26 views

Instance keep losing status check

This is really scratching my heads off, not sure one of our instance running via AMI 'CentOS 7 -x86_64- with Updates HVM-7 2014-09-29' is keep losing its status check and the machine becomes ...
0
votes
1answer
13 views

Elastic Beanstalk S3 access via .ebextensions

I have a simple file in my .ebextensions folder: 00-myconfig.config Resources: AWSEBAutoScalingGroup: Metadata: AWS::CloudFormation::Authentication: S3Access: ...
-2
votes
1answer
25 views

Best Practice for OS Patching for Ubuntu on AWS.

I was wondering if someone can help me by sharing knowledge on Ubuntu OS patching over AWS. I tried to find it on Ubuntu documentation but my bad,I didn't get any relevant post there. Wondering if ...
0
votes
1answer
12 views

named-sdb (bind) can't resolve mysql hostname in chroot

When running bind in chroot, the mysql dlz driver cannot resolve the hostname of the mysql server (rds). Using amazon ami (centos based) in VPC. Aug 25 10:22:27 paper named-sdb[6812]: Loading 'Mysql ...
0
votes
1answer
37 views

AWS connect to private subnet instance without going through NAT

First of all, I know this is not something you should always do but for now It would save many hours if it were in fact possible. I am able to do the following: ssh (with .pem) -> NAT -> ssh ...
-1
votes
0answers
4 views

Use s3-parallel-put on Windows

I need to move a large number of files from a Windows EC2 instance to S3. How can I use s3-parallel-put or something similar to do this? I have attempted to use s3-parallel-put already with errors.
1
vote
3answers
23 views

auto-attach EBS volume to a Spot instance

I need some persistent storage across spot terminations. My approach to solve the problem is Write a startup script that attaches and mounts the persistent volume Snapshot this state and register ...
-1
votes
4answers
39 views

How to create connection between AWS VPC and my PC/LAN?

May be it's little bit odd, but yes i want to make connection between AWS VPC and my PC/LAN, so i can ping any EC2 instance using their Private IP. More Details: I'm using AWS Directory Service(DS) ...
0
votes
0answers
22 views

RDS connection blocked despite security group “Allow all traffic, all ports, all IPs”

I can only connect by ssh-ing into my ec2, and then using mysql from the cli. I can not connect: ssh-ing into my ec2, and connecting from PHP mysql command line on my local machine. I cannot ...
1
vote
1answer
22 views

How can I automatically mount “instance storage” on an AWS EC2 instance?

I'm facing a problem at the moment in trying to use AWS: "Instance storage" is not always automatically mounted. And depending on the instance type, the device names for the SSD volumes can vary. ...
1
vote
0answers
27 views

How does EC2 signal a reboot to an HVM instance?

What is the exact signal being sent? How can the instance (Linux in this case) handle it?
1
vote
0answers
15 views

Domain name redirect to Elastic IP address when typed in browser Amazon EC2

I Pointed my Godaddy domain to Amazon Elastic IP Address in godaddy zone file (poitned @ to my elastic IP address) ,When I write domain name in browser ,it redirects to Elatic IP address ,how to ...
2
votes
0answers
17 views

SSL - Apache and Node.js on the same Amazon EC2 instance

I hosted my website on an EC2 instance, using Apache. SSL was also set up properly, running on HTTPS, port 443. Currently, I just added a chat application to the website using Node.js + socket.io. ...
0
votes
0answers
8 views

Is it possible to host a FOG Project server on Amazon EC2?

I am totally new to imaging in general and have been looking into different options. The FOG Project seems especially appealing because of cost. My company makes pretty extensive use of Amazon Web ...
1
vote
1answer
40 views

Amazon web instance unresponsive

My Amazon web instance (EC2) is suddenly unresponsive. I can't ssh in, and I can't properly load the website via my web browser; only basic text and broken image links appear. The only change I know ...
1
vote
1answer
35 views

ec2 create-image will it backup attached ebs volumes?

$aws ec2 create-image --instance-id xxx --name yyy --description "zzzz" --no-reboot This created AMI image of EC2 instance but did not created extra attached volume's snapshot ! So is there any ...
0
votes
0answers
11 views

Openswan L2TP setup to allow admin user access to AWS VPC

I've got an ssh bastion host, but managing the ssh whitelist is annoying, opening ssh to the world is suboptimal. I'd like to tuck a vpn server in front. Can't get openvpn to stay connected for more ...
0
votes
3answers
38 views

Connection refused on Ubuntu EC2 after EBS expansion

The problem After starting an Ubuntu 14.04 EC2 instance with expanded HD volumes, ssh-ing into it fails with Connection refused. The EBS expansion process One of my Ubuntu 14.04 EC2 machines was ...
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: ...
0
votes
2answers
71 views

why can't I ssh into my aws ec2 instance? Permission denied (publickey)

I created two ec2 instances, and was able to ssh into the first two fine. After creating the third, I get this error upon trying to ssh into any of them. This is what I'm running: ssh -v -i ...
-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
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 ...
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
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
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
23 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
2answers
36 views

Amazon Linux : Autoscalling server deleting policy

I have tried many things but not able to save my files. I have an account in aws and I have created an autoscaling group.I want to copy my log files to s3 but when any of the server deleted ...
0
votes
1answer
59 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 ...
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!' > ...
1
vote
1answer
46 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
0answers
24 views

Impossible to connect to EC2 instance after mountpoint (connection refused)

I tried three times today to reduce my EBS volume following some tutorials that I found on internet. It's a secondary volume, not the root one. Everything seems to work fine until I stop the machine ...
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
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 ...
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
2answers
33 views

Best way to change instance type in AWS EC2?

What is the best way to change an instance type that is behind an AWS EC2 load balancer? Example: change from m3.medium to t2.small.
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 ...
1
vote
1answer
175 views

Getting error : Malformed URL error in ec2

I am getting the error Malformed URL ec2-describe-instances instance_id xxx Malformed URL: 'ec2.ap-southeast-1.amazonaws.com' However, I am able to get access to the bucket through command line: ...
0
votes
1answer
41 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 ...