Build SageMaker Unified Studio with Terraform, all in code!
Hey there, it's me, Shii-chan! Today I found an update that could finally free us from clicking through setup by hand, and I'm so happy I just had to share it.
AWS What's NewWhat was announced?
According to the AWS What's New, Amazon SageMaker Unified Studio now supports provisioning with Terraform. That means you can deploy your SageMaker Unified Studio domains from version-controlled Infrastructure as Code templates.
There's an official open-source module, terraform-aws-sagemaker-unified-studio, so you can manage domain creation entirely as code.
The story so far
Until now, setting up a SageMaker Unified Studio domain mostly meant console clicks and one-off work. Keeping dev, staging, and production in sync, or reproducing the same setup across a team, took a fair bit of effort.
What changes
Platform teams can now fold SageMaker Unified Studio into the Terraform pipelines they already use. You review it as code and redeploy the same configuration as many times as you like, so your dev, staging, and production environments stay consistent. If manual setup was wearing you down, this is a lovely change.
Dive Deep
Here's what the module can do, straight from the announcement:
- Enable blueprints and create project profiles via sub-modules
- Provision IAM roles automatically, or use existing roles
- Keep consistency across development, staging, and production environments
This also pairs nicely with quickly adopting new AWS features through the Terraform AWS Cloud Control Provider. If you're curious how it works, check out the Terraform AWS Cloud Control Provider post.
It's available in all AWS Regions where Amazon SageMaker Unified Studio is available. For the details, everything is in the Amazon SageMaker Unified Studio documentation.
Wrap-up
- Amazon SageMaker Unified Studio now supports Terraform provisioning (via the AWS What's New)
- The official terraform-aws-sagemaker-unified-studio module lets you manage domains as code
- Supports enabling blueprints, creating project profiles, and auto/existing IAM roles
- Available in all Regions where SageMaker Unified Studio is offered
This one is a great fit for platform teams who want tight IaC control, and for MLOps folks who keep rebuilding SageMaker Unified Studio!