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.
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
The cognito_stack.py
file
To deploy the CDK Stacks that have been defined, run the following command:
cdk deploy --all
Any Stacks created as part of the CDK App can be deleted using the following command:
cdk destroy --all