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

Script to Mount instance store volumes [on hold]

Im not a Linux guy and i have these 4 instance store volumes on my Ec2, Can some one give shell script to create file system-->mount at server starts. xvdc 202:32 0 745.2G 0 disk xvdd 202:48 ...
1
vote
1answer
21 views

EC2 Dashboard says instnce running but DevOps says ec2 instance is stopping/restarting

I am facing a really weird issue with AWS. I have four ec2 instances which are in running state on the ec2 dashboard. However, when I view them under dev ops it says they are stopping or restarting ...
-1
votes
0answers
9 views

How to create a chef recipe that delete a files [on hold]

I have just deployed my Yii App to an Amazon Web Services EC2 instance, using Amazon OpsWorks. I have several chef recipies for my PHP Server Stack, that properly download my codebase, and then run ...
1
vote
0answers
20 views

AWS service to expose key/value pairs to EC2 instances

Is there a centralized AWS service to expose key/value pairs to EC2 instances easily? I'd prefer a way that either exposes as a https endpoint, or injects them into environment variables without ...
0
votes
0answers
11 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 ...
-1
votes
1answer
8 views

On Linux/UNIX (Amazon VPC) reserved instance, can I launch ubuntu instance

Accidentally while purchasing reserved instance, I have selected Linux/UNIX (Amazon VPC) as the platform. But I want to run Ubuntu as the OS on the instance that I am going to launch. Is it possible ...
1
vote
0answers
7 views

IAM Action for `Get-EC2Instance` command in Powershell SDK

Calling Get-EC2Instance from EC2 instance and getting Get-EC2Instance : You are not authorized to perform this operation. Which IAM action do I need to add to my policy?
-1
votes
0answers
17 views

Route all outbound AWS Beanstalk traffic from one IP through VPN

Setup: I have an AMAZON VPC with a public subnet, Elastic Beanstalk for deployment and scaling, and a VPN. What I'm trying to do is have all the instances created through Elastic Beanstalk outbound ...
0
votes
1answer
20 views

Is / in memory? AWS/EC2 Ubuntu Server 14.04 LTS (HVM)

I've been investigating this for a while, and I'm really confused. I have an AWS/EC2 m3.medium instance running Ubuntu Server 14.04 LTS (HVM), SSD Volume Type - ami-d05e75b8. I ran into a problem ...
0
votes
0answers
36 views

Nginx 400 Bad Request on ec2 Public IP works, but domain name does not

A couple days ago, my ubuntu t2.micro ec2 instance stopped working. I just got it restarted again, but now only my public IP address given by amazon works. The domain name I bought does not. It worked ...
-1
votes
1answer
17 views

How to create RAW or Virtual Hard Disk (VHD), or ESX Virtual Machine Disk (VMDK) disk in Linux?

Amazon EC2 allows import of disk volumes to EBS as documented here. http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/importing-your-volumes-into-amazon-ebs.html Trouble is I can find no explanation ...
0
votes
0answers
24 views

Varnish configuration with Apache webserver in AWS ec2 free tier

I have AWS ec2 free tier where i have deployed my sample. I have configured the webserver to listen on 80 port. I am able to access the application by the below URL http://X.X.X.X/SampleApp But ...
-1
votes
1answer
13 views

Required IAM permissions for ec2.requestSpotInstances?

I'm trying to set permissions on an IAM role that will submit a new spot instance request if needed. It will be used by a Lambda function. The code does the following AWS API calls: ...
0
votes
0answers
23 views

I accidentally installed whereami on my EC2 instance (ubuntu) now I can't ssh into machine

I misunderstood what this command does I believe. I thought it just told you the hostname, but apparently it tries to make changes to your networking configuration as well. Is there anything I can do ...
1
vote
1answer
50 views

Auto-scaling docker containers based on EC2 instance load and SQS

I'll start with a small description of how my application works.. If a user on my website adds a task, the task is broken down into multiple sub-tasks, the number can vary from 1 to 10 tasks. These ...
0
votes
2answers
34 views

What's the difference between EIP and public IP in AWS?

Anything different between EIP and Public IP in AWS? If launch an instance in EC2-Classic, EIP = Public IP? If launch an instance in EC2-VPC, the public IP of an instance can be the NAT address?
0
votes
0answers
14 views

UpdatePolicy in AutoScalingGroup failes to update instances

I have used the following settings in the CloudFormation for creating an autoscaling group: "myautoscalinggroup": { "Type": "AWS::AutoScaling::AutoScalingGroup", "UpdatePolicy" : { ...
-1
votes
0answers
16 views

Safe way to access phpmyadmin on EC2 [closed]

I have a website hosted on a xampp server on ec2. How can I grant permission for a specific user or IP to access phpmyadmin ?
0
votes
0answers
54 views
+50

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 ...
-1
votes
0answers
23 views

How to change FTP home directory in Centos 6 [closed]

I have created one Linux centOS 6 instance in Amazon EC2 and installed cPanel on it and started running my websites there . The issue i face was when i try to FTP to the instance with following config ...
0
votes
0answers
12 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
2answers
37 views

Cannot connect to MySQL on EC2 over tunnel

For security reasons we want to connect to MySQL running on EC2 over ssh. We have other servers where we do this with no issues, but for some reason on EC2 it's not working. The instance is running ...
0
votes
0answers
17 views

Cannot install gulp via npm on Amazon Linux box

I am on a vanilla EC2 instance of Amazon Linux and I am unable to install gulp onto this box. This is my configuration: npm --version 2.11.3 node --version v0.12.7 when I run: sudo npm install ...
1
vote
1answer
69 views

Nginx not responding with rails app deployed on aws ec2 instance using capistrano

I have a rails application deployed through capistrano on an aws ec2 instance and have passenger nginx installed on the server as well. Whenever I try and access my application using the DNS or the ...
2
votes
1answer
22 views

Connection from outside refused to webserver on EC2

I can ssh to my EC2 instance and start a web server on it: $ ssh -i ~/AWSKeyPair1.pem ec2-user@54.210.10.190 Last login: Mon Jul 20 18:50:58 2015 from 72-21-196-64.amazon.com __| __|_ ) ...
0
votes
1answer
21 views

EC2 consistent snapshot [on hold]

I have seen couple of posts regarding ec2 backup using ec2-consistent-snapshot. Need to know if its possible to have one single infrastructure backup server and from there we can have all the servers ...
1
vote
1answer
52 views

Migrating AWS EC2 m3.large to m4.large

New m4 instances look much better than previous m3 instances (regarding performance and pice), so I'm going to make them as default instances for our cloud services. These services ran before on m3 ...
0
votes
2answers
29 views

Automated Daily/Hourly EBS Snapshots From EC2 Management Console?

Does anyone know if it's possible to automate the creation of EBS snapshots from the online EC2 Management console (Say every day or every hour) and then tell it how long to keep them (Pruning them)? ...
2
votes
1answer
47 views

Why would a Image Hosting website, such as Imgur, use AWS EC2 instances over S3 buckets for uploads?

I was reading a Q&A with the creator of Imgur, and he went into detail explaining the server infrastructure that Imgur runs on. Here's a small quote from what he had to say: Most of the ...
0
votes
0answers
20 views

SSH asking passphrase every time when two users logged in with same pem key

Me and my colleage are connecting to the same instance using same pem file. Now when i run git fetch on a repo . It makes a ssh connection successfully without asking for the passphrase , but if my ...
1
vote
1answer
34 views

syslog-ng EC2 TLS

I am attempting to add TLS support to my syslog-ng service running on an AWS EC2 instance (logs are being sent to loggly). The basic configuration without TLS works, but when I replace the destination ...
0
votes
2answers
19 views

Commenting multiple lines in SaltStack?

I'm using the following state to try to comment out two lines in a file: /etc/cloud/cloud.cfg: file.comment: - regex: ^ - set_hostname - regex: ^ - update_hostname Unfortunately, as ...
0
votes
0answers
16 views

Install keychain on Amazon Linux AMI?

I have a github account that I would like to push to on a regular basis from an Amazon ec2 instance. In order to connect to the github account I have an SSH key that's passphrase protected, so in ...
0
votes
1answer
29 views

Assign Public IP (not Elastic IP) after instance launched

When I launch instance in AWS console I can set "Auto-assign Public IP" to true and newly created instance will be assigned with public IP address from pool. Now assume I have launched instance with ...
1
vote
1answer
25 views

Is there a way to use length of a RabbitMQ queue used by Celery to start instance in an autoscale group?

Is there any way for Celery to emit events when the length of a queue exceeds a threshold? I want to use that event to start an EC2-instance. We have two queues for two different tasks in Celery. ...
0
votes
1answer
43 views

nginx - 502 Bad Gateway ubuntu 14.04 aws ec2 django project + gunicorn

I'm trying to get my django project up and running on an aws ec2 instance. I'm using gunicorn with nginx, and I'm not really sure how I can tackle this problem. I've spent a couple hours on it ...
0
votes
0answers
24 views

Simple IPtables Script for Whitelisting (Amazon Endpoints)

I'm attempting to lockdown an Amazon EC2 instance which has a single open port for Amazon SNS. I can't use security groups to restrict the port as the IP is forever changing, so it must be open to all ...
0
votes
4answers
52 views

How to get a .pem file from ssh key pair?

I created a key pair using ssh-keygen and get the two clasic id_rsa and id_rsa.pub. I imported the public key into my AWS EC2 account. Now I created a windows instance and to decrypt that instance ...
2
votes
1answer
30 views

EC2 retirement - Meteor / MongoDB

I am hosting my Meteor Application on an Amazon EC2 instance. Today I got a mail that my instance is scheduled for retirement until the end of month. I don't have any experience with that and what are ...
0
votes
0answers
21 views

External DNS resolution not consistent in AWS VPC

I have 2 instances in a VPC. The VPC is set up with the correct DHCP option set to enable public DNS resolution. Both instances are identical, and are launched using the same bootstrap scripts and ...
0
votes
0answers
23 views

can AWS load balancer auto restart out of service images?

I have set up a load balancer with two instances in two availability zone I set up an health check to ping a specific page of my webapp now I'm trying to find if the load balancer health check could ...
0
votes
0answers
20 views

OpenVPN client on Amazon EC2 leading to SSH disconnect

I am running Ubuntu 14.04 on Amazon EC2.. I am trying to connect the EC2 instance to an OpenVPN so the traffic routes through the VPN.. When I do a sudo openvpn --config <config>.ovpn, the ...
-1
votes
1answer
18 views

AWS Instance Kernal-id

I am running a Windows Server instance in AWS Cloud.I have created a snapshot for the same. When i'm trying to create a AMI from my snapshot it is asking Kernel-ID and RAM Disk ID. I don't know what ...
-4
votes
2answers
27 views

How can you re-download your personal key (pk) .pem file? amazon [closed]

i only remember my key name ,how can re download my key pair in my computer,or how can i attach new keypair to my instance
-1
votes
1answer
21 views

Error running selenium grid chrome webdriver on amazon ec2

I set up selenium grid and node on amazon ec2.I am able to see grid and node configuration in the browser i downloaded latest chromewebdriver - 2.16 and put under usr/bin on my amazon ec2 linux ...
0
votes
1answer
19 views

ELB health checks for freshly launched EC2 instances not working

I'm trying to manually set up a load balanced environment using EC2. My instances are reachable via SSH and ping. However, as soon as I put them inside a load balancer, the instances are not able to ...
0
votes
1answer
47 views

Can't log into AMI, assigning new keypairs doesn't work - how do I completely reset SSH?

Something bizarre happened to an Ubuntu EC2 instance of mine - while it used to have a keypair assigned for login that worked fine (created through the default EC2 console channels), the assigned ...
0
votes
0answers
22 views

Upgrading ssh6.9p1 on new AWS T2 Ubuntu instance locks me out [duplicate]

I'm trying to upgrade ssh on a default Amazon Ubuntu t2 micro instance, which uses ssh 6.6.1p1. In order to pass PCI compliance, ssh needs to report v6.7 or higher, otherwise Trustwave security scans ...
1
vote
2answers
40 views

Increase disk space on AWS EC2 server?

Is it possible to expand out the disk space of an EC2 server once constructed? I would like to put my DB reporting application on an EC2 server but I wanted to make sure I could expand disk space out ...
1
vote
0answers
15 views

Setting up SQL server on EC2?

I would like to set up a SQL server in AWS on an EC2 server. I originally wanted to use an RDS instance however we require the bulk admin privilege for some of our operations which is not allowed in ...