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

AWS EC2 IPTables converts source/dest subnet into ec2.internal hostname?

I have a Debian 6.0.7 x64 AWS EC2 server that I'm running a couple QEMU virtual machines on (don't ask.. long story). I have some IPTables rules to NAT/Forward any traffic (on ports 8080 and 8081) ...
0
votes
0answers
18 views

Diagnosing Random Internal Server Errors That Leave Clean Logs

I have a Django site running on an Amazon EC2 Ubuntu instance, and I've been getting random Internal Server Errors that I can't get to the bottom of. I'm using Apache 2.4.10 to serve pages. I also ...
0
votes
1answer
783 views

SMTP 550 5.1.1 error when sending email with postfix via amazon SES

I've been following this manual starting at page 26. First I've already made a tunnel with stunnel, and also I've already got conected via command line with amazon servers, then in my postfix main.cf ...
0
votes
0answers
55 views

Is the IP based filtering in Amazon EC2 enough to ensure security?

I am hosting a webserver using Amazon EC2 and want it to be accessible only from a particular IP. I have set up my security groups to allow connections from only that IP. ...
0
votes
0answers
36 views

Amazon EC2 not responding on port 80 and mysqld will not start

An EC2 instance running Apache 2.2.5 on CentOS 6.4 appeared to be fine up until September 29. That day at 7:49 the Value in CloudWatch was 42, at 7:59 it was in the low 100,000's, the last Value ...
0
votes
1answer
39 views

Monit on EC2 - Monit works but it doesn't monitor any service

I have a ubuntu 14.04 instance on amazon, I've installed monit with some simple configuration files but it seems like it doesn't monitor them. I have installed monit a couple of times in other servers ...
0
votes
2answers
781 views

how do I find out what part of my ec2 storage is ephemeral

This may be a silly question, excuse my ignorance. I have an instance running like this: Does Root Device : EBS mean my entire system is on EBS? I've configured apache and a perl app here, all my ...
0
votes
1answer
140 views

PHP install on clean Amazon Linux AMI

I'm trying to get a script working to bring up new Amazon Linux EC2 instances with php55 and the Amazon PHP sdk. However, I'm running into a problem that I think is caused by PHP version conflicts. I ...
0
votes
1answer
50 views

How to RDP securely to an EC2 instance?

I have a VPC with a few EC2 instances running Windows Server 2012 that will be used as workstations (in a similar way to WorkSpaces). Right now they are in a public subnet and users can connect using ...
0
votes
2answers
92 views

Permission denied (public key) ssh ec2 instance mac [closed]

Update2: $ ls -ld ~/.ssh drwx------ 8 user staff 272 2 Oct 17:51 /Users/user/.ssh $ ls -la ~/.ssh/config/file.pem -r--------@ 1 user staff 1692 2 Oct 17:11 /Users/user/.ssh/config/file.pem $ ls ...
-2
votes
0answers
44 views

EC2 instance Linux, MYSQL log error:InnoDB: Unable to lock ./ibdata1, error: 11 [migrated]

I have a working server running Ubuntu 64bit with apache2 on a t2 micro EC2 instance. The problem is that MYSQL (version 5.5.38) has some bug...I tried everything, delete completely and restart ...
2
votes
2answers
429 views

Unable to connect to EC2 instance after “reboot”

I am not able to connect to my m1.small instance after rebooting it. I have already associated the public IP with this instance. Upon checking the system log, this seems to be the issue: ...
0
votes
0answers
14 views

Linux pt_BR Locale - Bad Translations

I'm using Amazon Linux AMI 2014.09 (up-to-date) to host my PHP application, that uses locales for internationalization (usually it's pt_BR). On the production server the pt_BR translations is not ...
0
votes
0answers
24 views

aws cli tool set up - unable to connect ec2 and retrieve instance information

I am trying to use aws configure to set up the cli tool aws configure --profile work AWS Access Key ID [None]: ABCD AWS Secret Access Key [None]: 123456 Default region name [None]: Default output ...
1
vote
2answers
895 views

How to flush Amazon Linux AMI DNS cache?

The typical way of flushing the dns cache does not seem possible in Amazon Linux AMI: service nscd restart does not work because it's not included within the VM. service dnsmasq restart does not ...
1
vote
2answers
1k views

SUSE EC2 Problem - zypper - Permission denied

I'm trying to use zypper to install gcc on my Amazon EC2 instance running SUSE.When I try:zypper in gcc I get: Retrieving repository 'SLE11-SDK-SP1' metadata [] Permission to access ...
0
votes
1answer
35 views

Cannot mount an existing EBS on AWS

I tried mounting an existing EBS Storage (which has data) to an instance, but it keeps throwing this error. mount: wrong fs type, bad option, bad superblock on /dev/xvdf, missing codepage or ...
-2
votes
1answer
19 views

Install SQL Express 2005 over 2012

I have a Amazon EC2 Windows 2012 with SQL Server Express 2012, but I need SQL server 2005, What I need to do to get it done? Thank you
2
votes
1answer
2k views

EC2 hosted asp.net not stable

I moved our web hosting to Amazon EC2. At first everything was working well. In the last few days I have been getting this error: The requested name is valid, but no data of the requested type was ...
0
votes
1answer
35 views

SSH Passphrase for ppk file

I'm trying to connect to EC2 server, using .ppk file ssh -i key.ppk -l root@dns-name The issue is that, the shell asks for passphrase ? i don't know what is it! Am able to use this key using ...
0
votes
1answer
43 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)$ ...
-1
votes
1answer
29 views

Which ubuntu AMI should I choose to create a new EC2 instance? What are the advantage and disadvantages?

I want to set up an ec2 instance which runs Ubuntu 14.04 There are two possible set of candidates of AMI: From the Quick Start menu vs from Ubuntu What should I consider before I make a ...
0
votes
0answers
28 views

Mail not getting to users on Google when MX records specified in Amazon Route 53

I configured the MX on my Amazon AWS Route53 and I was told that some of the users don't get any emails with this domain. When I send myself an email everything works fine now, and I doubt that ...
1
vote
5answers
427 views

I'm unable to symlink a directory into /var/www/html

I've read up on this subject at so many resources but I'm still struggling to get this right. Background: I'm using an Amazon EC2 instance with a LAMP setup I have this repo on bitbucket that has ...
0
votes
1answer
28 views

SSH and HTTP connections refused from ec2 instance, but the instance is in running state

My ec2 instance (CentOS 6.3) has been in running state all time but I was unable to make SSH and HTTP request to the instance until making AMI from the instance and launching new instance. Another ...
1
vote
3answers
47 views

Disk Partitioning on AWS EC2

I'd like to know if it's possible to create a partioned volume and if it even makes sense to do that on an Amazon EC2 server. I have a standard Ubuntu server and I'd like to separate the /home and ...
0
votes
0answers
43 views

Apache Server 2.4 on EC2 “caught SIGTERM shutting down ”

I'm using amazon linux on an m3.large instance on EC2. I had these logs before my apache server was shut down: [Sun Sep 28 18:54:31.679261 2014] [cgi:error] [pid 32422] [client 67.211.230.58:58937] ...
1
vote
2answers
811 views

Unexpected behaviour when dynamically add node in HAproxy server

I wanted to use HAProxy for my web app for load balancing purpose. I am trying to add a new rabbitmq node dynamically in HAProxy server using command : haproxy -p /var/run/haproxy.pid -sf $(cat ...
0
votes
2answers
39 views

SES time sync error

My SES setup was running fine for the last 6 months without any issues. All of a sudden it stopped working yesterday and I'm gettinng the infamous time sync error. Naturally I assumed ntpd had ...
0
votes
1answer
28 views

How can I see the windows computer name for an ec2 instance without logging in via RDP?

It seems like this should be straightforward, but I don't see it in the console nor did I notice anything in "describe-instances" for it. Given some alert e-mails are getting tied to the machine name ...
0
votes
3answers
887 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
29 views

custom ami creation and sysprep

I am working through steps to create a custom ami, so far take a base one and install all software needed. shutdown machine with sysprep. create an ami. create instances from it I am wondering how ...
0
votes
1answer
48 views

Multiple RDS vs DNS

have a problem I was hoping someone could help me with. We have two RDS read slaves that we have our app servers round-robin to for data reads (DNS in Route53). Well, yesterday those RDSes got ...
0
votes
2answers
45 views

EC2 autoscalling and code deployments

I'm just starting with EC2 load balancer and trying to implement autos-calling and fault-tolerance. The database is hosted in RDS, sessions are shared, files are shared using S3. I can't seem to ...
0
votes
0answers
42 views

AWS Instance Suddenly Not Available in Browser - SSH and ping work

I am very new AWS and sys admin so bear with me... I noticed my website was suddenly down today and have been working to sniff out the issue. No site files were changed as far as I am aware. Here is ...
3
votes
1answer
46 views

How can I get Puppet generated configuration to include internal hostnames of other ec2 instances in my CloudFormation stack?

I have a stack generated by AWS CloudFormation that includes an EC2 instance (running Ubuntu 14.04) and an RDS (database) instance. They are both inside a VPC, which includes a puppet master (not as ...
0
votes
0answers
56 views

Configuring NGINX with SSL and Node.js on CENTOS 6 in EC2

I'm trying to deploy a Node.js web-app on a Centos EC2 instance with an elastic IP. The SSL certificate is already setup and properly configured. I would like to allow only https connection to my app, ...
0
votes
0answers
41 views

EC2 Haproxy stops taking requests

I am using haproxy with Apache to keep alive an EC2 server. Sometimes haproxy stops taking new requests. If I reload haproxy it starts working normally. I have disabled iptables and increased open ...
2
votes
1answer
388 views

Kernel panic - not syncing: VFS: Unable to mount root

I uploaded a centos 6.2 VMDK to s3 and then converted it to volume using ec2 import volume. Then i took the snapshot of the volume and deleted it.Now I am trying to create a instance from the snapshot ...
-1
votes
0answers
16 views

Rails on EC2 - what's the sweet-spot? [duplicate]

I'm running a Rails app that mainly does CRUD operations and have about 50-100 concurrent connections. My current setup is to have 4 thin servers running behind nginx on a t2.medium instance. But I ...
1
vote
1answer
144 views

How do I add a NAT instance that was created by the VPC setup wizard to an OpsWorks layer?

I'm using a VPC with public/private subnets and a NAT instance created by the VPC setup wizard. I'd like to make a few tweaks to the NAT instances via OpsWorks (mostly logging and changes to iptables ...
0
votes
0answers
31 views

systemd-journald: Received request to flush runtime journal from PID 1

I'm using RHEL7 on Amazon EC2 and I'm experiencing issue while booting it up. last few entries from log are: [ 93.000775] systemd-journald[413]: Received request to flush runtime journal from PID ...
1
vote
1answer
40 views

Is it safe to create an AWS EC2 snapshot of a volume that is attached to a running instance?

I'm actually upgrading an instance volumes storage capacity, so I have to create a snapshot of the volume first. It's an 80 gig volume, and I started the snapshot process, but later I noticed that the ...
1
vote
1answer
767 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
vote
1answer
819 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
2answers
28 views

Changing ec2 instance type, any side effect?

Hello there i am trying to upgrade ec2 micro instance to small instance. I am going to upgrade it with this. But i assigned elastic ip, lot of alarms, load balancer and mounted s3 on it. I knew that ...
0
votes
1answer
39 views

Amazon EC2 ephemeral drive permissions for SQL Server tempdb

I have an Amazon EC2 instance which is used for long SQL Server queries but is stopped in between. I use the SSD ephemeral drives for tempdb but whenever the instance is started from a stopped state, ...
0
votes
1answer
141 views

How to deal with Amazon EC2 network input bytes spikes

I have an Amazon EC2 instance which will periodically receive a spike in network input - always at around 6:45am. It sounds like exactly the same issue in this thread (Analyzing a periodic network ...
0
votes
0answers
24 views

amazon ec2 ftp RETR hangs

The problem is with an Amazon ec2 instance "Red Hat Enterprise Linux Server 7.0 (Maipo)" (kernel 3.10.0-123.6.3.el7.x86_64) When attempting to RETR a remote file the FTP client hangs indefinitely. I ...
2
votes
2answers
2k views

Which AMI to to use for Java/Tomcat/MySQL in Amazon EC2?

I originally posted this on stackoverflow.com and it was suggested serverfault.com might be a better place to ask this question. So here goes: I'm trying to determine which Amazon Machine Image ...