# Prerequisites checklist

Check right before the installation that you have all that your installation path needs.

Look through this list right before you install, so that the installation does not stop half-way. Each item links to the page that explains it. Select the tab of your installation path (A set of tools and steps that installs Platforma. There are five installation paths: the AWS installer, the Google Cloud installer, the Terraform modules, the Helm chart and Single Server mode.).

## Who in the company gives what

Other teams of the company often give a part of the items. Send each group to its team as one request, and send the requests early. In a small company, one person can give all of them. For the rights of each part, see [Who usually holds which rights](/plan-permissions/#who-usually-holds-which-rights).

### Cloud account

The cloud team gives these items for the installers and the Terraform modules (The Terraform code that MiLaboratories provides to install Platforma. The cloud-specific Terraform modules make the cluster and its cloud parts in AWS or Google Cloud; the cloud-agnostic Terraform modules install Platforma into the cluster.) on AWS or Google Cloud:

- [ ] The AWS account or the Google Cloud project, with billing turned on.
- [ ] The [rights to install](/plan-permissions/#rights-to-install) of the installation path, for you or for the CI identity.
- [ ] The vCPU and GPU [quotas](/plan-permissions/#cloud-quotas) of the region.
- [ ] A budget for the [cost](/plan-sizing-and-cost/), with [what you pay all the time](/plan-sizing-and-cost/#what-you-pay-all-the-time).
- [ ] Read access to the data library (A folder or bucket with input data of the company. Users select files from it in the Desktop App. Platforma only reads it.) buckets in other accounts or projects, from the owner of each bucket: see [Access modes](/configuration-data-libraries/#access-modes).

### Cluster

The cluster administrator or the platform team gives these items for a cluster that exists:

- [ ] A cluster that meets the [Kubernetes contract](/infrastructure-contract/).
- [ ] The [rights to install](/plan-permissions/#rights-to-install) of the tab “Helm chart” or of the root `cluster` of the Terraform modules.
- [ ] The Gateway or Ingress of the [entry point](/infrastructure-contract-entry-point/).

### DNS and certificates

The team that manages the DNS of the company gives these items:

- [ ] The [host name](/configuration-domain-and-tls/#host-name-and-dns) that users type in the Desktop App (The program that each user installs on their own computer to work with Platforma. It is a client of the Backend.).
- [ ] For the installers and the Terraform modules on AWS or Google Cloud: a DNS zone in the cloud, [delegated](/install-cloud-installer/#before-you-start) from the parent zone.
- [ ] For a cluster that exists or for Single Server mode (The mode in which the Backend and all its jobs run on one Linux machine, the server, with no Kubernetes cluster.): the DNS record of the host, and the certificate with its key ([TLS at the entry point](/configuration-domain-and-tls/#tls-at-the-entry-point), [TLS on the Backend](/configuration-domain-and-tls/#tls-on-the-backend)).
- [ ] The same address for the host on the computers of users, also when they connect through the VPN.

### Sign-in

The team that manages the corporate identity provider or the directory gives these items:

- [ ] For SSO (Sign-in through the identity service of the company, with the same account as for other company systems.): a client, registered as [What to register at the identity provider](/configuration-authentication/#what-to-register-at-the-identity-provider) says, with its issuer URL and client ID.
- [ ] For [LDAP](/configuration-authentication/#ldap): the address of the server, and in search mode a bind account.
- [ ] The groups or the logins that get the [administrator role](/configuration-users-and-roles/#give-the-administrator-role), written as the token or the directory gives them.

### Network

The network team and the security team give these items:

- [ ] The computers of users reach the host of the Backend (The server program of Platforma. It keeps the projects, runs the Blocks and starts jobs.): port 443 of the entry point (The way in to the Backend from outside the cluster, a load balancer or an Ingress with a DNS name. It usually ends TLS and sends the traffic to the Backend pod.), or the ports in Single Server mode. See [Ports and endpoints](/reference-ports-and-endpoints/).
- [ ] The computers of users reach the bucket of the primary storage (The bucket (Amazon S3 or Google Cloud Storage) or folder where Platforma keeps all results and uploaded files.), also through the VPN: see [How files move](/security-data-flows/#how-files-move).
- [ ] For SSO, the computers of users reach the identity provider, and endpoint security lets the Desktop App get the sign-in (To show the Backend who you are, with a sign-in provider or a single-user token. The verb is "sign in"; the noun and the adjective are "sign-in".) answer on `127.0.0.1:8765`.
- [ ] The Backend reaches the [outbound hosts](/security-outbound-connections/), or their [mirrors](/registries-mirroring/).
- [ ] With a proxy: its address, and the host of the Backend excluded from TLS inspection. See [Proxy and custom CA](/configuration-proxy-and-custom-ca/).

### Security review

The security team reviews Platforma before the installation: send it the [Security](/security-overview/) pages.

### License

MiLaboratories gives the [license key](/configuration-license/).

## All paths

- [ ] The [installation path](/plan-choose-installation-path/#installation-paths) is chosen.
- [ ] The [size](/plan-sizing-and-cost/) is chosen: the deployment size of an installer, the nodes of a cluster, or the server.
- [ ] The [license key](/configuration-license/) from MiLaboratories.
- [ ] The [host name](/configuration-domain-and-tls/#host-name-and-dns) that users type in the Desktop App.
- [ ] The [sign-in provider](/configuration-authentication/#sign-in-providers) is chosen, with its details: the client ID and secret for [SSO](/configuration-authentication/#sso), the server and, in search mode, the bind account for [LDAP](/configuration-authentication/#ldap), or the [list of users](/configuration-authentication/#static-list-of-users).
- [ ] The logins or groups that get the [administrator role](/configuration-users-and-roles/#give-the-administrator-role).
- [ ] The data libraries, and the [access mode](/configuration-data-libraries/#access-modes) of each one.
- [ ] The [Desktop App](/install-connect-clients/) on your computer, to connect at the end.

## Your installation path

#### Variant: AWS installer

- [ ] The [rights](/plan-permissions/#rights-to-install) of the tab “AWS installer”, or an administrator of the account.
- [ ] The vCPU [quota](/plan-permissions/#cloud-quotas) of the region, and the GPU quota for GPU nodes.
- [ ] A Route 53 hosted zone of the domain, [delegated](/install-cloud-installer/#before-you-start) from the parent zone.
- [ ] The bucket: the stack makes one, or you give one that [exists](/reference-installer-parameters/#parameters).
- [ ] Access to the CloudFormation [console](/install-cloud-installer/#steps) in the region.

#### Variant: Google Cloud installer

- [ ] A Google Cloud project with [billing](/install-cloud-installer/#before-you-start) turned on.
- [ ] The role Owner, or the [roles](/plan-permissions/#rights-to-install) of the tab “Google Cloud installer”.
- [ ] A contact email for the [quota](/plan-permissions/#cloud-quotas) request, and the GPU quota for GPU nodes.
- [ ] A Cloud DNS zone in the project, [delegated](/install-cloud-installer/#before-you-start) from the parent zone.
- [ ] Access to [Cloud Shell](/install-cloud-installer/#steps).

#### Variant: Terraform modules

- [ ] The [rights](/plan-permissions/#rights-to-install) of each root, for the person or the CI identity that applies it.
- [ ] The [clone of platforma-install](/install-cloud-terraform/#where-the-modules-are) and the [secret values](/install-cloud-terraform/#secret-values).
- [ ] Network access from the computer that runs Terraform to `github.com` and `ghcr.io`, or a clone and a [chart mirror](/registries-mirroring-helm-charts/).
- [ ] [Tools](/install-cloud-terraform/#before-you-start): Terraform 1.12 or later (or OpenTofu 1.12 or later), `kubectl`, `openssl`, `htpasswd`.
- [ ] In a restricted network: [registry mirrors](/registries-mirroring/), and the [proxy and CA bundle](/configuration-proxy-and-custom-ca/).

#### Variant: AWS

- [ ] The vCPU [quota](/plan-permissions/#cloud-quotas) of the region, and the GPU quota for GPU nodes.
- [ ] A Route 53 hosted zone of the host, [delegated](/install-cloud-terraform/#before-you-start) from the parent zone.
- [ ] The [AWS CLI](/install-cloud-terraform/#before-you-start) with the credentials of the account.

#### Variant: Google Cloud

- [ ] The vCPU [quota](/plan-permissions/#cloud-quotas) of the region, and the GPU quota for GPU nodes.
- [ ] A Cloud DNS zone of the host, [delegated](/install-cloud-terraform/#before-you-start) from the parent zone.
- [ ] [`gcloud`](/install-cloud-terraform/#before-you-start) with `gke-gcloud-auth-plugin`, and both sign-ins.

#### Variant: Own cluster

- [ ] The cluster meets the [Kubernetes contract](/infrastructure-contract/); the modules add Kueue (A Kubernetes add-on that holds jobs in a queue until the cluster has free CPU, memory and GPU for them.), AppWrapper (A Kubernetes add-on that wraps the pods of one job into a single unit, so that Kueue admits and starts them together.) and the job (One run of a tool on data. The Backend starts jobs on the server where it runs, or in a Kubernetes cluster.) queues.
- [ ] The [node pools](/infrastructure-contract-jobs/#node-pools) with their labels.
- [ ] The [StorageClasses](/infrastructure-contract-storage/) of the workspace (The storage where the Backend and all jobs keep the working files of running jobs. The Backend and the jobs use it at the same time. In Kubernetes, it is a network file system; in Single Server mode, it is a folder on the server.), the database and the logs.
- [ ] The Gateway or Ingress with the certificate, and the DNS record of the [host](/infrastructure-contract-entry-point/).
- [ ] The [bucket](/configuration-storage/#primary-storage) and its access keys.

#### Variant: Helm chart

- [ ] The cluster meets the [Kubernetes contract](/infrastructure-contract/).
- [ ] [Kueue, AppWrapper](/infrastructure-contract-jobs/#kueue-and-appwrapper) and the job queues.
- [ ] The [node pools](/infrastructure-contract-jobs/#node-pools) with their labels.
- [ ] The [StorageClasses](/infrastructure-contract-storage/) of the workspace, the database and the logs.
- [ ] The Gateway or Ingress with the certificate, and the DNS record of the [host](/infrastructure-contract-entry-point/).
- [ ] The [bucket](/configuration-storage/#primary-storage) and its access keys.
- [ ] The [rights](/plan-permissions/#rights-to-install) of the tab “Helm chart”.
- [ ] The [Secrets](/infrastructure-contract-identity/#secrets) of the license, the master secret and the sign-in.
- [ ] Network access from the computer that installs Platforma to `ghcr.io`, or a clone and a [chart mirror](/registries-mirroring-helm-charts/).
- [ ] [Tools](/install-custom-infrastructure/#before-you-start): Helm, `kubectl`, `openssl`, `htpasswd`.
- [ ] In a restricted network: [registry mirrors](/registries-mirroring/), and the [proxy and CA bundle](/configuration-proxy-and-custom-ca/).

#### Variant: Single Server

- [ ] A server that meets the [Requirements of Single Server mode](/plan-single-server-requirements/).
- [ ] [Root rights](/plan-permissions/#single-server-mode) on the server, to make the system user and the service.
- [ ] Ports 6345 and 6347 [open](/security-overview/#open-ports) to the computers of the users.
- [ ] A DNS record from the host to the server, and the [certificate](/configuration-domain-and-tls/#tls-on-the-backend) with its key as PEM files.
- [ ] The disk of the [data folder](/configuration-storage/#data-folder-in-single-server-mode), or a bucket.
- [ ] [Tools](/install-single-server/#before-you-start): `curl`, `openssl`, `htpasswd`, and Docker if each job must run in its own container.
- [ ] In a restricted network: [restricted network mode](/plan-single-server-requirements/#restricted-network-mode), and the [proxy and CA bundle](/configuration-proxy-and-custom-ca/).

## Next

- [Install in cloud with installer](/install-cloud-installer/)
- [Install in cloud with Terraform](/install-cloud-terraform/)
- [Install in custom infrastructure](/install-custom-infrastructure/)
- [Install in Single Server mode](/install-single-server/)

Source: https://docs.platforma.bio/plan-prerequisites-checklist/
