Ansible setup for deploying the CCE Search Flask app
 
Go to file
Dylan DiGeronimo 90b27dca3d Add skeleton for backend playbook 2020-05-09 16:06:56 -04:00
group_vars/production Update directory name in vars 2020-04-23 17:21:35 -04:00
roles Add skeleton for backend playbook 2020-05-09 16:06:56 -04:00
.gitignore Began work on main production tasks 2019-12-11 23:20:40 -05:00
CCE-Frontend-System-Information-and-Provisioning-Guide.md Convert system info file to markdown :) 2020-04-30 16:21:33 -04:00
README.md Add skeleton for backend playbook 2020-05-09 16:06:56 -04:00
hosts Add skeleton for backend playbook 2020-05-09 16:06:56 -04:00
update-backend-prod.yml Add skeleton for backend playbook 2020-05-09 16:06:56 -04:00
update-frontend-prod.yml Restructure update-frontend-prod 2020-05-09 15:36:09 -04:00

README.md

CCE Search Ansible Setup

Pre-requisites

  1. Install ansible on your local machine
  2. Ensure you have obtained the SSH key for the EC2 instances
  3. Provision EC2 instances as needed

Frontend Server (cce.ebookfoundation.org)

For information on how to provision the EC2 instance, see CCE-Frontend-System-Information-and-Provisioning-Guide.md

Updating and redeploying

Once new changes have been added to the master branch of the frontend repo, run the update-frontend-prod playbook:

$ ansible-playbook -i hosts update-frontend-prod.yml --key-file="/path/to/key/on/your/machine"

Backend Server (ec2-18-217-39-134.us-east-2.compute.amazonaws.com)