Amazon Elastic Compute Cloud (EC2) provides self-service, on-demand, pay-for-what-you-use computing infrastructure resources.

learn more… | top users | synonyms (1)

7
votes
1answer
2k views

xen:balloon: reserve_additional_memory: add_memory() failed: -17

We're running Ubuntu 14.04 on an EC2 virtual machine. I've been seeing a lot of these errors in our kernel log: [ 704.032085] xen:balloon: reserve_additional_memory: add_memory() failed: -17 [ ...
1
vote
1answer
49 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 ...
1
vote
1answer
45 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: ...
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
2answers
2k views

Iptables port forwarding on AWS EC2

I have AWS VPC with 1 public subnet and 1 private subnet. I have my web-server running on port 80 in private subnet. I want this webserver be accessible form public internet Yes, The VPC security ...
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
27 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 ...
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 ...
2
votes
1answer
1k views

Alternative to DFS-R on Amazon EC2 Windows Servers

For hosting our web sites in a Windows load-balanced environment we've traditionally used DFSR to sync folders between servers with our hosting company. We're looking to migrate a lot of our sites to ...
0
votes
3answers
1k views

multiple virtual hosts on EC2 ubuntu - cannot access second host, always accesses default

I have been searching and reconfiguring for 6 days now and have lost several clumps of hair. PROBLEM: I want 2+ virtual hosts on my ubuntu server (1 ip) BUT - Only the first "alphabetically" listed ...
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
1k views

Amazon Linux AMI for NFS between multiple EC2 servers

So I've been trying to create a Dropbox like system to allow multiple EC2 instances to work with the same files. I'm writing the programs that actually modify the files myself, and I'm not worried ...
0
votes
1answer
954 views

Gmail rejecting IMAP calls from AWS EC2 hosted James server

I have James server (SMTP server) hosted on AWS EC2. I have small application running on this AWS instance which fetches certain emails from my Gmail account. Gmail rejecting any IMAP request from my ...
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, ...
1
vote
3answers
1k views

Can't access site on EC2 instance via public ip

I have Amazon EC2 micro instance with window 2008 server and deployed one sample web application over there which uses java and deployed on tomcat 7 server. I am able to access it locally on ...
1
vote
3answers
93 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
0answers
31 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 ...
60
votes
2answers
15k views

Amazon EC2 terminology - AMI vs. EBS vs. Snapshot vs. Volume

I have been poking around Amazon EC2, and am a little confused on some of the terminology. Specifically with regard to AMI, snapshots and volumes, and an EBS Please correct me if I am wrong, or fill ...
0
votes
1answer
113 views

Automatic installation of DbSecurityspt folder [duplicate]

We have an Amazon EC2 instance. The folder DbSecurityspt gets automatically installed in c:/ProgramFiles and the associated service also starts automatically. Removing them, installs them again the ...
1
vote
1answer
938 views

Amazon EC2 Socket connection not being accepted

I am trying to run a java application on my EC2 instance. The application accepts socket connections on port 54321. If I try and connect to it, it times out. My Security Group is set as: TCP Port ...
-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 ...
1
vote
1answer
979 views

Connecting jconsole using SOCKS to Amazon EC2

I'm trying to use jconsole to view stats on an EC2 instance by using a socks proxy created by SSH. I've tried the various scripts mentioned in the links below but to no avail: ...
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. ...
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
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 ...
-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?
3
votes
2answers
4k views

proxy:error AH00898: Error during SSL Handshake with remote server

I have a server that acts as a front-end for a cPanel mailserver in a network. The apache proxy on the front-end server ran for 152 days without fault then suddenly I now get 500/502 errors when using ...
0
votes
2answers
807 views

Can't connect from EC2 to RDS via PHP. I can directly thought

I've set up an EC2 instance it has mysql and php-mysql installed (not mysql-server). I've set up an RDS instance and set the security group to the EC2 instance. I can connect via the command line ...
13
votes
1answer
7k views

What is “freeable memory”?

Amazon RDS has a metric for 'freeable memory'. It appears to go up & down in a sawtooth pattern. This leads me to believe that it's memory that is being used by MySQL for caching and that when ...
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 ...
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 ...
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, ...
1
vote
1answer
1k views

MX records not working on Amazon route 53

I have configured my Amazon route 53 DNS to add the google apps MX records and here is how my route 53 configuration looks like (please ignore the upper red box in the photo) : However, these MX ...
1
vote
1answer
938 views

Using TntDrive to mount Amazon S3 on a Windows Amazon EC2 instance

I currently have 2 Amazon EC2 Windows Server 2008 instances setup with a load balancer. My problem now is that I need both instances to be able to access a single file system source (I'm trying to use ...
-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 ...
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
24 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 ...
1
vote
1answer
2k views

EC2 instance is blocking all outbound connections, how to diagnose/fix?

My EC2 instance is blocking all outbound connections. wget http://www.google.com ==> Hangs ping google.com ==>hangs ssh user@anyserver ==>hangs I ran : sudo iptables -F to eliminate all ...
2
votes
3answers
3k views

Production Instance : CLOSE_WAIT Connection Issue

I am using 10EC2 Instances behind 1 ELB. And ELB configured 80 to 8080 and 443 to 8080 port. And all 10EC2 instances having installed with Apache Tomcat, total request on ELB around 8000 to 10000 in ...
2
votes
2answers
889 views

Whitelabel DNS with Amazon Route53

I've searched the internet for the answer, but I can't find it and this is because DNS management is not exactly in my skillset. I want to use Amazon AWS Route53 to host a multi tenant php application ...
0
votes
3answers
166 views

Disable NOPASSWD sudo access for ubuntu user on an EC2 instance

How can I disable the passwordless sudo access for the default ubuntu user on an EC2 instance? Is it safe to do it?
0
votes
1answer
67 views

SSH “operation timed out” on ec2 instance

I have performed the following steps: Clicked on existing instance > Actions > Launch more like this Kept all the settings the exact same aside from selecting a different instance type (same key ...
0
votes
2answers
51 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 ...
4
votes
5answers
7k views

S3fs performance improvements or alternative?

I've been trying to use s3fs on an EC2 server but it's really slow. I spent the last 5 hours uploading 100MB of small files. Is there anything I can do to improve the performance or is it something ...
0
votes
1answer
2k views

Unable to ssh EC2 using password - “Disconnected: No supported authentication methods available (server sent: publickey)”

I have followed the following steps https://coderwall.com/p/j5nk9w This is what I did 1) $ sudo useradd -s /bin/bash -m -d /home/newuser -g root newuser Entered the Password for the newuser 2)$ ...
0
votes
0answers
39 views

forward subdomain with route 53 to ec2 instance with node js

I have node js serving both root site (non prefix) and app.mydomain with node js subdomain npm . how can I point to both of them using Route 53? as for now the root domain get request's from Route 53 ...
0
votes
1answer
1k views

How do you get multiple ports working with nginx proxy_pass and Node Express?

I have multiple node instances running each on a different port. (8000, 8001, etc.) I also have nginx running on port 80. What I am trying to do is allow a user to enter my site via a single domain ...
0
votes
1answer
33 views

Does AWS EC2 have secondary disks scattered across the cluster?

I am using AWS EC2 Linux m3.xlarge to run a program called "Smart Information Retrieval System" which performs many I/O operations to/from the disk. I have tried running the same program on my laptop ...