aws-samples / sagemaker-custom-project-templates

MIT No Attribution
214 stars 155 forks source link

June Release for mlops-multi-account-cdk #74

Closed ViktorMalesevic closed 1 year ago

ViktorMalesevic commented 1 year ago

Description of changes:

Note for "deploy SageMaker (batch) pipeline" template: We used the approach to promote SageMaker Pipeline definitions “body” as a json file to preprod and prod via the artefacts bucket, store the s3 location in SSM, and use CDK in the deploy repository to generate a SageMaker Pipeline via infrastructure as code using the json “body”. This allows for a clear separation of responsibilities and avoid repeated code between the “build” and “deploy” repositories. Limitation: SageMaker Pipeline does not accept to be passed roles and networking via sagemaker.workflow.parameters (SM pipeline inputs parameters), so the roles and networking passed to the pipeline for preprod and prod need to happen via string replacement in the SM Pipeline’s json body. (workaround)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.