/kubeflow-cognito-infra

AWS infrastructure for the kubeflow-cognito pattern using the AWS CDK

Primary LanguagePython

Kubeflow Cognito Infrastructure

The following project demonstrates the process of deploying the infrastructure needed for a Kubeflow deployment on Amazon Elastic Kubernetes Service (EKS). This project makes use of the AWS Cloud Development Kit (CDK), an open source software development framework that supports cloud application resources development using programming languages like Python, Java and TypeScript. This project defines the CDK Stacks and App using Python.

Prerequisites

1. CDK Environment Setup

To setup a Python-based CDK environment, the following guide is especially useful. Once the virtual enviroment is set up, the AWS Construct Library modules dependencies needed can be installed using the requirements.txt file like so:

python -m pip install -r requirements.txt

2. Deploy CDK Stacks

The cognito_stack.py file To deploy the CDK Stacks that have been defined, run the following command:

cdk deploy --all

3. Resource Cleanup

Any Stacks created as part of the CDK App can be deleted using the following command:

cdk destroy --all

Additional Resources