Deployment#

Deploying an instance of the Data Safe Haven involves the following steps:

  • Configuring the context used to host the Pulumi backend infrastructure

  • Configuring the Microsoft Entra directory where you will manage users

  • Deploying the Safe Haven management component

  • Deploying a Secure Research Environment for each project

Requirements#

Install the following requirements before starting

Docker Hub#

The Data Safe Haven uses several public Docker images. As Docker Hub now imposes rate limits on anonymous downloads, you will need to use a Docker Hub account to deploy the Data Safe Haven. You can create one following the instructions here if you do not already have one.

Important

We recommend using a personal access token (PAT) with Public Repo Read-Only permissions rather than your Docker account password. See the instructions here for details of how to create a PAT.

Install the project#

  • Download or checkout the latest supported version of this code from GitHub.

  • Enter the base directory and install Python dependencies with hatch by doing the following:

$ hatch run true