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
21 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
13 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
14 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
26 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
19 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
12 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
24 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
21 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
9 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
20 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
12 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
35 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
27 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
25 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
49 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
33 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
24 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
38 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
51 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
71 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
97 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
53 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
10 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
40 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
44 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
46 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
42 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
24 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
17 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
28 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
30 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
91 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
26 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
24 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 ...
0
votes
0answers
47 views

AWS EC2 replacement instance

I've inherited our AWS management duties for the time being and I've received a notice from AWS about some of our instances needing regular maintenance. The EC2 instances are pretty primary, a proxy ...
0
votes
1answer
17 views

Windows EC2 instance inbound RDP works, but inbound HTTP does not work

I have a running Windows 2012 Server instance on EC2. I can reach it with RDP, but I cannot reach it via HTTP. I have configured the security group to allow all inbound traffic on ports 80 and 8080. ...
-3
votes
2answers
19 views

How can I access EC2 instance using Access Key ID?

I need to access (SSH) Linux EC2 instance, I have following information available. Access Key ID and Secret Access Key. Is there any way to login EC2 with above information?
0
votes
0answers
34 views

AWS EC2 Instance with Windows 2008 R2 Datacenter Not Using All of Memory

I have an m1.large EC2 instance running with Amazon Web Services. The OS is Windows 2008 R2 Datacenter. It should have 7.5 GB of memory, and the desktop background indeed says: Total Memory : 7.5 ...
1
vote
1answer
21 views

How do you tag and name the EC2 Instance that was launched by an EC2 Spot Request?

I have a couple of EC2 Spot Requests that launch EC2 Instances when the price is right. I'd like the resulting instances to get tagged with a Name and Role tag so my configuration management tool ...
-1
votes
1answer
11 views

Using the EC2 API to find out the username that should be used to ssh into the node

I am attempting to orchestrate several EC2 instances from my own set of scripts. The one issue I'm running into is that some of our boxes are ubuntu boxes which require that the user "ubuntu" be used ...
1
vote
2answers
56 views

New EC2 server, C: drive is full. What can I do?

I signed up for a trial of Amazon EC2 and created a new instance with all the defaults. Upon first login the 30GB C: Drive only had 150 megs free. I went ahead and created a new volume and have a D ...
0
votes
0answers
18 views

Apache bad performance

I have Apache 2.4 on CentOs with mod_php (PHP 5.4). This runs on an Amazon EC2 large machine (m3.large) with a load balancer in front of it. There are 3 requests/second to a PHP file that returns ...
0
votes
0answers
23 views

failed ssh logins DOS: pam_systemd Failed to connect to system bus

After a couple of weeks of script kiddies attempting to login via SSH to my CentOS 7 box on EC2, it eventually stops responding on that port (and to http on port 80), and I have to reboot it. The ...
2
votes
1answer
35 views

Permission denied to connect Mongodb with PHP on EC2

I can't connect to the remote EC2 server with PHP because I got permission denied. However I could connect remotely by command line from the same server so it seems the firewall settings are fine and ...
0
votes
3answers
55 views

Unable to connect via RDP to Windows Server instance on AWS EC2

Below is a link to the instructions that allow you to connect to your AWS EC2 virtual private server, for an instance based on a Windows Server template during the AWS EC2 instance wizard. So far, ...
0
votes
2answers
50 views

Apache server config redirect from IP to domain name EC2 [duplicate]

I am running an apache webserver on a linux EC2 instance. The problem is that you can access the server using the IP address, DNS and the domain name. This causes a problem for SEO and I want to tidy ...