Skip to main content

Provisioning (creating)

Via Laravel Forge

When provisioning a server via Laravel Forge, make sure to do the following:

  1. Give it a name in the following syntax: '[clientname]-[environment]'. For example: silo-acceptance.
  2. Select DigitalOcean as the hosting provider.
  3. Make sure to select a suitable Laravel Forge Circle (user group) to add it to.
  4. Carefully consider the best region to host the server.
  5. Choose a VPC (Virtual Private Cloud; a private network) suited to the client and environment, which should have the syntax 'vpc-[clientname]-[environment]'. For example: vpc-silo-acceptance. If no suitable one exists, navigate to DigitalOcean to create it first and restart the server creation process in Laravel Forge.
  6. Choose appropriate specs for the server. Upsizing it later is easier than downsizing.
  7. Consider which dependencies (e.g. PHP / Database server) should be installed, and disable ones that are not needed.
  8. Enable the weekly DigitalOcean backups options.
  9. 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.)

After creation:

  1. Navigate to the Warpgate (https://warpgate.pnct.nl) and add the new server there (see Configuring a server in the Warpgate).
  2. Navigate to DigitalOcean and configure the firewall (see Configuring firewalls for DigitalOcean servers).
  3. Navigate to New Relic and connect the new server there (see Configuring a server in NewRelic).

Via DigitalOcean

TBA