Skip to content

Stand by Servers

Dave Wong edited this page Dec 7, 2020 · 1 revision

How to bring up a stand by server

On AWS currently soapbox-web-006, soapbox-web-007 and soapbox-web-008 are offline. To bring one of these servers back online:

  • Start the instance on the AWS EC2 console
  • Log into Forge and go to the server then go to the server's meta page and update the external IP of the server with the new external IP from AWS
  • Make sure the internal IP is the same (it usually is)
  • Log into Envoyer
    • For each project this server belongs to
      • Go to the project
      • Click Servers
      • Find the server and click the pencil to edit it
      • Update the Project Path, IP Address, enable Receives Code Deployments, disable Reload FPM After Deployments
      • Add the server to the necessary deployment hooks
      • Resync the environment to the server
      • Redeploy code for the project
  • Go back to forge and go to the load balancer
  • For each site the server belongs to add the server to the list of balanced servers for that site.