Installer parameters
Look up the parameters of the CloudFormation stack and the questions and environment variables of install.sh.
The installer of MiLaboratories takes all its settings as the parameters of the
CloudFormation stack on AWS, and as the answers to install.sh on Google Cloud. For the
steps of a first installation, with the main parameters, see
Install in cloud with installer.
Parameters
The CloudFormation console shows the parameters of the stack in groups, in this order. Three parameters are necessary: Domain name, Route53 hosted zone ID and Platforma license key. All others have defaults.
| Parameter | What it sets | Default and limits |
|---|---|---|
Cluster name (ClusterName) |
The name of the EKS cluster and the prefix of the other resources | platforma-cluster; 1 to 25 lowercase letters, digits and hyphens |
Platforma namespace (PlatformaNamespace) |
The KubernetesKubernetes — A system that runs programs on a group of machines (a cluster). Platforma can run in a Kubernetes cluster. Glossary namespace of Platforma | platforma |
VPC ID (VpcId) |
A VPC that exists | Empty: the stack makes a new VPC |
Private subnet IDs, Public subnet IDs (PrivateSubnetIds, PublicSubnetIds) |
The subnets of the VPC that exists: exactly 3 of each, one in each zone | ,,: keep this value for a new VPC |
VPC CIDR (VpcCidr) |
The address range of a new VPC | 10.0.0.0/16 |
Domain name (DomainName) |
The domain that users type in the Desktop AppDesktop App — The program that each user installs on their own computer to work with Platforma. It is a client of the Backend. Glossary | Necessary |
Route53 hosted zone ID (HostedZoneId) |
The zone of the domain, for example Z0123456789ABCDEF |
Necessary |
Deploy Platforma (DeployPlatforma) |
false makes only the infrastructure and the cluster services |
true |
Platforma license key (LicenseKey) |
The license key | Necessary when Deploy Platforma is true |
Platforma chart version (PlatformaVersion) |
A fixed version of Platforma, for example 5.0.6 |
Empty: the version of the template |
Custom container image, Custom Helm chart OCI reference (PlatformaImage, PlatformaHelmChart) |
Another image of the BackendBackend — The server program of Platforma. It keeps the projects, runs the Blocks and starts jobs. Glossary, another chart (oci://…) |
Empty: the image and the chart of MiLaboratories |
Deployer asset base URL (DeployerAssetBaseUrl) |
The location of the files of the installer | Keep it empty |
Secrets revision (SecretsRevision) |
Applies a changed secret parameter. In the update that changes a secret value, set a larger number | 1; digits only. Keep 1 on a new stack |
Also allow local htpasswd logins (EnableLocalUsers) |
A static list of usersstatic list of users — A sign-in provider that is a file with the logins and the password hashes of the users, in the htpasswd format. The Backend reads it again when it changes. Glossary, for example an account for when the corporate identity provider or LDAPLDAP — The directory of users of a company. The Backend can check logins and passwords in it. Glossary directory is not available | false |
Show the list of users to all users (ShowUserList) |
false: only administrators can see the list of users |
true |
Admin logins (AdminUsers) |
The logins that get the administrator roleadministrator role — The role in the Backend that can read and change the data of all users and run the pl-cli administrator commands. The operator sets rules that give it to users by login, group or attribute. Glossary, on all sign-in providerssign-in provider — A configured way for users to sign in to the Backend: single sign-on (SSO), LDAP or a static list of users. One Backend can have more than one. Glossary: regular expressions that must match the whole login, separated with ;. Escape a dot: alice@example\.com |
Empty |
htpasswd file content (HtpasswdContent) |
The static list of users, one htpasswd line each |
Empty: one user platforma with a password in Parameter Store; at most 4,096 characters (about 45 users) |
LDAP server URL (LdapServer) and the other LDAP parameters |
Sign-insign 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". Glossary with LDAP. Set the bind DN template (LdapBindDN), or the search rules, the search user and its password: not both |
Empty: no LDAP |
Google OAuth client ID and secret (GoogleClientId, GoogleClientSecret) |
Sign-in with Google: the stack needs both | Empty: no Google |
Entra OIDC issuer URL, Entra tenant GUID, Entra application (client) ID (EntraIssuer, EntraTenantId, EntraClientId) |
Sign-in with Microsoft Entra ID: the client ID and the issuer URL (or the tenant ID) | Empty: no Entra ID |
Deployment size (DeploymentSize) |
The largest jobjob — One run of a tool on data. The Backend starts jobs on the server where it runs, or in a Kubernetes cluster. Glossary and how many jobs run at the same time | small; small, medium, large or xlarge |
EnableGpu |
GPU node groups, where the region offers GPUs | true |
System node AZ suffix (SystemNodeAZ) |
The zone of the Backend node and of its disks | a; a, b or c |
S3 bucket name (S3BucketName) |
The bucket of the primary storageprimary storage — The bucket (Amazon S3 or Google Cloud Storage) or folder where Platforma keeps all results and uploaded files. Glossary | Empty: a new name platforma-<cluster name>-<random> |
IAM policy ARNs for job pods (JobsPolicyArns) |
IAM managed policies for the identity of the jobs, separated with commas. The jobs do not need access to the buckets: the Backend moves all data | Empty: the jobs do not get AWS rights |
Enable MiLaboratories demo data librarydata library — A folder or bucket with input data of the company. Users select files from it in the Desktop App. Platforma only reads it. Glossary (EnableDemoLibrary) |
The read-only demo data of MiLaboratories | true |
Library 1 to 3: name, S3 bucket name, S3 region, access key, secret key (DataLibrary1Name … DataLibrary3SecretKey) |
Up to 3 S3 buckets as data libraries. Without keys, the Backend reads a bucket of the same account with its cloud identitycloud identity — The identity that the cloud gives to the Platforma pod (IAM roles for service accounts on AWS, Workload Identity on Google Cloud). With it, Platforma needs no access keys. Glossary | Empty: no library; region empty: the region of the stack |
Existing stacks only (AuthMethod) |
Keep it empty | Empty |
The secret parameters are LicenseKey, HtpasswdContent, LdapSearchPassword,
GoogleClientSecret, and the access keys and secret keys of the data libraries. The console and
the API show **** for them. The stack keeps each value in a Secrets Manager secret
platforma/<cluster name>/<stack ID>/<name>, and the deployer reads it from there. The deployer
does not get the values themselves. Thus a changed value takes effect only when SecretsRevision
also gets a larger number in the same update. The access key IDs are not kept in Secrets Manager.
The stack deletes these secrets when it is deleted.
For the sign-in providers and the administrator role, see Authentication and Users and roles. Google and Entra ID need an application in the identity provider of the company first.
The installer asks these questions in this order. To give an answer before you start, set its
environment variable, for example export DEPLOYMENT_SIZE=medium: the installer then does not ask
it.
| Question | Environment variable | Default and limits |
|---|---|---|
| Deployment name | DEPLOYMENT_NAME |
platforma; at most 17 lowercase letters, digits and hyphens |
| IM deployment region: the region of the Infrastructure Manager deployments | IM_LOCATION |
europe-west1 |
| GCP region for the cluster | REGION |
europe-west1 |
| Zone suffix for zonal resources | ZONE_SUFFIX |
b; a, b, c or d |
| Deployment size | DEPLOYMENT_SIZE |
small; small, medium, large or xlarge |
| Cloud DNS zone and subdomain: the installer lists the zones of the project | DNS_ZONE_NAME and DOMAIN_NAME (the full domain), both together |
Subdomain: the deployment name |
| Email for quota and notification mail | CONTACT_EMAIL |
The account of gcloud |
| Platforma license key: the installer checks it with the license service | LICENSE_KEY |
Necessary |
| SSOsingle sign-on — Sign-in through the identity service of the company, with the same account as for other company systems. Glossary source | SSO_PROVIDER, and GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET, or ENTRA_TENANT_ID and ENTRA_CLIENT_ID, or OIDC_ISSUER (https:// only) and OIDC_CLIENT_ID |
none; none, google, entra or oidc |
For the oidc provider only: the scopes (separated with spaces), the resource or audience, the prompt, the claim of the user ID and the claim of the groups |
OIDC_SCOPES, OIDC_RESOURCE, OIDC_PROMPT (none, login, consent or select_account), OIDC_USER_ID_CLAIM, OIDC_GROUPS_CLAIM |
Empty: optional. The user ID claim is sub by default |
| LDAP server URL | LDAP_SERVER, then LDAP_START_TLS, and LDAP_BIND_DN or LDAP_SEARCH_RULES, LDAP_SEARCH_USER and LDAP_SEARCH_PASSWORD |
Empty: no LDAP |
| Your own htpasswd user file | ENABLE_LOCAL_USERS and HTPASSWD_FILE (the path of the file) |
false; with true, the file is necessary |
Admin logins on the SSO, LDAP and local source: regular expressions that must match the whole login, separated with ;. Escape a dot: alice@example\.com |
SSO_ADMIN_USERS, LDAP_ADMIN_USERS, LOCAL_ADMIN_USERS |
Empty; asked only for a source that is on |
| Enable MiLaboratories demo data library | ENABLE_DEMO |
true |
| Number of additional data libraries, then for each: name, type, bucket, path prefix (and for S3: region, access key, secret key) | DATA_LIBRARY_COUNT, LIB_<N>_NAME, LIB_<N>_TYPE, LIB_<N>_BUCKET, LIB_<N>_PREFIX, LIB_<N>_REGION, LIB_<N>_ACCESS_KEY, LIB_<N>_SECRET_KEY |
0, up to 3; type gcs (or s3) |
For a bucket in another project, give the service account
platforma-server@<project>.iam.gserviceaccount.com the role roles/storage.objectViewer on
the bucket before you run the installer. For the sign-in providers and the administrator role,
see Authentication and
Users and roles.
The installer does not ask these settings: set them as environment variables when you need them.
| Environment variable | What it sets | Default |
|---|---|---|
PROJECT_ID |
The Google Cloud project of the installation | The active project of gcloud |
SHOW_USER_LIST |
false: only administrators see the list of users |
true |
ENABLE_GPU |
false: no GPU nodes and no GPU quota requests |
true |
ENABLE_QUOTA_AUTO_REQUEST |
false: the installer does not ask Google for quotas |
true |
DNS_ZONE_PROJECT |
The project of the Cloud DNS zone, when it is not the project of the installation; set it with DNS_ZONE_NAME and DOMAIN_NAME |
The project of the installation |
DATA_LIBRARIES_JSON |
All data libraries as one JSON list, in place of the questions, for example [{"name":"lib","type":"gcs","bucket":"my-bucket"}] |
Empty |
ASSUME_YES |
true: no confirmation questions |
Empty |
RESOURCE_NAME_PREFIX |
The start of the names of the VPC, the service account of the Backend and the image cache in Artifact Registry. Set a different value for each installation when several installations share one project: otherwise their names are the same. Keep the value of the first installation: a change makes new resources | platforma |
HELM_CHART_REPOSITORY |
An OCI registry with the Helm chart platforma, for example <region>-docker.pkg.dev/<project>/<repository>, in place of the chart of the release tag |
Empty: the chart of the release tag |
PLATFORMA_CHART_VERSION |
The version of the Helm chart that the installer takes from HELM_CHART_REPOSITORY. Without HELM_CHART_REPOSITORY, the installer does not use it |
Empty: the latest version in the registry |
Outputs of the AWS stack
The stack shows its outputs on the tab Outputs of the CloudFormation console:
| Output | What it gives |
|---|---|
PlatformaUrl |
The address for the Desktop App |
AdminUsername, AdminPasswordSSMConsole |
The administrator login (platforma) and a link to its password |
DefaultUsername, UsersPasswordSSMConsole |
Only with a static list of users and an empty HtpasswdContent: the user platforma and its password |
ClusterName, Region |
The cluster, for aws eks update-kubeconfig --name <ClusterName> --region <Region> |
S3BucketOutput |
The bucket of the primary storage |
HelmDeployerBuildProject, PlatformaDeployerBuildProject |
The CodeBuild projects that install the cluster services and Platforma, with their logs |
Settings and their parameters
The Configuration pages describe the Terraform modulesTerraform 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. Glossary, the Helm chart platforma-backend and
Single Server modeSingle Server mode — The mode in which the Backend and all its jobs run on one Linux machine, the server, with no Kubernetes cluster. Glossary. For an installation made with an installer, each setting has a parameter of the
AWS stack and an environment variable of install.sh:
| Setting | AWS parameter | Google Cloud variable |
|---|---|---|
| Sign-in providers | GoogleClientId, GoogleClientSecret, EntraIssuer, EntraClientId, LdapServer and the other LDAP parameters, EnableLocalUsers |
SSO_PROVIDER and its variables, LDAP_SERVER and the other LDAP variables, ENABLE_LOCAL_USERS |
| Static list of users | HtpasswdContent |
HTPASSWD_FILE |
| Administrators | AdminUsers |
SSO_ADMIN_USERS, LDAP_ADMIN_USERS, LOCAL_ADMIN_USERS |
| Who can see the list of users | ShowUserList |
SHOW_USER_LIST |
| License key | LicenseKey |
LICENSE_KEY |
| Data libraries | EnableDemoLibrary, DataLibrary1Name … DataLibrary3SecretKey |
ENABLE_DEMO, DATA_LIBRARY_COUNT and LIB_<N>_…, or DATA_LIBRARIES_JSON |
| Deployment size | DeploymentSize |
DEPLOYMENT_SIZE |
| GPU nodes | EnableGpu |
ENABLE_GPU |
| Cloud rights of the jobs | JobsPolicyArns. Empty by default: the jobs do not get AWS rights |
None: the jobs do not get a service account |
| Version of Platforma | PlatformaVersion, or a new template: see Upgrade |
The release tag of the folder: see Upgrade |
To change a setting, run the installer again with the new value: see Change settings of an installer installation.