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

Cannot access apache2 and tomcat running on my ec2-instance

My ec2 ubuntu instance has apache2 working on port 80 and tomcat working on 8080. I'm not able to access them from my browser, i checked the access.log for apache2 it doesn't show the request coming ...
0
votes
0answers
12 views

Out of space on EC2 instance due to docker logs

I'm still learning docker and AWS, and I've had a docker process running awhile with 50gb EBS storage, and now I'm out of disk space and as a result, docker no longer starts up when I reboot my ...
0
votes
1answer
15 views

Deleted authorized_keys from EC2 but still have PPK file and I'm connected

I just deleted my full ec2-user/.ssh/ folder and I want to recover the keys so I can access my EC2 server without stopping and starting it. I have on my computer a PPK file that has something like ...
0
votes
0answers
8 views

NGINX + uWSGI + Flask. Some requests very slow

We're running a fairly large Flask application and finding that at random times we'll end up with a very slow request (sometimes a minute or more) I presume the issue is related to lazy-loading ...
-1
votes
0answers
58 views

How can I fix this error on mod_security: AH00526: Syntax error … /etc/modsecurity/modsecurity.conf

Following this tutorial I tried to verify if the mod_security module was loaded on my Apache2. apachectl -M | grep --color security I got this error message: AH00526: Syntax error on line 187 of ...
0
votes
0answers
12 views

How to sync folders between two Windows Servers in Amazon EC2

I have two servers running Windows Server 2012 in Amazon Cloud. One is hosted in EC2 (A) and another - in VPC (B). I have a folder in the same location on both servers. And I need to sync files from ...
0
votes
0answers
19 views

EC2 websites & RDS databases backup

We have some Amazon EC2 machines on which different websites are working, and their database is being pulled from RDS-MySQL, I know for machine I can have images as backup and for RDP-MySQL it has ...
0
votes
1answer
17 views

ElasticCache enpoint to use in code

I have provisioned ElasticCache and launched a Redis cache cluster with Enable Replication option selected in Single Availability Zone, now I see three cache nodes under cache cluster as following ...
0
votes
0answers
13 views

sshfs fails sporadically in ec2

I am running multiple (2-5) Jenkins build slaves in AWS EC2. The master and slaves run Ubuntu 14.04. The slaves scale up and down dynamically. They compile Java/Scala projects build using SBT. To ...
1
vote
2answers
30 views

Amazon EC2 - Installed atop / htop but they don't show disk I/O stats

I configured an AWS EC2 with Amazon AMI Linux and installed via yum atop and htop and they work correctly but they don't show any stats for the disk I/O as usual. I tried some startup options with ...
-2
votes
0answers
28 views

Cloud based Virtualbox on EC2 or elsewhere? [on hold]

I tried to install Virtualbox on EC2, however it stated that it would not run in a Xen environment. Questions: Are there any EC2 instance types that it would work on? If not, what sort of instance ...
1
vote
0answers
25 views

How to scale up one container using Amazon EC2 Container Service

I am new using Amazon ECS and I would like to know how to set up services in order to scale up / down one container easily. Here is my project architecture: website: container with the website, ...
0
votes
1answer
35 views

EC2 volumes & partitioning

With Amazon EC2 CentOS 7 HVM community image machine just thinking for volumes & partitioning. Would it not be good that I create default 8GB volume sda for root device for all operating system ...
0
votes
0answers
27 views

CentOS 7 mount ebs thorugh systemd unit

CentOS 7 HVM community image is not mounting the drive if as recommended we do it via rc.local(since doing it via /etc/fstab entry may halt the machine and make it not reachable if any issue occurs in ...
2
votes
1answer
26 views

EBS volume mount point should be disk or partition

With community CentOS 7 HVM image, after adding another EBS volume to my EC2 instance, lsblk command shows this NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 8G 0 disk -xvda1 ...
1
vote
1answer
32 views

How do you find which Amazon AWS EC2 instances are not covered by a Reserved Instance reservation?

Let's assume that I have 20 running EC2 instances and 10 active Reserved Instance reservations. Using the AWS Console or AWS CLI, what is the fastest way to determine which of the running EC2 ...
-1
votes
1answer
24 views

Can't connect to my Amazon EC2 instance either via SSH or via browser

So I just launched my ec2 instance : t2.micro with Ubuntu 14.04 OS. The security group has settings enabled for letting in inbound traffic from SSH ( port 22 ) and HTTP ( port 80 ). But when I try to ...
0
votes
1answer
17 views

AWS CloudWatch — Signature Expired

Everything is going fine, except one of my instances gives me the below error: ubuntu@my-host:~$ /etc/aws-scripts-mon/mon-put-instance-data.pl --mem-util --disk-space-util --disk-path=/ ...
0
votes
1answer
28 views

Elastic beanstalk not support on custom AMI

I have launched a default Amazon ElasticBeanstalk image(php) in EC2 .I can able to deployed application on Apache.I am trying to use a custom AMI in AWS Beanstalk and does not get deployed on the ...
0
votes
1answer
24 views

Find minimal policies in AWS that user needs

I try to use AWS EC2. There is a command $ aws ec2 describe-instances That answers: A client error (UnauthorizedOperation) occurred when calling the DescribeInstances operation: You are not ...
0
votes
0answers
13 views

attached volume of a FreeBSD amazon ec2 instance does not show up

I have followed the steps in the documentation, created a new EBS volume and attached it to the instance (I only have one). I rebooted and tried shutdown/start, but the device does not show up inside ...
-1
votes
0answers
22 views

Tool for figuring out when/where packets are being dropped?

I often end up spending a lot of time in my VPCs trying to figure out which security group, network ACL, route table, etc. is screwing everything up with routing. Is there a tool available which I can ...
0
votes
1answer
16 views

Cannot access virtual directories on Drupal 7

I have installed Drupal 7.37 on AWS EC2 Linux instance. It was working perfectly until I reinstalled httpd24 and PHP 5.5. Since then, the main page loads perfectly but I cannot access my virtual ...
0
votes
0answers
9 views

With PROXY support enabled in ELB, are occasional non-PROXY connections to the EC2 instance still possible?

We have PROXY protocol support enabled on our ELB but we seem to be occasionally getting non-PROXY TCP connections to the EC2 instance behind the ELB. The instance's Security Group only allows ...
0
votes
1answer
38 views

EC2 Network Interface with secondary Private IP, not showing on Interface in Windows

I have a windows server 2012 r2 instance on EC2 under VPC, I have two Network Interfaces. The Primary Private IP is shown in windows for both. I have a secondary IP address on one of the network ...
0
votes
1answer
42 views

Can I use IAM Roles for Ansible

Apparently the AWS Access Key and Secret Key are optional parameters for the AWS Cloud Modules, however the places where the ansible would pick up those values are from Environment variables. Can we ...
0
votes
1answer
27 views

Active Directory in EC2: Can't create new users

I'm trying to set up a series of EC2 instances running Windows Server 2012 connected with Active Directory. This is a new AWS account and I've only done the following: created a VPC with a public and ...
0
votes
0answers
52 views

what is cause of high system CPU usage(%sy)

I am trying to find cause of high load , I am having high load every 30 minutes in Ubuntu 12.04 server system , I have Zpanel Installed on it and It have some web applications running Here in Image ...
0
votes
0answers
37 views

AWS SSH Session getting closed by Server intermittently

I have connected to the AWS EC2 Ubuntu instance using putty on Windows 7(ppk authentication). Most of the time I'm getting this message on putty: Network error: Software caused connection abort. But ...
0
votes
2answers
25 views

How to run a java jar file on Elastic bean stack

Currently I am using elastic beanstack for drupal application and choose the “Web Server” environment it is pre-defined configuration that uses PHP 5.5 with Apache. I need to deploy the java API ...
0
votes
0answers
52 views

Apache Server Stops Serving Requests Temporarily with Apache 2.4.12 on Amazon Linux with PHP 5.4.40 FPM/Worker

We have an apache server stopping serving requests constantly due to the following error: (70007)The timeout specified has expired: [client xxx.xxx.xxx.xxx:33740] AH01075: Error dispatching request ...
1
vote
2answers
54 views

How do we check ELB **own** instance health/connectivity?

Please note that this question is about ELB itself, not EC2 instances behind ELB Situation We have experienced the following ELB issue recently: 50% of requests were did not reach our backend and ...
1
vote
1answer
80 views

Migration from ansible to saltstack

We have a large AWS infrastructure which we manage and configure using ansible. I want to try and move our configuration management to saltstack. I've setup a server to be the salt-master and ...
1
vote
2answers
113 views

EC2 Ubuntu 14.04 instances: running `apt-get update` results in “Hash Sum mismatch”

Every time I create a new AWS EC2 instance with Ubuntu 14.04 (using ami-a182b391, as found from here) and then immediately run sudo apt-get -y update, it gives me an error. Here's the OS info: $ ...
2
votes
1answer
26 views

Posting url of rails application on FB without https replace meta tag description with “welcome to nginx”

I have a rails application deployed on an amazon ec2 ubuntu instance, configured with nginx which is working fine. The problem is when I try and post the url of the site on facebook without https ...
0
votes
1answer
64 views

running a docker container on upstart on Amazon Linux isn't working

I'm trying to get my container to run on startup using upstart. As the tutorial said - I created /etc/init/nginx_server.conf description "Nginx docker" author "Me" start on filesystem and started ...
0
votes
0answers
11 views

Amazon linux EC2 from CloudFormation - stop service

I'm running a my service on a Amazon EC2 create from a CloudFormation script. I put service file in /etc/rc.d/init.d/myService. (includeing "start" and "stop" functions). I've also linked it like ...
-2
votes
2answers
43 views

Why sometimes AWS EC2 works really slow?

I do only one thing one this server - encoding videos by ffmpeg. And sometimes it does work ok, sometimes it's really slow. I run the same command just for a test: $ sudo time ffmpeg -i test.mp4 ...
1
vote
1answer
54 views

connect mysql server installed on t1.micro instance from vpc t2.micro instance

I have mysql database server installed on ubuntu in t1.micro ec2 : Instance state: running Public IP: 50.xxx.xxx.xxx Instance type: m1.medium Elastic IP: 50.xxx.xxx.xxx Private DNS: ...
1
vote
1answer
52 views

How to combine multiple disks to act as one larger one?

In EC2 the i2.2xlarge (or i2.4xlarge) instance type come with 2x800 GB SSD (or 4x800 GB SSD) for instance storage. Is there a way (using RAID?) to make these separate disks be treated as a single ...
0
votes
0answers
5 views

Read data from external bucket on Amazon EMR

I need to read data from a bucket that I don't own, and I get the IAM account key and secrete access key to the bucket. What is the best way I can access the data? How can I add another IAM with ...
0
votes
1answer
50 views

EC2 to S3 upload speed decrease with increase in instances

I have a job that gets data from a database, runs some code, and uploads the result to an S3 bucket. The code takes approximately 1 minute to run, and the result file is approximately 10MB. Both the ...
0
votes
1answer
29 views

Is there a good way to clone a whole EC2 stack to another availability zone?

I've got a dozen or so EBS backed instances of various sizes in a VPC, multiple security groups, route53 for internal name service. I'd like to clone the whole thing to another availability zone. Has ...
0
votes
0answers
23 views

Amavis won't start without error

My e-mail server is almost fully set up. I use Postfix with Dovecot for sending mails. Now I try to configure Amavis for anti-spam and anti-virus. When starting amavis and checking the status, I ...
0
votes
0answers
31 views

AWS autoscaling and ec2 t2

I use t2.medium as a front servers at my architecture. Usually AWS autoscaling use "CPU Utilization", but for t2 it's a bit tricky. When "CPU Credit Balance" is low, t2.medium "CPU Utilization" can ...
0
votes
1answer
23 views

EC2 Viability Self Test?

Every 1 in 20 or so c4.xlarge EC2 instances I start seems to be a dud. I'm doing live video transcoding so CPU and Network throughput are very important. On a bad instance I can do as low as 5 FPS, ...
0
votes
0answers
32 views

Can't connect to VPN through ec2

I have created a VPC (private and public subnet) and VPN connection with the AWS wizard. Unfortunately, I can't connect to the host in the VPN outside AWS. When I try, I get a timeout. I have ...
1
vote
3answers
122 views

Disable THP and THP defrag on CentOS 7 EC2 instance

I want to disable transparent_hugepage (THP) on a CentOS 7 EC2 instance, which is enabled by default: # cat /sys/kernel/mm/transparent_hugepage/enabled [always] madvise never # cat ...
0
votes
1answer
28 views

AWS Costs Explorer - Data Transfer charges

Is there any way to find out where exactly the "Data Transfer" charges in AWS originate from? I'm running a EC2 and a RDS micro instance (Free Tier, both Ireland) + Snapshots and $10 of my $20 bill ...
-1
votes
0answers
25 views

Rogue Amazon Health Check

I have been building out an NGINX based web server on an AWS EC2 instance and recently noticed a huge amount of traffic from DNS Health Check which is related to the Amazon Route 53 service. I do not ...