The Hub - hub.boston.gov

Create a functional drupal site on AWS.

Create a Database

Create VPC with necessary components

Make sure IAM account username+cli is a member of elasticbean_dev group.

Install elasticbeanstalk CLI from https://github.com/aws/aws-elastic-beanstalk-cli-setup use the readme for instructions. At the end, from (a bash shell) be sure to add to the path using:

echo 'export PATH="/home/david/.pyenv/versions/3.7.2/bin:$PATH"' >> /home/david/.bash_profile && source /home/david/.bash_profile

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/eb-cli3-install.html

Code commit

make sure iam username+cli account is member of codepipeline group.

Resources

sync data from Acquia

rsync -arz -essh -P thehub.prod@thehub.ssh.prod.acquia-sites.com:/var/www/html/thehubdev/docroot/sites/default/files/ ~/sources/aws-codecommit/hub-files/

rsync -arz -essh -P thehub.dev@thehubdev.ssh.prod.acquia-sites.com:/var/www/html/thehubdev/acquia-files/nobackup/ ~/sources/aws-codecommit/cob-drupal-hub/nobackup/

rsync -arz -essh -P thehub.prod@thehub.ssh.prod.acquia-sites.com:/var/www/site-php/thehub/thehub-settings.inc ~/sources/aws-codecommit/cob-drupal-hub/nobackup/

rsync -arz -essh -P thehub.prod@thehub.ssh.prod.acquia-sites.com:/var/www/site-scripts/site-info.php ~/sources/aws-codecommit/cob-drupal-hub/nobackup/

Last updated