So after much investigation and deliberation, we decided as a shop to do our Drupal hosting on Acquia Dev Cloud. We’ve been working our way up the abstraction stack (first we got out of taking care of hardware, moving everything to hosted services or virtual private servers in the cloud), and luckily this takes us about as far as we can go. No more initial build-out of a new web server, and no more handling OS-level security upgrades. Woohoo! Now I can just focus on building cool sites.
One of the (many) reasons we settled on Dev Cloud was the workflow integration using Git. We’ve been using Git for a while now, so all of our existing Drupal sites already have histories in their respective repositories. Since we’ve already got everything in Git, I figured there would be a straightforward way to bring it into Dev Cloud, but it doesn’t appear to work that way. Luckily, since I knew exactly what I wanted, a lot of Googling and a little trial-and-error got us where we needed to be. Since I needed to document the process for myself, and since I didn’t find clear directions on how to do this anywhere else, I’m posting the process here, in hopes that it will help make other developers’ migration processes easier.
Getting Ready
After logging in at network.acquia.com and selecting one of your “subscriptions,” under Dev Cloud, click New site to add the site to import, then switch to the subscription for your newly added site.
Under Users and keys, add your SSH public key. Then back under Workflow, grab the “Git URL” and clone the repository on your local system.