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

learn more… | top users | synonyms (1)

2
votes
0answers
50 views

Amazon AWS EC2 image shutting itself down [closed]

We have a Bamboo elastic instance running on Amazon AWS EC2, which is running Windows Server 2008 R2. There have been multiple times that the instance has shut down automatically. This has occurred ...
0
votes
1answer
118 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 ...
1
vote
2answers
166 views

Auto-heal an EC2 instance with an Auto Scaling Group?

I'm trying to setup an auto-healing EC2 instance using an Auto Scaling Group and a user-data startup script. If the current server has an issue where it is no longer reachable, the instance should ...
0
votes
1answer
67 views

Amazonubuntu ec2 is not responding via ssh [closed]

It used to work but now it won't respond. ssh -i aws-niklas140428.pem ubuntu@54.72.xxx.x It does respond via HTTP though and I can restart it in the webGUI at aws.amazon.com How can I find the ...
0
votes
2answers
262 views

How to set up an internal domain with Route53 on AWS?

I have a VPC on Amazon. Currently, it's running bind9 on one of the servers. It has records like this: build IN A 172.aa.bb.cc dev IN A 172.xx.yy.zz This ...
0
votes
1answer
66 views

Ec2 instance static private ip address

I am using an on-demand instance for testing some services in my spare time. So, I start and stop that instance very frequently, and I see its public and private IPs changing each time. This is ...
0
votes
1answer
35 views

How to Mounting RAID0 EBS Volumes after reboot on EC2?

I've already attached two volumes to my EC2 instance and configured RAID0 for them. After a reboot, the volumes didn't re-attach. I thought I had configured them to attach on reboot in fstab but they ...
1
vote
0answers
43 views

SSL certificate for sql-server on ec2

I have an ec2 node provisioned to host mssql server. I'm trying to request and install an ssl certificate for this node so I can securely connect to it but I can't get the certificate to appear in the ...
0
votes
1answer
38 views

What AWS services allow you to specify a path for the resource's ARN?

The AWS Documentation on Amazon Resource Names says Some services let you specify a path for the resource name. For example, in Amazon S3, the resource identifier is an object name that can ...
1
vote
1answer
42 views

Permission issues with tomcat7 on EC2

I finally managed to deploy my web service on to ec2 with tomcat 7 installed. It works perfectly fine on localhost but is receiving errors on ec2. I think it is because my code generates an xml file ...
0
votes
1answer
197 views

Can't connect to RDS MySQL

So, I created a new DB and my EB app is reaching it fine, but I can't seem to access MySQL from my computer. When I try to run: mysql --host=123.abc.us-west-2.rds.amazonaws.com –-port=3306 –u myname ...
3
votes
2answers
100 views

Move static files from EC2 to S3 (or cloudfront) without updating links

Right now, I have a site entirely on an EC2 instance including all static files like css, js, and images. I'm wondering about the best way to handle moving them. For example, in my <HEAD> on a ...
0
votes
1answer
65 views

AWS EC2 and storage spreadsheets [closed]

Does anyone know of a way to obtain the raw pricing data from AWS for their various hardware components (specifically EC2 and S3)? I noticed they produced a spreadsheet back in 2010 that isn't ...
2
votes
1answer
198 views

ELB - High latency when enabling cross-zone balancing

I'm working on improve our infrastructure reliability in AWS and one of my tasks is enabling cross-zone balancing on our ELBs. Our ELBs receives around 20K request by second on rush hours as well as ...
2
votes
2answers
93 views

Sharing Private AMI: Not showing up on other account

I am trying to share an AMI (runs Windows Server 2008 R2) from one AWS account to another. I used these instructions to share it from the Console. I shared it to the account ID found under Account Id ...
0
votes
2answers
240 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 ...
0
votes
0answers
46 views

EC2 and Mailgun DNS setting

I'll preface this by saying I'm very much a newbie when it comes to servers, so please bear with me. I'm trying to configure an Amazon EC2 instance to allow me to send e-mail through Mailgun but I ...
-1
votes
1answer
34 views

Security group in ec2 linux instance need to be edited every time

I have created linux instance and installed wordpress on it. Every time I open my page after making change in code via commandline login , it shows this message - The connection has timed out ...
0
votes
2answers
64 views

Possible to set an internal vpc dns name with the run-instance cli command?

I am reading throught the cli documentation and it seems like this should be possible, based on some of the outputs, but I can't seem to get the following option to work with run instance. aws ec2 ...
0
votes
1answer
147 views

Chef Server 12 installing Chef Client 11

I have a master machine I just upgraded from Chef 11 to Chef 12, but when I go to create a new EC2 node it want to install client 11.18 instead of 12.01 or 12.03. I'm not sure if that's causing the ...
0
votes
3answers
92 views

Puppet and agent server with same host name but different private keys

I am trying to use puppet as follows in Amazon AWS: I deploy an instance which has hostname "server.example.com", which launches the puppet agent on boot and gets an initial software payload. I then ...
0
votes
1answer
105 views

Setting up OpenVPN server: should I use tun or tap?

I'm trying to set up my first OpenVPN server, and I'm having trouble figuring out whether I should use tun or tap for my particular setup. I have an Amazon VPC with a few EC2 instances running ...
0
votes
1answer
119 views

Automatic installation of DbSecurityspt folder [duplicate]

We have an Amazon EC2 instance. The folder DbSecurityspt gets automatically installed in c:/ProgramFiles and the associated service also starts automatically. Removing them, installs them again the ...
0
votes
3answers
94 views

How do I set EC2 instances with a specific tag to terminate automatically after a set amount of time after launch?

We use Vagrant to launch and provision instances upon each commit to our codebase, which a continuous deployment server then runs tests against. The continuous deployment server launches the instance ...
1
vote
1answer
35 views

IP forwading amazon ec2 another server IP

I use this command in windows azure (NAT), to redirect all requests to another server with other IP iptables -t nat -A PREROUTING -i eth0 -d 10.240.154.15 -j DNAT --to-destination 192.188.47.63 ¿ ...
0
votes
0answers
26 views

selinux-policy update prevents ssh into ec2. Now what?

I created a new EC2 instance using the official CentOS 7 (x86_64) HVM image. I ran: yum upgrade At: Running transaction Warning: RPMDB altered outside of yum. Updating : ...
0
votes
1answer
1k views

Ubuntu raring apt-get update is failing on AWS/EC2?

I'm working with a StarCluster AMI, and trying to install my software onto it. However, I'm having trouble with apt-get. I try to install a package: (! 141)-> sudo apt-get install ...
2
votes
0answers
55 views

Where is my RAM going? [duplicate]

I see only 370 MB (10%) free on an AWS Amazon Linux instance: $ free -m total used free shared buffers cached Mem: 3752 3709 42 0 ...
0
votes
0answers
86 views

Amazon Web Services VPC ClassicLink feature in Cloudformation?

Does anybody know how to configure ClassicLink in a VPC in cloudformation? I'd rather not have to manually enable this every time I update a stack. The cloudformation documentation always seems to lag ...
1
vote
1answer
204 views

Can Chef AWS cookbook query EC2 instance tags?

Chef has the official AWS cookbook (https://github.com/opscode-cookbooks/aws), which allows for spinning up of AWS resources, as well as updating of resource tags. Can the custom resources introduced ...
0
votes
1answer
40 views

whitelist limited ec2 IPs with third party service provider

We have an application running on ec2 which talks to a third party service. The third party service provider requires us to give them 13 IPs for whitelisting. My limited understanding of ec2 is that ...
1
vote
1answer
81 views

No public IP after stop/start Amzon EC2 intance

I have setup an AWS EC2 instance with a Elastic IP. Static IP and Elastic IP both works fine (shows default NGINX page). However when I STOP the instance and START back up, there is only a domain ...
1
vote
1answer
225 views

security group rules between EC2-classic and VPC server

We are currently using a set of Amazon EC2-classic servers for hosting our live and staging environments. We've got a couple of web servers and a background worker server in each environment. We've ...
1
vote
1answer
63 views

how can I understand why apache is consuming so much cpu - ec2

I have an ec2 c3.medium instance running. It has recently started maxing out the cpu making the server unresponsive. Rebooting the instance doesn't really help for long, although it does make apache ...
0
votes
0answers
28 views

How can I prevent the 'Your PC ran into some trouble' popup after a crash/BSOD?

I'm using a Windows Server 2012 instance on the Amazon Cloud, and from time to time, it has a bluescreen of death/crash. It automatically restarts, but this message pops up everytime this crash ...
0
votes
0answers
45 views

Elastic IP on 2nd Network Interface not accessible

Server is Apache2 on Ubuntu 14.04 I have added a network interface attached it to an instance. On this interface (eth1) I have attached an elastic ip. I am able to access the box via amazon's ...
-6
votes
1answer
111 views

How do I zip & download files on an ubuntu server? [closed]

I have gotten SSH access into an EC2 instance of Ubuntu. I want to zip an entire folder, and download it to my local machine. The folder is large - 2GB+. How do I do that?
1
vote
2answers
56 views

Where can I find files stored on an EC2 instance?

I recently took over some server infrastructure from a recently left server admin. I am a Rails dev, not a server admin per se. I would like to find the files that were stored on the server and ...
0
votes
2answers
16 views

directorylevel permission through amazon IAM

i have amazon ec2 instance running, i read about amazon IAM but not able to figure out how can i achieve this thing. My problem is i have many directory created in my ec2 instance, so let's say i ...
0
votes
1answer
132 views

Cannot access nuget.org Windows server 2012

I am trying to setup a build server on AWS Windows Server 2012 R2 x64 base image. The server however is unable to connect to www.nuget.org to retrieve the packages for the build (and cannot access ...
0
votes
3answers
112 views

Why wouldn't I want to enable swap?

I recently had an issue where a rogue process caused some ec2 instances to run out of memory and crash. It probably shouldn't have been an issue, except I was using t2.small instances which are pretty ...
-2
votes
1answer
31 views

Terminate default EC2 t1.micro instance

I am new with AWS EC2. I see that after following the Setting Up Guide I have a running default instance t1.micro without key-pair associated. I have launched a new t2.micro instance with a key-pair ...
1
vote
1answer
71 views

Website is partially loading - caught SIGTERM

I am getting the following error which is RANDOM. Restarting Apache solves the problem. [Fri Jan 02 16:19:21.854040 2015] [mpm_prefork:notice] [pid 18591] AH00169: caught SIGTERM, shutting down [Fri ...
-1
votes
1answer
52 views

Cannot access AWS instance out of country

I set up an AWS EC2 instance before heading to Germany, which worked just fine. Now that I have arrived, I can't seem to access it. NMAP says that 80/tcp is filtered. Is this Germany blocking me or ...
4
votes
1answer
104 views

Create an IAM Policy that allows everything except IAM except PassRole

I'm attempting to modify an IAM Policy so that users can associate an IAM Role with EC2 instances that allows Read Only rights to our S3 buckets. Our teams do quite a bit of R&D with AWS, and so ...
1
vote
2answers
268 views

EC2 linux any and all upstart jobs returning “unrecognised service”

Having a nightmare migrating some upstart jobs from Ubuntu to EC2 Linux (ElasticBeanstalk) I am unable to get even the most basic task to work. I am using the script below which works perfectly on ...
1
vote
1answer
573 views

How do I link a security group to my AWS RDS instance

I have a postgres db setup on RDS. It is running great. However, I want to link this to a set of autoscaled EC2 instances sitting behind an ELB that all reside in a single EC2 security group. I've ...
-2
votes
1answer
36 views

Ubuntu EC2 AWS Ghost deployment is deleted after a couple of hours

I am new to AWS, I am trying to learn how it works. I deployed ghost following this guide http://aexmachina.info/installing-ghost-on-ubuntu-and-aws-ec2/ and worked perfectly. The problem is that after ...
0
votes
1answer
110 views

Is it possible to upgrade/downgrade from one Instance type to a completely different Instance type?

I know its possible to upgrade from one medium M3 Instance type to large M3. But what about upgrade from medium M3 to Large R3? Is this possible? (they are instance type) ...
0
votes
3answers
173 views

aws ec2 security group and centos ip tables

I try to change the SSH port from 22 to another port (218). In AWS EC2, I shall add the rules in security group or in IP Tables? Is there any guideline/references recommended for EC2 Security ...