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
votes
0answers
6 views

ec2 nginx virtual host not working

I have an ec2 instance and i want to setup a virtual hosts to host multiple sites as well as sub domains. i have installed nginx,php5 and an elastic ip is attached say (52.23.167.271) (dont use this ...
-2
votes
0answers
9 views

Ansible how to copy all files and directories in a directory to remote host

I'm trying to copy all the files and directory in a directory using copy module in Ansible and I end up copying all the files but not the sub-directories. Can someone help me with this?
0
votes
1answer
17 views

Terminated EC2 instances keep restarting

I have a couple of small EC2 instances (t1.micro and t2.micro) one of which was setup using AWS-EB. I'd like to terminate both of them, but whenever I terminate them, the re-appear in my list of ...
1
vote
1answer
26 views

Connection / Tunnel to AWS RDS from EC2

I'm working on a website hosted in a VPC on AWS. Yesterday, we moved the mysql server from a EC2 instance to a RDS instance to allow the mysql server to perform better. So, before, when I wanted to ...
0
votes
1answer
33 views

AWS: Route 53 Configuration

I have created two instances in AWS (one is Live & other is Backup). My website is hosted on Live Instance. I have configured Route 53, Health checks & Hosted zones on default settings. Also ...
0
votes
1answer
32 views

Migrating from nginx to Amazon ELB

I'm interested in migrating from a manually managed AWS EC2 cloud with multiple webapps to AWS ELB with auto scalling. However, I'm not sure whether a single ELB will be enough to handle my ...
0
votes
0answers
19 views

How install PHP 5.4, mod_security and mod_evasive together without conflict

I need create webserver with PHP 5.4, and install mod_security and mod_evasive. But when I try to join the php 5.4 and the mods on an EC2 server, it returns an error of conflict between the versions ...
-1
votes
0answers
15 views

AWS EC2: Switch Instance when status check fails [on hold]

I have created two instances in AWS (one is Live & other is Backup). My website is hosted on Live Instance. what I want to do is, if Live instance Status check fails, then it should switch to ...
0
votes
0answers
11 views

AWS instance Status Checks remain 1/2 + Unable to SSH to aws instance

I'm new to AWS. What I want is to change my instance type from t2.micro to m4.xlarge. I stopped my running instance and then change its type from t2.micro to m4.xlarge. On starting the instance I got ...
-2
votes
1answer
28 views

Is it good idea to set up mail server Google Compute Engine or Amazon EC2? [on hold]

I really would like to hear your idea and experiences in setting up mail server on Google Computer Engine or Amazon EC2. Is it possible to do so? Is there any recommendation?
0
votes
1answer
28 views

Postgres /root": Permission denied

why on ubuntu 14.10 every time that i try to start the postgres on: sudo -p 'sudo password: ' -u postgres /usr/lib/postgresql/9.4/bin/initdb -D /mnt/postgresql/9.4/data show this: could not ...
0
votes
0answers
18 views

After install mod_security and mod_evasive, php not working

I followed this tutorial ( tutorial.centos.com.my/?p=69 ) and got success to install mod_security and mod_evasive. But php does not run, displays the code in the browser. Insert an index.php file in ...
-1
votes
1answer
40 views

Syntax error on line 23 of /etc/httpd/conf.d/modsecurity.conf [duplicate]

I'm try install and configure Mod_Security on Amazon EC2 Linux 64 bits, but one error happens Syntax error on line 23 of /etc/httpd/conf.d/modsecurity.conf: ModSecurity: Found another rule with the ...
0
votes
1answer
9 views

Map URL with folder on Tomcat

I have a Java webservice running on Tomcat (/opt/tomcat8/webapps/mysvr) that is accessed through url http://mysvr.example.com. It works fine with the following configuration on ...
0
votes
0answers
15 views

EC2 + Cloudflare not working

[I speak Portuguese, English is not my native language - sorry for errors of writing.] I'm trying to set up Amazon EC2 with Cloudflare to more than one day. Already added all the information NS ...
0
votes
0answers
57 views

Why is grub not booting from 2nd drive? - boot info says “no valid partition table found”

My volumes look like this /dev/xvda1: LABEL="cloudimg-rootfs" UUID="d4f2aafc-946a-4514-930d-4c45e676f198" TYPE="ext4" /dev/xvdf1: LABEL="permaroot" UUID="afb7e502-ad08-4d6a-8701-2c05863f958e" ...
0
votes
1answer
25 views

traceroute6 connect: Network is unreachable

I'm experiencing this problem on both Ubuntu 14.04 and Fedora 21, running in Amazon EC2. I have full LAN and Internet connectivity, and I can successfully run traceroute gmail.com But running ...
0
votes
0answers
30 views

Error establishing database connection WordPress - EC2 and RDS [closed]

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
32 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
11 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
15 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
18 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
39 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 ...
3
votes
1answer
43 views

how to disable executing user-data by cloud-init

I am making a new AMI in EC2 and want to disable it running anything that could be put in user-data when launching (or rebooting) from this AMI. I looked at the existing /etc/cloud/cloud.cfg and ...
2
votes
0answers
26 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
27 views

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

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
33 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
28 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
28 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
29 views

Best Practice for OS Patching for Ubuntu on AWS. [closed]

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
17 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
43 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
24 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
44 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
24 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
25 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
32 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
24 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
12 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
39 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
1answer
16 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
42 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
20 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
82 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
55 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 ...
1
vote
0answers
19 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
29 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 ...