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
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
56 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
127 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
71 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
67 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
25 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
35 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
76 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
51 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
9 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
77 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
54 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
97 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
293 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
121 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
44 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
36 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
44 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
63 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
185 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
46 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
34 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
29 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
22 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
88 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
36 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
66 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
40 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
42 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
90 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] ...
0
votes
0answers
26 views

what is the correct runlevel for “Stop” in ec2?

I am trying to make a script to gracefully shutdown some application servers, I put the scripts in /etc/rc0.d but when I stop the ec2 instance on amazon, it won't call my script. what is the correct ...
1
vote
1answer
40 views

Set VirtualHost for Tomcat 8 webservice on AWS EC2

In addition to the default Apache on AWS EC2 Linux I have installed Tomcat 8 and deployed a webservice on it. The current URL (which works) is http://example.com:8080/MyService/api/generatePath I ...
0
votes
0answers
67 views

Apache hangs frequently, needs restart to work again

i am having issues tuning apache. My current mpm event configs are <IfModule mpm_event_module> ServerLimit 24 StartServers 8 MinSpareThreads 512 ...
0
votes
0answers
53 views

amazon ec2 No route to host error suddenly, public IP ping fails with general error

amazon EC2 instance is running perfectly fine. But when trying to connect using putty or via browser its not pinging. My security group is set correctly because this issue happened when everything was ...
0
votes
1answer
18 views

Amazon AWS EC2 transaction/event log?

If someone terminates an instance, is there a log kept that would show when and what the instance ID and tag/name was?
0
votes
1answer
35 views

Windows spot instance with permanent storage

I'm a noob, since I started using AWS yesterday, and windows today after 14 years. But I have a decent experience with linux servers. I built an app which needs a windows environment to run some ...
0
votes
1answer
71 views

AWS ELB SSL and Health Check Issue

I'm getting very frustrated trying to sort this issue out. We have an AWS environment that uses SSL certificates at the load balancer. We also have a rewrite rule in httpd.conf that redirects all ...
0
votes
0answers
23 views

mysql-ha in cloud failover

we have mysql linux 5.6 databases in AWS EC2 and we like to implement a multi region HA solution so we have no downtime and can fail over, what steps tool strategy you suggest?
0
votes
1answer
53 views

Is S3 a proper choice to keep live linux user home directories?

We are building an RDP cluster using Amazon EC2/S3. Users' home directories are on S3 (single bucket) and all EC2 nodes mount the same S3 bucket using S3FS. Each EC2 node uses the appropriate home ...
0
votes
1answer
45 views

Why does port 6379 need to be opened on the security group for elasticache?

I made a redis cluster and created a new security group called cache-access. If I ssh into an ec2 server and try to access a cache node, it works if two conditions are met: ec2 server belongs to ...
0
votes
1answer
46 views

Launching an EC2 Instance with an IAM Role Using Ansible

I'm trying to launch an instance with an IAM Role using Ansible. But I don't find how to do it. Does anyone know if it is possible? If I can't use Ansible. I try it with boto
0
votes
0answers
11 views

How to handle physical assets with WordPress and AWS Auto-Scale Groups [duplicate]

I have a somewhat typical Auto-Scaling Group in AWS. As shown below, I have an ELB routing traffic to a simple ASG with a static RDS instance. A _______________ ELB -> S | EC2, ...
0
votes
0answers
34 views

Openswan VPN routing issue

I have configured the openswan VPN correctly on an EC2 server ( Elastic IP ), and it shows 2 tunnels up. Given the following setup : MY_PUBLIC_IP: x.x.x.193, MY_ENCRYPTION_DOMAIN: ...
1
vote
1answer
30 views

AWS EC2 instance synchronise Load balancer

I am in the process of deploying a production environment for a website, It runs on AWS. This includes a private VPC with a load balancer and a single EC2 instance running Debian 8.1 However, in ...