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

learn more… | top users | synonyms (1)

1
vote
2answers
12 views

Disable transparent_hugepage (THP) 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 ...
60
votes
2answers
14k 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
0answers
7 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
98 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
921 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
20 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
votes
0answers
17 views

Why is it impossible to create AWS Auto Scaling Launch Configuration with c4 instance as Spot Instance?

I'm trying to create new Launch Configuration in Auto Scaling section with c4.large instance as instance type. Then I mark the Request Spot Instances checkbox, but get There is no Spot capacity for ...
1
vote
1answer
967 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
10 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
37 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
29 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
14 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
3k 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
742 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
6k 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
42 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
16 views

MP4 Video Streaming Issue on Centos [on hold]

We have amazon ec2 centos server. High quality and about 180MB size each videos are uploaded on the server but video is not streaming very very slow. It seems to be working fine on other systems. What ...
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
29 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
2answers
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
votes
1answer
12 views

Configure LVS Direct Routing on EC2 [on hold]

Is it possible to set up LVS Direct Routing mode on EC2, which requires using Virtual IP. Is it correct to use Elastic IP as Virtual IP? Anything particular to set up to use Elastic IP as Virtual IP? ...
1
vote
1answer
914 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
10 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
17 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
18 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
1k views

Multiple EC2 security groups - permissive or restrictive?

What happens when I assign multiple security groups to an instance? Is it permissive in the sense that the traffic is allowed in if any one of the security groups allows it. OR is it restrictive in ...
2
votes
3answers
2k 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 ...
-3
votes
1answer
12 views

custom domain name for ec2 [on hold]

I have a Ec2 host and I have a ElasticIP. I have my domain setup in the BigRock and I have name-servers to my hosting. How can I point my domain to EC2 instead of my old shared hosting. Thanks
2
votes
2answers
814 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
149 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
0answers
22 views

EC2 Windows instance stops responding for days at a time [closed]

We run a Mac/Linux environment but need to run a few speciality applications on a Windows machine, so we've got a Windows instance at Amazon EC2. It periodically stops responding to ping and RDP for a ...
0
votes
1answer
64 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
33 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 ...
3
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
21 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
934 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
32 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 ...
1
vote
1answer
32 views

AWS Ubuntu 14 - Can't SSH After Reboot

Had an issue where an instance became unresponsive and was forced into a reboot. After the reboot I could ping the server but could not SSH into the server. Ultimately I created a new instance and ...
5
votes
2answers
8k views

Enable Password Login for SSH on Amazon Linux AMI

I wan't to be able to login via ssh with a password and not the key file. Yeah I know it's totally insecure but at this point in the config I was turning variables off and on left and right trying to ...
12
votes
5answers
15k views

How do I Install Intermediate Certificates (in AWS)?

I have installed private key (pem encoded) and public key certificate (pem encoded) on Amazon Load Balancer. However, when I check the SSL with site test tool, I get the following error: Error ...
1
vote
0answers
22 views

jboss cluster in ec2 with s3ping

Am trying to get s3ping discovery method working in wildfly 8.0.0. I am using default Amazon Linux AMI and using chef to launch instances in ec2 based on this tutorial ...
-1
votes
1answer
51 views

How to run a shell script on all amazon ec2 instances that are part of a autoscaling group?

Can anyone please tell me how to run a shell script on all the ec2 instances that are part of a auto scaling group. The scenario is that i have a script that i want to run on many ec2 instances that ...
1
vote
1answer
32 views

Locating bandwidth bottleneck

I am using FFMPEG to encode a video stream that is sent to a server at EC2 through ELB. I was only able to get about 2Mbps/15fps throughput to the EC2 instance. Through process of elimination, I ...
0
votes
0answers
23 views

Fabric: Using ssh_config settings on env.gateway

I have a relatively standard AWS setup, that looks like this: [ App server ] \ [ App server ] -- [ Dev gateway ] [ App server ] / Where the servers are only accessible over 22 from the gateway's ...
0
votes
2answers
3k views

EC2 instance always ask me to enter passphrase for the pem during connection

The pem file is generated by AWS console I was able to connect using the EC2 remote web interface, using the same pem file The permission of pem is 600 already Error.. ssh -i ~/test.pem -v ...
-2
votes
0answers
17 views

/dev/xvda1 full , though there is no temporary files [migrated]

I have AWS ec2 micro instance, suddenly it shows memory full. I have checked the folder using df -hcommand. The result is displayed below. Filesystem Size Used Avail Use% Mounted on /dev/xvda1 ...
0
votes
2answers
267 views

How to create a smaller disk size Windows instances on Amazon EC2?

Does anyone know how to create smaller disk size Windows instances on Amazon EC2? Their default is 30 GB, and I have to pay $0.10/GB/month for EBS storage, which means that for each Windows instance I ...