Via Laravel Forge
When provisioning a server via Laravel Forge, make sure to do the following:
- Consider the best region to create the server in.
- Choose a suitable VPC (Virtual Private Cloud) for the server, which means one specific to the client and environment (e.g. vpc-silo-acceptance). This field may be labelled 'Private network' in Laravel Forge. If no suitable one exists, navigate to DigitalOcean to create it first and restart the server creation process in Laravel Forge afterwards.
- Choose appropriate specs for the server. Upsizing it later is easier than downsizing.
- Consider which dependencies (e.g. PHP / Database server) should be installed, and disable ones that are not needed.
- Enable the weekly DigitalOcean backups options.
- Create a Server item in 1Password, in the appropriate safe. Make sure to name it '[servername] DO' (DO indicating DigitalOcean) and to include the following details: IP-address and all login credentials presented by Laravel Forge during the creation process (e.g., the password for Linux user forge, the database server password, etc.)
- Navigate to the Warpgate (https://warpgate.pnct.nl) and add the new server there. Make sure to place it in the appropriate group.
- Navigate to DigitalOcean and configure the firewall (see the corresponding chapter of this book)
- Navigate to Newrelic and connect the new server there.