We use Ansible & Terraform to build the correct infrastructure to run BlockScout. The playbook repository is located at https://github.com/poanetwork/blockscout-terraform.
In the root folder you will find Ansible Playbooks to create all necessary infrastructure to deploy BlockScout. The
lambda folder also contains a set of scripts that may be useful in your BlockScout infrastructure.
Deploying the Infrastructure. This section describes all the steps to deploy the virtual hardware that is required for production instance of BlockScout. Skip this section if you do have an infrastructure and simply want to install or update your BlockScout.
Deploying BlockScout. Follow this section to install or update your BlockScout instance.
Destroying Provisioned Infrastructure. Refer to this section if you want to destroy your BlockScout installation.