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
6 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 ...
0
votes
1answer
18 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
27 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
29 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 ...
12
votes
3answers
5k views

Converting an EC2 AMI to vmdk image

I've come quite close to getting Amazon Linux to boot inside VirtualBox, thanks to this answer and these websites. A quick overview of the steps I've taken: Launch EC2 instance with Amazon Linux ...
0
votes
2answers
551 views

How to reduce AWS EBS root volume size?

Enlarging an EC2 instance is easy like a breath (for instance, create an AMI, launch an instance from it and then change the storage size). But reducing it becomes more difficult. I’d like to reduce ...
8
votes
5answers
4k views

Where is log output from cloud-init stored?

Where does output from cloud-init (automatically runs scripts when starting up a virtual machine in the cloud, for example at Amazon EC2) go? I would like to know that my initialization scripts ...
0
votes
1answer
15 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
0answers
16 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
14 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
10 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 ...
-1
votes
1answer
39 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
26 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 ...
-1
votes
1answer
24 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
0answers
15 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 ...
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
2answers
591 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 ...
1
vote
2answers
145 views

How do you tag and name the EC2 Instance that was launched by an EC2 Spot Request?

I have a couple of EC2 Spot Requests that launch EC2 Instances when the price is right. I'd like the resulting instances to get tagged with a Name and Role tag so my configuration management tool ...
4
votes
3answers
7k views

exportfs: internal: no supported addresses in nfs_client

I am trying to set up a NFS server on an AWS instance running SLES11. After installing nfs-utils, I tried to export a test share. Here is what my /etc/exports file looks like: /opt/share1 ...
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
1answer
16 views

Can you use pivot_root to mount an EBS root onto an EC2 Spot Instance?

I was looking at the instructions here http://www.ivarch.com/blogs/oss/2007/01/resize-a-live-root-fs-a-howto.shtml I wonder if these can be modified to remount an EBS volume as the root fs in an EC2 ...
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
56 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" ...
1
vote
3answers
4k views

Amazon EC2 instance cannot resolve hostnames

My free tier EC2 instance (ubuntu 11.04, created last year) is expired. I just created a new one (ubuntu 12.04), but found that the new EC2 cannot resolve any hostname. By checking /etc/resolv.conf. ...
0
votes
1answer
24 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
1answer
16 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
0answers
23 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
10 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
2answers
1k views

cannot connect to MS FTP 7.5 on Windows 2008 on Amazon EC2 instance

I have just installed the MS FTP 7.5 upgrade on my Windows 2008 Server (Service Pack 2) running on an Amazon EC2 instance. In the FTP Firewall Support settings for the server in IIS Manager I have ...
0
votes
0answers
17 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
38 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 ...
0
votes
2answers
1k views

Email not being relayed from EC2 Amazon Linux Instance

I'm trying to send email from my EC2 instance. Regardless of the target email address the SMTP service logs show that the email is sent but it never turns up on the remote server. I've done a ...
3
votes
3answers
5k views

How to set up a desktop GUI with an Amazon EC2 instance?

I need to get familiar with some software that doesn't run on any of my home machines (windows/mac). So I decided to spin up an EC2 instance and try it there. However, getting EC2 to support a remote ...
5
votes
3answers
2k views

How to automatically update nginx upstream server list when aws ec2 hostname changes or increases?

I want to setup autoscaling in AWS. I don't want to use Elastic Load Balancer. Autoscalling in Amazon creates EC2 instances seamlessly during demand spikes to maintain performance, and decreases ...
-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. ...
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 ...
-1
votes
4answers
42 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
1answer
32 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 ...
-1
votes
1answer
56 views

setup postfix SMTP on amazon ec2 [closed]

Im trying to setup a postfix SMTP mail server on my amazon ec2 instance. I followed this guide http://cybart.com/how-to-install-and-configure-postfix-on-amazon-ec2/ and many others I found which ...
79
votes
5answers
48k views

How to change an EC2 instance's security group

I have created a new EC2 instance. It got assigned the default security group. I want to change that security group. How?
0
votes
1answer
22 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. [on hold]

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 ...
-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.
0
votes
1answer
41 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
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
vote
1answer
1k views

Open ports between Elastic Beanstalk and one EC2 instance on AWS

I currently have the following setup: An API (Node.JS) running using Elastic Beanstalk, which is currently only running one EC2 instance A MongoDB instance running on a seperate EC2 instance ...
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 ...