Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,16 @@ The project uses [CDK pipelines](https://docs.aws.amazon.com/cdk/v2/guide/cdk_pi
### 2.1. Prerequisites

- Store the credentials for programmatic access to mlflow model registry, either as a User name/password or as application token, into AWS Secrets Manager in the same region where the stack is to be deployed
- For example
```
{
"DATABRICKS_HOST" : "https://<instance-name>.cloud.databricks.com",
"DATABRICKS_TOKEN” : "<password-or-token>”
}
```
- Create a CodeCommit repository in the same region where the stack is to be deployed
- [Optional] An [Amazon SageMaker Studio domain](https://docs.aws.amazon.com/sagemaker/latest/dg/gs-studio-onboard.html) in the same region where the stack is to be deployed. Studio offers a convenient environment visualize model in SageMaker model registry and the associated endpoints.
- An [Amazon SageMaker Studio domain](https://docs.aws.amazon.com/sagemaker/latest/dg/gs-studio-onboard.html) in the same region where the stack is to be deployed. Studio offers a convenient environment visualize model in SageMaker model registry and the associated endpoints.
- Note: Technically an active domain is not necessary as long as one has been created previously. The project uses roles that are created with your first domain

### 2.2. Create the Service Catalog product and the Registry Sync Application

Expand Down
870 changes: 452 additions & 418 deletions poetry.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ authors = [""]
python = ">=3.9,<3.12"
aws-cdk-lib = "^2.20.0"
constructs = "^10.0.115"
"aws-cdk.aws-lambda-python-alpha" = "^2.20.0-alpha.0"
"aws-cdk.aws-lambda-python-alpha" = "^2.46.0a0"
cdk-ecr-deployment = "^2.5.5"
mlflow-skinny = "^1.28.0"

Expand All @@ -28,6 +28,9 @@ xgboost = "1.5"
sagemaker-inference = "1.5.5"
mlflow-skinny = "^1.28.0"

[tool.poetry.group.dev.dependencies]
git-remote-codecommit = "^1.16"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
76 changes: 38 additions & 38 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
attrs==21.4.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.5.0"
aws-cdk-lib==2.39.1; python_version >= "3.7" and python_version < "4.0"
aws-cdk.aws-lambda-python-alpha==2.39.1a0; python_version >= "3.7" and python_version < "4.0"
cattrs==22.1.0; python_version >= "3.7" and python_version < "4.0"
cdk-ecr-deployment==2.5.5; python_version >= "3.7" and python_version < "4.0"
certifi==2022.6.15; python_version >= "3.7" and python_version < "4"
charset-normalizer==2.1.1; python_version >= "3.7" and python_version < "4" and python_full_version >= "3.6.0"
click==8.1.3; python_version >= "3.7"
cloudpickle==2.1.0; python_version >= "3.7"
colorama==0.4.5; python_version >= "3.7" and python_full_version < "3.0.0" and platform_system == "Windows" or platform_system == "Windows" and python_version >= "3.7" and python_full_version >= "3.5.0"
constructs==10.1.92; python_version >= "3.7" and python_version < "4.0"
databricks-cli==0.17.3; python_version >= "3.7"
entrypoints==0.4; python_version >= "3.7"
exceptiongroup==1.0.0rc9; python_version >= "3.7" and python_version <= "3.10"
gitdb==4.0.9; python_version >= "3.7"
gitpython==3.1.27; python_version >= "3.7"
idna==3.3; python_version >= "3.7" and python_version < "4"
importlib-metadata==4.12.0; python_version >= "3.7"
jsii==1.66.0; python_version >= "3.7" and python_version < "4.0"
mlflow-skinny==1.28.0; python_version >= "3.7"
oauthlib==3.2.1; python_version >= "3.7"
packaging==21.3; python_version >= "3.7"
protobuf==3.20.2; python_version >= "3.7"
publication==0.0.3; python_version >= "3.7" and python_version < "4.0"
pyjwt==2.4.0; python_version >= "3.7"
pyparsing==3.0.9; python_full_version >= "3.6.8" and python_version >= "3.7"
python-dateutil==2.8.2; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.3.0"
pytz==2022.2.1; python_version >= "3.7"
pyyaml==6.0; python_version >= "3.7"
requests==2.28.1; python_version >= "3.7" and python_version < "4"
six==1.16.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.3.0" and python_version >= "3.7" and python_version < "4.0"
smmap==5.0.0; python_version >= "3.7"
sqlparse==0.4.2; python_version >= "3.7"
tabulate==0.8.10; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
typeguard==2.13.3; python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.5.3"
typing-extensions==4.3.0; python_version >= "3.7" and python_version < "4.0"
urllib3==1.26.12; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7"
zipp==3.8.1; python_version >= "3.7"
attrs==22.1.0 ; python_version >= "3.9" and python_version < "3.12"
aws-cdk-aws-lambda-python-alpha==2.46.0a0 ; python_version >= "3.9" and python_version < "3.12"
aws-cdk-lib==2.46.0 ; python_version >= "3.9" and python_version < "3.12"
cattrs==22.1.0 ; python_version >= "3.9" and python_version < "3.12"
cdk-ecr-deployment==2.5.6 ; python_version >= "3.9" and python_version < "3.12"
certifi==2022.9.24 ; python_version >= "3.9" and python_version < "3.12"
charset-normalizer==2.1.1 ; python_version >= "3.9" and python_version < "3.12"
click==8.1.3 ; python_version >= "3.9" and python_version < "3.12"
cloudpickle==2.2.0 ; python_version >= "3.9" and python_version < "3.12"
colorama==0.4.5 ; python_version >= "3.9" and python_version < "3.12" and platform_system == "Windows"
constructs==10.1.131 ; python_version >= "3.9" and python_version < "3.12"
databricks-cli==0.17.3 ; python_version >= "3.9" and python_version < "3.12"
entrypoints==0.4 ; python_version >= "3.9" and python_version < "3.12"
exceptiongroup==1.0.0rc9 ; python_version >= "3.9" and python_version <= "3.10"
gitdb==4.0.9 ; python_version >= "3.9" and python_version < "3.12"
gitpython==3.1.29 ; python_version >= "3.9" and python_version < "3.12"
idna==3.4 ; python_version >= "3.9" and python_version < "3.12"
importlib-metadata==4.13.0 ; python_version >= "3.9" and python_version < "3.12"
jsii==1.69.0 ; python_version >= "3.9" and python_version < "3.12"
mlflow-skinny==1.29.0 ; python_version >= "3.9" and python_version < "3.12"
oauthlib==3.2.1 ; python_version >= "3.9" and python_version < "3.12"
packaging==21.3 ; python_version >= "3.9" and python_version < "3.12"
protobuf==3.20.3 ; python_version >= "3.9" and python_version < "3.12"
publication==0.0.3 ; python_version >= "3.9" and python_version < "3.12"
pyjwt==2.5.0 ; python_version >= "3.9" and python_version < "3.12"
pyparsing==3.0.9 ; python_version >= "3.9" and python_version < "3.12"
python-dateutil==2.8.2 ; python_version >= "3.9" and python_version < "3.12"
pytz==2022.4 ; python_version >= "3.9" and python_version < "3.12"
pyyaml==6.0 ; python_version >= "3.9" and python_version < "3.12"
requests==2.28.1 ; python_version >= "3.9" and python_version < "3.12"
six==1.16.0 ; python_version >= "3.9" and python_version < "3.12"
smmap==5.0.0 ; python_version >= "3.9" and python_version < "3.12"
sqlparse==0.4.3 ; python_version >= "3.9" and python_version < "3.12"
tabulate==0.9.0 ; python_version >= "3.9" and python_version < "3.12"
typeguard==2.13.3 ; python_version >= "3.9" and python_version < "3.12"
typing-extensions==4.4.0 ; python_version >= "3.9" and python_version < "3.12"
urllib3==1.26.12 ; python_version >= "3.9" and python_version < "3.12"
zipp==3.9.0 ; python_version >= "3.9" and python_version < "3.12"