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
59 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
48 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
82 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
37 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
119 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
38 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
28 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
30 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
28 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
23 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
60 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
46 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
37 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
73 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
47 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
18 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 ...
0
votes
1answer
59 views

EC2 instance not responding to ping

I have spun up an Amazon EC2 instance, and I'm trying to connect to it via SSH from a Mac. $ ls | grep 'pem' AWSKeyPair1.pem $ ssh -vvv -i AWSKeyPair1.pem ec2-user@54.210.10.190 OpenSSH_6.2p2, ...
0
votes
1answer
26 views

lose connection with amazon ec2 VM

I lose connection with my Amazon EC2 VM. I think the reason is that I have configured the wrong route table rules, but is there any other way to login to the VM to see what actually happened? Using ...
0
votes
1answer
146 views

(Passenger Agent) Signal received. Gracefully shutting down

I have a rails application that I am deploying on an aws ec2 instance, this is my first time using the Rubber Gem, for which I have followed this tutorial. After removing the default nginx ...
0
votes
3answers
81 views

How to get Autoscaling group Instances IP adresses

How can I get private IP adresses of all the instances which are part of an AutoScaling group. I am trying to do some operation on all the instances which are part of an autoscaling group.
3
votes
2answers
70 views

Why does Amazon EC2 status check succeed for unresponsive instance?

DANGER! Do not run this command to 'test' it unless you are prepared for a crash and/or force-rebooting your system. The steps I took: I created a t1.micro instance on EC2 running Ubuntu ...
0
votes
0answers
27 views

Amazon EC losing SSH after establishing VPN connection

I have an Amazon EC2 instance with Ubuntu 14.04, where I have a Cisco VPN client installed. I am using Cisco AnyConnect Secure Mobility Client (version 3.1.04072). When I run the VPN client, I can ...
0
votes
1answer
40 views

configure openvswitch in amazon ec2

i have installed openvswitch-2.3.2 in Amazon EC2 CentOS 6.5, and want to use openvswitch to build a gre tunnel with other PCs. this is the ifconfig output [root@ip-172-31-30-157 openvswitch]# ...
0
votes
0answers
85 views

Amazon EC2 Abuse Report - SQL Injection Attempts

I have an EC2 server (Win2008) which has about 10 sites on it, it's completely locked down apart from ports 80 and 443. I can only access port 3389 and 21 from my home and work IP addresses. Just ...
0
votes
1answer
52 views

Original IP lost with IPTables NAT to another server

I'm trying to forward all HTTP traffic from one EC2 linux server (external IP 11.11.11.11) to another one (external IP 22.22.22.22), these rules set: sudo iptables -t nat -A PREROUTING -p tcp --dport ...
0
votes
0answers
10 views

redirect malware on server - next steps? [duplicate]

At least 3 separate websites (running different php web applications ) on our server have been very occasionally (few times a moonth) redirecting pages to malware pages showing ads. Initially it ...
0
votes
1answer
81 views

Docker with persistent root storage on EC2

I'm looking to see if I can create docker instances for developers on EC2 that will not be erased if for some reason the instance/container itself is shutdown, much like EC2's on-demand instances when ...
0
votes
1answer
60 views

Troubleshooting “Network is unreachable” from within an Amazon VPC

An EC2 instance is running Amazon Linux in a public subnet in a VPC. Here are the outbound rules for its security group: ALLOW TCP on port 80 to 0.0.0.0/0 ALLOW TCP on port 443 to 0.0.0.0/0 ALLOW ...
0
votes
3answers
108 views

Connection established. Still ssh login issue to ubuntu server on ec2 instance

I am not able to login to my Server (ec2 instance). Before this I was able to login. No changes has been made to server or Security groups ! please help me out ! ashish@ashishk:~/MyScripts$ ...
1
vote
0answers
57 views

Amazon EC2 gives internal server error when posting via Python

I have a problem with python API and MY ec2 instance. When I am trying to post a json I am getting an error like 500 INTERNAL SERVER ERROR {"error_message": "Sorry, this request could not be ...
0
votes
1answer
364 views

Installing compat-libstdc++-33 on RHEL 7

As part of an Oracle install I need to install the compat-libstdc++-33-3.2.3 (x86_64) package. However no matter what variant of the package I try to install with yum, it can't be found ...
0
votes
1answer
30 views

Questions about AWS auto scaling and load balancing [closed]

I have little bit knowledge of AWS EC2. Previously I have bought a mx3large instance and did all my necessary installations on the server and cloned my code there but didn't map domain to the system. ...
0
votes
3answers
142 views

Amazon EC2 Security Group inbound rule with a dynamic IP

I'm looking for clarification on what I see as a potential problem with EC2 Security Groups. I'm setting up a Security Group for connecting to linux instances. I've created "anywhere" rules for HTTP ...
0
votes
1answer
46 views

Assign Elastic IP to VPC EC2 instance on boot

I have a script that uses ec2-associate-address that I have set in a cron job to run on boot. The idea is to use this instance as a spot instance that will automatically get its public IP assigned on ...
0
votes
0answers
20 views

How can I su -l user -p password from a scripting language running by apache server? [duplicate]

I ahve been trying to run crontab by a PHP script that is run by my apache web server. The user is apache and I have found out by running shell_exec that apache cannot run crontab: $cmd='crontab ...
1
vote
1answer
38 views

Access static files on Tomcat directory using VirtualHost

I am running a Java webservice (JAX-WS) on Tomcat 8 from my AWS EC2 Linux instance, and I have a subdomain pointing to the service, so that I can call the service with URL ...
0
votes
0answers
48 views

nginx downloads .php files - error configured

I'm trying to follow this tutorial in order to create an amazon machine with nginx and php: http://stale.coffee/ec2-micro-instance-adventure-nginx-php-mysql.html All good, I opted to use ...
1
vote
2answers
70 views

Secure EC2 instance from logging without .pem file

I see here and here (under Connecting to Your Linux Instance if You Lose Your Private Key) ways to access EC2 instance without a .pem file that was created when the instance was created. I would like ...
0
votes
0answers
203 views

AWS RDS db.t2 instance performance thresholds & monitoring

We have been rolling out a standard web server configuration for mainstream CMS software like Drupal & WordPress, with the server & storage on EC2 / EBS and the database for those software ...
0
votes
0answers
50 views

i cannot access my amazon ec2 instance by visiting ip address or dns (associated with it) of the instance

Good Day. I cannot access my amazon Ec2 instance from browser by visiting its domain or elastic ip. Ec2 instance is running properly and i have checked it security group as well. I dont know what to ...
1
vote
2answers
36 views

How to get the public DNS of an instance from another instance?

Suppose I have launched 5 EC2 instances. What is the easiest way to get the DNS and ip's of all the instances from a particular instance's terminal?
0
votes
0answers
32 views

Ansible mercurial clone hangs on deploy, runs fine on subsequent runs

I have an Anisble playbook that does the following: Launches an EC2 Instance Switches to that instance in a second play within the playbook, and configures the instance for our specific purpose ...
0
votes
0answers
23 views

AWS and security groups as inbound

I would like to do the following but it never works: nginx load-balancer ec2 server (sec group sg-1111) inbound - port:80 - all traffic application ec2 server inbound - port:9000 - sec group sg-1111 ...
1
vote
1answer
99 views

Change in IAM role for EC2 instance not affecting already running EC2 instance

I have an IAM role for EC2 instance (so called Instance Profile) with two policies attached, giving full access to SQS and S3. There is an EC2 instance running associated with this role. It runs ...
0
votes
0answers
37 views

After a while cannot ssh to amazon aws ec2 machine

I've read several similar questions, and checked my username is ubuntu as I'm running ubuntu instance, my pem key is 400 permissions and .ssh folder is .600 ssh -i ~/.ssh/my-key.pem ubuntu@myserver ...
0
votes
1answer
69 views

ec2-automate-backup-awscli.sh - Purging is not working?

I have recently implemented a script that creates snapshots of my volumes. I run this script via a cron job which works very well except for the part that deletes snapshots. When I run the command to ...
-1
votes
2answers
43 views

AWS create an alias for my EC2 instance IP

I'm not expert in anything related with networks. I've reasearched through Internet but I'm not able to get with the solution for what I need. It's simple. I've bought a domain in GoDaddy.com and ...
2
votes
1answer
44 views

AWS EC2 snapshots - how long should they be retained? [closed]

How long should daily EBS-backed EC2 snapshots be retained? We're using ec2-automate-backup to backup (daily) two EBS volumes - OS and data - pertaining to a web application. If I've understood, in ...
0
votes
0answers
96 views

capistrano deploy cannot mkdir

I'm deploying a rails project to a new Ubuntu 14.04 EC2 instance with Capistrano 3.4.0. Capistrano connects successfully, but when it gets to the git clone step, it fails with: DEBUG [afb89c4f] ...