We are considering using Amazon's ELB for load-balancing requests to internal API servers. If we use it, do we have to route our traffic through the public IP addresses, and thus lose the speed and cost benefits of sending traffic only to the private IP addresses? (The API servers and API consumers are both EC2-hosted, so we would prefer to use the private IPs.)
user5336's questions
I need to run the latest Apache (2.2.13) on Ubuntu 8.10, and am extremely averse to compiling from source or building my own .deb because of cloud hosting issues. Even Canonical's intrepid-backports repository only has Apache 2.2.9.
Can anybody suggest a good sources.list repository for Apache 2.2.13 on Ubuntu 8.10?
We have serious stability issues with mysqld running on Linux hosts in EC2, with all of its data and log files stored on an EBS volume. We keep a slave purely for hot backup and failover, and when the master goes down, we can usually bring up the slave as a master without any issues, and then create a new slave.
But it's very problematic that our master will just go down. The master host keeps running fine, but mysqld won't respond to anything, and can't even be killed with kill -9.
This happens in both our production and staging environments, which are similar, but production runs on large instances (with Centos 5.2 x86_64) and staging on medium instances (with Centos 5.2 i686).
Has anybody experienced similar mysqld stability problems in EC2, and if so, how did they deal with them?
Thanks in advance.
I'd like to hear your approaches for monitoring Linux instances running in EC2. I'm very accustomed to using Nagios to monitor all manner of aspects of a Web-based application's ecosystem, but its model doesn't seem to lend itself particularly well to machines that are fairly frequently destroyed and recreated. My EC2 instances are intermediated by RightScale, which has its own monitoring scheme that I'm not finding hugely useful -- though I do plan to look into their monitoring some more.
The instances in question run normal open-source stuff: MySQL, Apache, Passenger, Rails.
Many thanks in advance.