Amazon Web Services (S3, EC2)
Scaling at Amazon with Mercury?
Hello,
How does scaling work at Amazon if I start out with the smallest instance with a Mercury.
I have never used any of them, just doing my research on which way to go.
Would be as simple as clicking a few buttons on my Amazon control panel to get a bigger instance? :)
Aegir in Mercury & other questions
Ok so I noticed your Aegir build but also noticed joshk's comment here http://groups.drupal.org/node/27134#comment-92680 So if its really different am I to assume it doesn't include all the goodies in Mercury? Im guessing so based on the description over at getpantheon.com ... so I currently have a dedicated server in which i have been running aegir for some time now quite happily ... what I wanted to know is if any of you are running Aegir inside your Mercury goodness? Are there any reasons not to?
EBS Restore
I need to reinstall Mercury but I fortunately had migrated mysql to an ebs volume. How would I reconnect to the mysql from Mercury?
Subversion
I'd like to implement subversion and just wondering if anyone here can provide a little guidance.
I visited the subversion site and am happy to follow along with their instructions, but just curious if there is anything I should consider specific to Mercury?
Thanks
Upload Progress Through APC
Drupal is also telling me that APC is capable of displaying upload progress, but it's not enable.
I added apc.rfc1867 = 1 at the end of the following files, but that didn't seem to fix the problem:
./etc/php5/apache2/php.ini
./etc/php5/cli/php.ini
Is it possible to enable Upload Progress through APC?
DRUPAL STATUS REPORT MESSAGE
Upload Progress Not enabled
PHP GD library
I'm getting a status report message that the installed version of PHP GD is insufficient. I'm told that I should "recompile PHP --with-gd". Is there a reason why the Mercury AMI doesn't have the PHP GD library?
DRUPAL STATUS REPORT MESSAGE
GD Image Filtering Low Quality / Poor Performance
Move mySQL DB to EBS
Can someone please provide some instruction for how to move the db to an ebs?
Assuming:
- Create an EBS
- Move db from usr/share/mysql to ebs
- Update location in settings.php
Anything else?
Thanks!
Location of Config Files
I'm trying to find some config files. Can someone please confirm their locations?
.htaccess = ./tmp/.htaccess
.htgroup = cant' find
.htpasswd = ./usr/bin/htpasswd
httpd.conf = /etc/apache2/apache2.conf
Thank you
Unauthorized Mail Being Sent
Hello,
AWS shut down my instance's mail sending abilities after they noticed that my instance was sending too many emails. I spoke with their support team and they confirmed that to avoid possible spam my instance was stopped from emailing. Does anyone have any ideas what could be causing that? I haven't shared my password key with anyone. It's stored locally on my computer. Outside of the Mercury AMI nothing else was installed. My mail.log file has a bunch of activity. Here's some for log entries:
Mercury on OpenSolaris AMI
An FYI. I will be investigating creation of the Project Mercury environment on an OpenSolaris 2009.06 AMI, with the goal of publishing that AMI in the next month or two. Starting with joshk's excellent step-by-step on Jaunty, I hope to reproduce all these pieces in OSOL over the next few weeks. Comments? Things to watch out for? Look for a writeup here as I go...
The directory sites/default/files is not writable
I'm having a problem with sites/default/files.
I have permissions set to 775.
If I recall I copied this directory from my previous server using the Mac Finder.
Any ideas what's going on?
Stuck
I've gotten stuck dumping my old database into the new Mercury configuration. Would someone please let me know where to place the old .sql file.
Also, sql is a bit of a foreign world to me and I would love to get a copy of phpmyadmin running on the build. Any help is greatly suggested. I downloaded the phpmyadmin tool but got stuck pretty early in the process.
Thank you
SSH Authentication with Private Keys
Hello,
I've managed to authenticate. My first missteps were not understanding that ports 80 and 22 had to be open. I get the concept but for a non-sysadmin I assumed the EC2 defaults for Security Groups would be set to work automatically. I did finally manage to get to root using Terminal though once these ports were open.
Since I prefer a GUI I'm now trying to get past having to use Terminal on the Mac, but I can't really find a Mac SSH client that works with EC2's private keys. They all want me to authenticate with a username/pw.
Mercury 0.71-Beta Released
Mercury 0.71-Beta has been released with small bugfixes (see https://bugs.launchpad.net/projectmercury for details).
AMI IDs are:
US 32-bit: ami-bd7c9fd4 - chapter3-storage/PANTHEON-pressflow-mercury-0.71-Beta.manifest.xml
US 64-bit: ami-b17c9fd8 - chapter3-storage/PANTHEON-pressflow-mercury64-0.71-Beta.manifest.xml
EU 32-bit: ami-8f2c07fb - chapter3-storage-europe/PANTHEON-pressflow-mercury-0.71-Beta.manifest.xml
EU 64-bit: ami-73230807 - chapter3-storage-europe/PANTHEON-pressflow-mercury64-0.71-Beta.manifest.xml
User-Data integration with Project Mercury
I've been working on better integration with EC2 user-data for Project Mercury. The goal is to allow users to specify configuration options when they launch a Mercury instance to simplify the process of manual configuration.
For example if you'd like the EC2 instance to receive an Elastic IP address you'd specify:
IP="new"
Or an existing elastic IP address:
IP="123.123.123.123"
Setting up EBS for Mercury [Beta]
Once you've followed the steps outlined for installing your site on Mercury you'll then want to take your site to the next level using Elastic Block Store. This is going to keep your MySQL database(s) persistent should your server instance crash. Also make it easy to replicate data for testing etc.
There's a good generic Amazon doc page on this here.
Step 1 - Collect the necessary data
Note the following:
<
ul>
Project Mercury Beta!
With great pride, and after six alpha-level releases, I'm announcing of our seventh iteration on the Project Mercury stack, finally baked enough to call "beta".
At this point, we know that many people are using the Mercury EC2 image in production environments, and we've tuned this release conservatively to prevent it from breaking down under heavy load. We've also verified that the stack will work under a resource-constrained VPS (e.g. one with 1/4th the RAM of a small EC2 image), which gives us more confident that this configuration is stable. We also have a kickass logo:

Additional testing of Mercury with 2GB and 512MB RAM
My name is Greg Coit, sysadmin for Chapter 3 and I've been helping with Mercury development and testing.
We wanted a get a quick idea of how hard we could push mercury under more "real world" circumstances, so I combined siege and ab to generate a broad spectrum of hits. ab (short for apache benchmark and part of the apache2-utils package) allows you to generate a very large number of hits on one url, while siege (a perl script which comes in a self-titled debian/ubuntu package) lets you spread the hits across many urls, most of which won't be cached. This mixed-load is a much more nuanced and accurate way of looking at performance than peak throughput on a single url.
Software Developer | PlanetAbroad
For our website we are looking for a good Drupal allrounder (backend as well as some basic theming) who is capable of maintaining our website as well as developing some new parts. This assignment will be around 1 week full time work initially and then on demand probably somewhere around 10-15 hrs per week.
Please provide us with references of your past work in Drupal.
The initial task we will use to test you is a customized commenting system for our website www.planetabroad.com - the specs are attached.




