AWS Training
Modules Listen Certification

← SageMaker Unified Studio Foundations — The AWS Homework

Starts this lesson and continues through 12 more to the end of the course.

From homework to decisions — what the three documents leave open

Three documents, three different deployments

The homework reads like one story. It is three: a console quick setup written during preview (H1, 13 Feb 2025), a single-account Terraform build (H2, 11 Nov 2026), and a multi-account MLOps reference (H3). They disagree on identity, network, accounts and tooling.

Decide which of the three you are building before anyone touches an account: the identity choice is documented as permanent, and the only way back from a wrong domain is a deletion that is final.

Lessons 1 to 5 own the detail. This lesson lists the decisions, adds current facts the homework omits, and tabulates the disagreements. In tables, every linked page was fetched 2026-11-19.

The eight decisions, in the order they bind

1. Identity mode — the one-way door

H2's sample variables carry this comment on enable_sso: "This is a one way door decision. If you change this later on the domain and all dependent resources need to be destroyed and recreated" (H2, Step 2). The module maps the flag onto the domain's single_sign_on block: type is "IAM_IDC" when true and "DISABLED" when false, with user_assignment = "AUTOMATIC" when true (main.tf, verified 2026-11-19). Those are the API's enum values: SingleSignOn.type is IAM_IDC | DISABLED and userAssignment is AUTOMATIC | MANUAL (SingleSignOn, verified 2026-11-19).

The admin guide confirms half of it. After choosing IAM Identity Center or SAML and an assignment method, "These settings cannot be changed once you save them" (managing users, verified 2026-11-19).

⚠️ The other half is contested. UpdateDomain accepts a singleSignOn object (UpdateDomain), and the admin guide has a procedure to "Connect" an IAM-based domain to Identity Center after creation (SSO for IAM-based domains, both verified 2026-11-19). So off-to-on looks possible in the service; H2 says it forces a rebuild in the module. I could not verify which is right for a Terraform-managed domain — check the aws_datazone_domain resource documentation, or run terraform plan after flipping the flag in a sandbox.

⚠️ I could not verify how AUTOMATIC | MANUAL map to the console's "Require assignments" and "Do not require assignments". The module hardcodes AUTOMATIC. Ask before applying.

⚠️ Defaults differ from the blog. enable_sso defaults to false in both the root module and the quick-setup example (variables.tf, verified 2026-11-19); H2's walkthrough sets it to true. Omit the line and you have chosen.

2. Domain type

The current docs describe "two distinct domain types": Identity Center-based and IAM-based (domains, verified 2026-11-19). H1 knows only the first; it lists enabling IAM Identity Center as a prerequisite (H1, Prerequisites).

Identity Center-based IAM-based
Sign-in SSO "and also support IAM credentials" A Login IAM role and an Execution IAM role
How many Not stated "Only one IAM-based domain is available per AWS Account" (domains); "per AWS Account per region" (IAM-based) ⚠️
Blueprints Blueprints tab, project profiles "IAM-based domains and projects do not display the Blueprints tab" (Quick Sight page)
VPC "a VPC per Region" "only one VPC configuration at a time" (network settings)
Lake Formation Not stated The admin Execution role "will automatically be assigned AWS Lake Formation administrator permission" (overview)

⚠️ I could not verify whether a module domain with enable_sso = false is what the admin guide calls an IAM-based domain. The module still enables blueprints and builds profiles on it, which the admin guide says IAM-based domains do not show. Ask AWS.

Either way the API object is the same: aws datazone create-domain with domainVersion V2. The module hardcodes domain_version = "V2" with the comment "Hardcoded to V2 for SageMaker Unified Studio" (main.tf, CreateDomain, verified 2026-11-19).

3. One account or several

Source Layout
H1 Single account in the walkthrough; multi-account in the appendix, by association over AWS RAM
H2 Single account. "Currently, only IAM principals within the same AWS account as the domain can access the Amazon SageMaker Unified Studio portal"
H3 Governance, AI Shared Services, and Project A DEV, TEST and PROD accounts

The current docs add a reason H1 and H2 never mention. When a Git connection is enabled, "all users who can sign in to any domain in the account have read and write access to all repositories on that connection … There is no repository-level isolation within a single account. To enforce isolation between repositories, use separate AWS accounts" (Git connections, verified 2026-11-19).

Also new since H1: account pools, "a list of authorized associated accounts and regions" resolved "at project creation time" (account pools, verified 2026-11-19).

4. VPC

Source What it does
H1 Create VPC launches a CloudFormation stack with "private and public subnets"; keep useVpcEndpoints as false; the domain "automatically selects the VPC and private subnets"
H2 "If you don't specify vpc_id and subnet_ids, the module automatically discovers and uses your default VPC and its subnets"
Module root README "Only vpc_id and subnet_ids are required"
Admin guide "Your subnets must be private or some functionality will not be available"

⚠️ H2's shortcut collides with the admin guide. "A default VPC comes with a public subnet in each Availability Zone" (default VPC, verified 2026-11-19). Pass vpc_id and private subnet_ids explicitly.

Requirements: "At least 2 private subnets in different Availability Zones", DNS hostname and DNS support, "At least 5 free IP addresses per Amazon SageMaker Unified Studio project" (network settings). ⚠️ The profile pages say "at least 3 subnets in different Availability Zones that contain required VPC Endpoints" (SQL analytics, both verified 2026-11-19). Plan for three. The quick-setup VPC template "is not intended for production use" (quick setup). ⚠️ I could not verify useVpcEndpoints in the current admin guide; none of the pages fetched for this lesson names it. See lesson 2.

5. Which profiles and blueprints

Each profile is a cost decision (lesson 3). The current template names are "All capabilities", "SQL analytics", "Generative AI application development" and "Custom" (project profiles, verified 2026-11-19). ⚠️ H2 turns on all three toggles; the repo's own terraform.tfvars.example ships enable_all_capabilities = false (tfvars example, verified 2026-11-19).

6. Git provider

⚠️ H1 is out of date. It says quick setup "establishes a default Git connection to AWS CodeCommit". Today: "You can't create new projects with AWS CodeCommit" (legacy), and "Every project … includes S3 shared storage by default", on "a last-write-wins principle" (S3 storage, both verified 2026-11-19). Git is opt-in through AWS CodeConnections: GitHub, GitHub Enterprise Server, GitLab, GitLab Self-Managed and Bitbucket. H1 lists four; Bitbucket is new. H3's AIOps repo needs a GitHub organization and a classic personal access token, and tells you to install the connector on "All repositories" (AIOps README, verified 2026-11-19). Read that beside decision 3.

7. How you deploy

Path Tool What the source says about itself
Console quick setup (H1) Console plus a CloudFormation VPC "intended for testing purposes and we recommend deleting the domain after initial tests" (quick setup)
Console manual setup Console "full control"; nine steps; SSO, profiles and blueprints are configured afterwards (manual setup)
Terraform module (H2) Terraform >= 1.7, aws >= 6.51.0, awscc >= 1.89.0 Quick-setup example "is intended as a reference implementation. For production use cases, consume the individual sub-modules directly" (example README)
Guidance sample (H3, first repo) One CloudFormation network template, then manual console steps "doesn't have yet public APIs"; last push 2024-12-20 (README, repo API)
AIOps sample (H3, second repo) AWS CDK CLI v2.188.0 or later, Docker, Python 3.9 or later Needs PowerUserAccess "or equivalent"; last push 2026-04-13 (README, repo API)

⚠️ H2 clones main (last push 2026-10-26), while the Terraform Registry's latest version is 0.2.1, published 2026-08-17 and marked verified: false (registry, repo API, verified 2026-11-19). A clone and a registry source may not be the same code. Pin a version.

8. How you separate dev from prod

H2: "deploy separate domains for development, staging, and production using Terraform workspaces or separate state files" (H2, Scaling to multiple environments). H3 uses one account per stage and a Central Model Registry. They are different isolation models. The example's environment variable accepts only dev, staging, prod or test, default "test".

Current facts the homework does not give you

Regions. Fifteen (supported Regions, verified 2026-11-19): Tokyo, Ireland, N. Virginia, Ohio, Oregon, Frankfurt, São Paulo, Seoul, London, Singapore, Sydney, Canada (Central), Mumbai, Paris, Stockholm. The module's aws_region validation lists the same fifteen. ⚠️ The first Guidance repo supports twelve: no Mumbai, Paris or Stockholm. ⚠️ The datazone endpoint table lists nineteen Regions, adding Hong Kong, Malaysia, Thailand and Zurich; an endpoint does not mean Unified Studio is supported there.

Quotas. The General Reference table (verified 2026-11-19) has 326 rows; 311 are per-instance-type limits.

Quota Default (each supported Region) Adjustable
Environments in a domain 1,000 Yes
Git connections per project 5 Yes
Data source runs/data source/day 25 Yes
Concurrent notebook runs per account 15 Yes
SageMaker Unified Studio agent requests per month 1,000 No — the only non-adjustable row
Notebooks running on sc.t3.medium 6 Yes
Notebook Runs on any sc.m5d.2xlarge or larger m5d 0 Yes

⚠️ Many large instance types default to 0: a request, not a setting. ⚠️ The table has no row for domains per account or projects. The admin guide's quotas page (verified 2026-11-19) gives projects 1,000, user members per project 100, group members 20, account pools 100 and designations 10, with no adjustability column. I could not verify whether those are adjustable — check Service Quotas in the account.

Pricing (SageMaker pricing, verified 2026-11-19). "AWS will charge you the pricing for each AWS service that you use", plus "You will be charged for your usage of SageMaker Catalog". Quick setup carries "an additional charge for any networking resources that AWS sets up on your behalf"; "manual creation of IdC-based domains" is among the always-free requests, as are CreateDomain, DeleteDomain, CreateProject and Search. Catalog rates as displayed, no Region stated: $10 per 100,000 requests after 4,000 free; $0.40 per GB of metadata after 20 MB free; $1.776 per compute unit after 0.2 free.

Deleting a domain. "the act of deleting a domain is final", and three things survive: "AWS resources - except for this domain - will NOT be deleted", "Subscription grants will NOT be removed", "Resource shares of this domain to associated accounts will NOT be deleted" (delete domains, verified 2026-11-19). ⚠️ The API tells a newer story: aws datazone delete-domain takes --cascade-delete, which "deletes the domain and cleanly removes its associated resources", and --skip-deletion-check, which "might not remove its associated resources"; the two are mutually exclusive and cascadeDelete defaults to false (CLI, API, verified 2026-11-19). Failures surface in failureReasons on GetDomain. Deleting a project "cannot be undone by you or by AWS" (delete a project).

Evidence for a case: domain ID (pattern dzd[-_]…), Region, account ID, domainVersion, the singleSignOn block, and for a failed delete, deleteProgress and failureReasons.

Where the sources disagree

# Topic H1 (Feb 2025) H2 / H3 Current docs or repo
1 Product status "in preview mode when this blog was published" — Two domain types, account pools, designations
2 Full profile name "Data analytics and AI-ML model development" H2: "All Capabilities" "All capabilities project profile"
3 Default Git CodeCommit by default H3: GitHub No new CodeCommit projects; S3 by default
4 Git providers Four — Five, with Bitbucket
5 IAM roles and the portal "you can't use IAM roles to log in" H2: IAM roles are members and sign in, given SageMakerStudioUserIAMConsolePolicy "When an IAM role logs in to the portal for the first time…" (user management)
6 Identity Center Prerequisite, "in the same AWS Region" H2: "required only if using SSO-based project membership" Domain "can reside in a different AWS Region", given multi-Region support and an external IdP
7 Quick setup "recommended for exploration" — "intended for testing purposes"; delete "after initial tests"
8 Roles created Six named in the walkthrough H2: "Three IAM roles" Module README: five, adding domain service and query execution
9 Network New VPC, private subnets H2: default VPC "Your subnets must be private"
10 Subnets — H2 shows three in one snippet, two in another 2 (network page) or 3 (profile pages)
11 Stages — H2: domain per stage. H3: account per stage Account pools for multi-account profiles
12 API support — H3 first repo: "doesn't come with API/SDK/CloudFormation support". H2: Terraform CreateDomain in the DataZone API reference
13 Cost "mitigate any unexpected costs" H2: base "has minimal ongoing costs" H3 first repo: "approximately $2,000 per month", but its own table sums to $636.52, under a heading still reading "As of "
14 Clean-up Ten manual steps H2: empty the bucket, terraform destroy --cascade-delete exists; the admin guide page does not mention it
15 SSO change — H2: rebuild UpdateDomain takes singleSignOn; console settings "cannot be changed once you save them"
16 SSO user identifier — H2 gives sso_users a UUID in one snippet and an email in another Repo example: email for users, UUID for groups

All fetched 2026-11-19. ⚠️ One more inside H2: the "Why add IAM principals" table labels a service account "IAM Role" and gives a :user/ ARN.

Our read: the smallest safe first step

This is our judgement, not AWS's.

  1. A sandbox account with no production data. Not the account holding the warehouse. SM0 lesson 5 explains why: setup can make a role a Lake Formation administrator and can publish Glue data domain-wide.
  2. Settle identity on paper first. It is the one flag H2 calls irreversible.
  3. Bring your own VPC: three private subnets, passed explicitly.
  4. One profile, SQL analytics.
  5. No Git connection and no "Onboard your data" until repository scope and data scope are decided.
  6. Rehearse deletion. Create one project, then delete project and domain and list what remains.
  7. Leave H3 for later. It automates real-time endpoint deployment; SM0's lead candidate needs only a connection to one warehouse.

Questions you should be able to answer as the SME

  1. Which decision does H2 call a one-way door? enable_sso; changing it later means "the domain and all dependent resources need to be destroyed and recreated" (H2, Step 2).
  2. What does the module default enable_sso to? false, in the root module and the example (variables.tf). H2 sets true.
  3. How many domain types exist, and which does H1 describe? Two; H1 only the Identity Center-based one (domains).
  4. Can an IAM role sign in to the portal? H1 says no. H2 and the current user management page say yes; it gets a group profile plus a session user profile per federated user.
  5. Is CodeCommit still the default? No. "You can't create new projects with AWS CodeCommit"; S3 shared storage is the default (legacy).
  6. Who can read a repository once a Git connection is enabled? "all users who can sign in to any domain in the account", regardless of project membership (Git connections).
  7. What survives domain deletion in the console? AWS resources, subscription grants, and resource shares to associated accounts (delete domains).
  8. Which quota is not adjustable? "SageMaker Unified Studio agent requests per month", 1,000; the only one of 326 rows (General Reference).
  9. How many Regions? Fifteen (supported Regions); the first Guidance repo supports twelve.
  10. How do H2 and H3 separate dev from prod? H2 by separate domains through Terraform workspaces; H3 by separate accounts.
  11. What does the studio cost? No line item; you pay for SageMaker Catalog usage and each service used (pricing).
  12. Which subnets does the module use if you pass none? The default VPC's (H2), which are public (default VPC).

What to ask AWS next

  1. "Can Identity Center be enabled on an existing domain without rebuilding it?" H2 says no; UpdateDomain accepts singleSignOn, and IAM-based domains have a Connect procedure.
  2. "Is a Terraform domain with enable_sso = false an IAM-based domain?" If so, the one-per-account limit and the Lake Formation administrator grant apply. The docs do not say.
  3. "For dev and prod, do you recommend a domain per stage or an account per stage?" H2 and H3 give different answers.
  4. "Does --cascade-delete remove the Redshift Serverless, Glue and S3 resources a project created?" The admin guide says AWS resources are not deleted; the API says they are cleanly removed.
  5. "How do we restrict repository access in one account?" The docs say there is no repository-level isolation.

Check yourself

  1. Why is enable_sso decided before the first terraform apply?
  2. H2 says the module auto-discovers the default VPC. Why not accept that?
  3. A colleague quotes H1: "quick setup gives you CodeCommit". What do you say?
  4. The first Guidance repo quotes about $2,000 a month. Why not repeat that figure?
  5. Where do you look for the domains-per-account quota?
Answers
  1. H2 calls it a one-way door, and the admin guide says SSO settings "cannot be changed once you save them". The default is false, so omitting it is a choice.
  2. A default VPC has a public subnet in each Availability Zone, and the admin guide says "Your subnets must be private or some functionality will not be available".
  3. H1 was written during preview. New projects cannot use CodeCommit; S3 shared storage is the default and Git is opt-in through CodeConnections.
  4. The repo's own table sums to $636.52, the sentence has unfilled placeholders, and the repo was last pushed in December 2024.
  5. It is not in the General Reference table. The only stated limit is one IAM-based domain per account, in guide prose. Check Service Quotas in the account, and ask.

Teaching this section

← PreviousThe Guidance — multi-account AIOps, and what the sample code really buildsFinished →Cheat sheet, lab & quiz