domino logo
Latest (5.5)
  • About Domino
  • Architecture
  • Security and Compliance
  • Domino Infrastructure
  • Kubernetes Infrastructure
  • Installation
  • Data Planes
  • Execution Resources
  • Users
  • Keycloak Authentication Service
  • Data
  • Projects
  • Environments
  • Model Monitoring
  • Control Center
  • Logs and Monitoring
  • Backup and Restore
  • Disaster Recovery
  • Configuration Reference
  • Run the Admin Toolkit
  • MongoDB Console
  • Get Help
domino logo
About Domino
Domino Data LabKnowledge BaseData Science BlogTraining
Admin Guide
>
Installation
>
Amazon Web Services (AWS) Deployments
>
Provision Infrastructure and Runtime Environment

Provision Infrastructure and Runtime Environment

Important

This topic describes how to provision infrastructure with Amazon Web Services Cloud Development Kit (AWS CDK). After the infrastructure is in place, you can deploy Domino on Amazon Elastic Kubernetes Service (EKS).

  1. Install aws-cdk:

    npm install -g aws-cdk@1.187.0
  2. Clone the Domino CDK EKS stack:

    git clone https://github.com/dominodatalab/cdk-cf-eks.git
    cd cdk-cf-eks/cdk
  3. Install packages:

    python3 -m venv .venv
    source .venv/bin/activate
    pip install -r requirements.txt
    Note
  4. Use environment variables to set the values of IDs, names, and labels.

    export DEPLOY_NAME=<Name of deployment>
    export AWS_REGION=<The region to deploy the resources>
    export AWS_ACCOUNT_ID=<Your AWS account ID>
    Important
  5. If you haven’t configured your workstation with your credentials, run aws configure.

  6. Enter the required parameters and run the following command to generate the configuration for the CDK:

    ./util.py generate_config_template \
        --name $DEPLOY_NAME  \
        --aws-region $AWS_REGION \
        --aws-account-id $AWS_ACCOUNT_ID \
        --acm-cert-arn <The Amazon Resource Name (ARN) of the cert for your domain> \
        --hostname <Your domain name> \
        --bastion --private-api --keypair-name <Your keypair name> \
        --registry-username <`quay.io` username provided by Domino> \
        --registry-password <`quay.io` password provided by Domino> > ./config.yaml
  7. Run cdk deploy.

Note
Domino Data LabKnowledge BaseData Science BlogTraining
Copyright © 2022 Domino Data Lab. All rights reserved.