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
17 views

Choosing AMI for NAT Instance in AWS VPC

When I want to run an NAT instance in a VPC, I noticed there were 3 latest AMIs in us-east-1: amzn-ami-vpc-nat-hvm-2015.03.0.x86_64-ebs (ami-b0210ed8) amzn-ami-vpc-nat-hvm-2015.03.0.x86_64-gp2 ...
1
vote
0answers
18 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 ...
-2
votes
0answers
14 views

AWS: Amazon Linux vs. Ubuntu for Meteor [on hold]

I'm creating a Meteor app solely dependent on AWS. In doing so, I'm staying far away from the usual Modulus.io for the app and Compose.io for the database. I'm just having trouble picking the AMI. ...
0
votes
1answer
12 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
18 views

Questions about AWS auto scaling and load balancing [on hold]

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. ...
-2
votes
0answers
11 views

Site experiencing downtime due to Instance failing System and Instance checks [on hold]

I have one site running over one aws ec2 instance and all was working fine since last one year but suddenly this site is receiving downtime. When i looked for the problem i found out that instance is ...
0
votes
3answers
26 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
17 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
19 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
20 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
22 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
34 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
42 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
18 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
24 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
20 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
13 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
23 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
13 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
29 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
18 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
21 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 ...
-1
votes
0answers
19 views

How to set up load balanced Ejabberd servers on multiple EC2 instances?

I have no problem setting up clustered Ejabberds on private network but I cannot figure out how to set up load balanced Ejabberd servers on multiple EC2 instances. I basically want to have two EC2 ...
0
votes
0answers
21 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
18 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
votes
0answers
25 views

AWS EC2 Ubuntu Server /etc directory Permission Change Accidentally

I have Amazon EC2 instance with EBS backed Volume.yesterday accidental change my /etc directory to chmod -R 777 .Now all the things stuck and then i create a new instance by taking it's AMI but still ...
1
vote
1answer
17 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
42 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
17 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
16 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
23 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
27 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
16 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
45 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 ...
-1
votes
0answers
15 views

Server's free memory keeps reducing [duplicate]

I recent set up an ec2 instance (t1 micro) for a small -sized service. I have php and mysql running on it. Just to test a few limits, I tested some things. At first , I checked free memory(with ...
0
votes
1answer
27 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
16 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
26 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
23 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 ...
1
vote
1answer
37 views

Run EC2 instance into specific non-default VPC in random subnet

I have a problem and I expect that someone help me. I'm working with AWS and I have 2 VPC. The default VPC an another VPC created by me. Each VPC has 3 subnets in differents AZ (eu-west-1a, ...
1
vote
0answers
12 views

Is it possible to get amazon ec2 instances to hibernate? [duplicate]

I've tried hibernating instances on amazon ec2. You get the shutdown signal in Linux, but the aws instance doesn't get stopped, and after a hard reboot it then refuses to boot. The only way out is to ...
1
vote
0answers
17 views

ec2: permission denied when trying to start instance with knife

I am working on getting knife to bring up ec2 instances: I copied the policy from [What permissions in IAM do i need to start EC2 instances with chef knife? I 'attached' the policy to a minimal ...
0
votes
3answers
43 views

How to account traffic on CentOS Linux?

I have an EC2 CentOs instance on AWS with nginx that has been pumping out major outgoing traffic, which of course is pumping up my monthly cost. How can I track down what is sending so much data?
0
votes
1answer
52 views

Using MySQL with Ejabberd

I'm trying to integrate MySQL into Ejabberd but I'm constantly facing problem with it. I'm working in AWS EC2 environment and I have 1 EC2 instance that has MySQL, Ejabberd and latest Erlang (Version ...
0
votes
0answers
44 views

Mail spam error while sending mails using Gmail id via Postfix hosted on Amazon EC2 server

This issue is related to using my own SMTP server to send email by any user mail id like some other mail APIs do e.g; Amazon SES, MailChimp. I am using Postfix as a mail server for my applications. I ...
1
vote
1answer
29 views

Amazon AWS with CentOS 6 HVM: password required with SSH

I am having some strange authentication issues when trying to spin up an Amazon instance using CentOS 6 HVM. For some reason, whenever I spin one up using a security group and a key / pem pair, I ...
0
votes
1answer
30 views

Amazon EC2 Centos instance needs sudo password after update

I've got a terrible problem on a running webserver. It's a webserver running on CentOS, one of the default Amazon EC2 AMI's (images). I've been able to ssh to the server and do my thing until now. ...
1
vote
1answer
69 views

Best practice for managing AWS SSH .pem files within team [duplicate]

We are running a number of environments on EC2 using VPC. In each VPC we have a hardened bastion host configured which is used as the initial SSH entry point into the network. To access hosts within ...
0
votes
1answer
20 views

AWS EC2: Cannot access anything remotely except ssh

I'm quite new to Amazon EC2 and I have a weird problem. I create an ec2 instance, and setup .pem keys to access it with the ssh -i key.pem ec2-user@publicip. Then I do a yum update and try to install ...