Pair your devices with a code and playback position follows you: pause on this device, hit resume on the other. Position is saved to the site every minute and on pause.
Open this panel on your other device and enter the same code.
Starts this lesson and continues through 16 more to the end of the course.
Lesson 1 gave you the vocabulary. This one is the walkthrough: the screens H1 clicks through, the six IAM roles it tells you to keep the defaults on, and the clean-up list. "What does the Manage Access role do?" and "what is left behind if we delete the domain?" are answered here.
It is also where H1 has aged most. It was published 13 February 2025 and admits "SageMaker Unified Studio was in preview mode when this blog was published" (H1, "Create a custom project profile"). Every step below was checked against the admin guide on 2026-11-19; each mismatch carries a ⚠️.
H1 tells you to keep the defaults. Your job as the SME is to know what each default is — and which three cannot be changed afterwards.
Object definitions are in lesson 1; blueprints and profiles in lesson 3. What a domain does to your existing Glue and Redshift data is SM0 lesson 5.
H1 lists four ("Prerequisites"): an AWS account; a user with administrative access; "Enable IAM Identity Center in the same AWS Region you want to create your SageMaker Unified Studio domain"; and, for Amazon Bedrock models, "grant access to base models".
| H1 prerequisite | Current docs (verified 2026-11-19) |
|---|---|
| A user with administrative access | Narrower: choose an IAM role to administer the domain and attach SageMakerStudioAdminIAMConsolePolicy |
| Identity Center in the same Region | ⚠️ No longer required. "The Amazon SageMaker domain can reside in a different AWS Region than where the IAM Identity Center organization instance is located using IAM Identity Center multi-Region support", provided the instance "must be connected to an external identity provider (IdP)" (domains) |
| Grant access to base models | ⚠️ Bedrock now says "Access to many Amazon Bedrock foundation models is enabled by default with the correct AWS Marketplace permissions" (model access). Quick setup still offers a Grant model access button |
Both start at "the Amazon SageMaker management console at https://console.aws.amazon.com/datazone"
with Create a Unified Studio domain. The API underneath is CreateDomain (POST /v2/domains),
whose domainVersion accepts V1 | V2
(API reference,
verified 2026-11-19).
| Quick setup | Manual setup | |
|---|---|---|
| H1's label | "Quick setup (recommended for exploration)" | Not walked through |
| Docs' intent | "intended for testing purposes and we recommend deleting the domain after initial tests" | "claiming full control over customizing your domain settings" |
| You supply | Name, the six roles, S3 bucket, VPC, encryption, optional data onboarding, one SSO user | Name, description, domain execution role, domain service role, encryption, tags |
| Blueprints and profiles | "all the blueprints are automatically enabled" and default profiles exist (H1) | None. You then configure "SSO, project profiles, blueprints, account associations, Amazon Bedrock models, connections, and AmazonQ" yourself |
| Authentication, as listed | "AWS IAM or AWS IAM Identity Center" | "AWS IAM, AWS IAM Identity Center, or SAML" |
Admin project admin-project-accountID |
"created automatically for new domains" | "created when you enable the Tooling blueprint" |
Sources: quick setup, manual setup, domain management (verified 2026-11-19).
⚠️ Quick setup costs money: "there is an additional charge for any VPC or resources that AWS sets
up". ⚠️ It now also has an Onboard your data - optional section that H1 does not mention; see SM0
lesson 5 before touching it.
From H1 "Set up domain": Create a Unified Studio domain → Quick setup → Create VPC (opens
CloudFormation in a new tab) → keep useVpcEndpoints as false → Create stack → return and
refresh the page → enter the name → keep the defaults for four roles → VPC and private subnets
are selected automatically → keep the defaults for two model roles → Continue → give the email of
an SSO user → Create domain.
Three details from H1's screenshots: the stack name defaults to SageMakerUnifiedStudio-VPC; the
parameter is described as "This controls whether VPC endpoints are created or not."; and under Name
the console says "It cannot be changed after the domain is created."
H1 names six. The admin guide documents seven
(IAM roles,
verified 2026-11-19). All but the query execution role trust the service principal
datazone.amazonaws.com.
| H1's label | Role name in the admin guide | What the docs say it is for | Managed policy |
|---|---|---|---|
| Domain Execution role | AmazonSageMakerDomainExecution |
"an IAM role that Amazon SageMaker Unified Studio requires to call APIs on behalf of authorized users, including those logged in" | SageMakerStudioDomainExecutionRolePolicy |
| Domain Service role | AmazonSageMakerDomainService |
"a service role for domain level actions performed by Amazon SageMaker Unified Studio" | SageMakerStudioDomainServiceRolePolicy |
| Provisioning role | AmazonSageMakerProvisioning-<domainAccountId> |
"used by Amazon SageMaker Unified Studio to provision and manage resources defined in the selected blueprints in your account" | SageMakerStudioProjectProvisioningRolePolicy |
| Manage Access role | AmazonSageMakerManageAccess-<region>-<domainId> |
"permissions to publish, grant access, and revoke access to Amazon SageMaker Lakehouse, AWS Glue Data Catalog and Amazon Redshift data", plus subscriptions on SageMaker Catalog assets | AmazonDataZoneGlueManageAccessRolePolicy, AmazonDataZoneRedshiftManageAccessRolePolicy, AmazonDataZoneSageMakerAccess |
| Model provisioning role | AmazonDataZoneBedrockModelManagementRole |
"to create an inference profile for an Amazon Bedrock model in a project" | AmazonDataZoneBedrockModelManagementPolicy |
| Model consumption role | AmazonDataZoneBedrockFMConsumptionRole |
"required for each Amazon Bedrock model that you want to enable in the playground" — one per model by default, or one shared role | AmazonDataZoneBedrockModelConsumptionPolicy |
| (not in H1) | AmazonSageMakerQueryExecution |
"AWS LakeFormation assumes this role to vend credentials needed by Amazon Athena during query execution" | SageMakerStudioQueryExecutionRolePolicy |
Details that get asked:
secretsmanager:GetSecretValue on secrets tagged AmazonDataZoneDomain with the domain ID, and
its trust policy is pinned to one domain ARN.lakeformation.amazonaws.com and glue.amazonaws.com. If you bring
your own, the provisioning role needs iam:PassRole and iam:GetRole on it.⚠️ H2 counts three roles; its own module creates five. H2 "Step 3" says "Three IAM roles will be created (domain execution, manage access, provisioning)". The repository README lists "domain execution, domain service, query execution, provisioning, and manage access roles" (repo, fetched 2026-11-19). Detail in lesson 4.
⚠️ The two domain policy pages call their roles SageMakerUnifiedStudioDomainExecutionRole and
SageMakerUnifiedStudioDomainServiceRole, unlike the role pages. Search IAM by policy name.
H1's Create VPC deploys a CloudFormation stack "to create the VPC and the necessary private and
public subnets". Its screenshot shows four private subnets selected, under the instruction "Select
at least 3 subnets in different Availability Zones that contain required VPC Endpoints."
What the current docs add (verified 2026-11-19):
⚠️ I could not verify useVpcEndpoints in current documentation. The string appears in neither the
admin guide nor the user guide (I searched both PDFs on 2026-11-19); it exists only in H1's text and
screenshot. Open the stack's Parameters tab in your own account to confirm it.
Our read: false means service traffic leaves by another route. The
network isolation page
lists the required interface endpoints (Athena, DataZone, EC2, S3, SageMaker AI, Glue, KMS, Secrets
Manager, STS, Systems Manager and more) and warns: "If Amazon VPC endpoints are missing or
misconfigured, network calls … route over the public internet when that network path is available."
H1: "If the account doesn't have IAM Identity Center set up, then it will create an IAM Identity Center account instance, so long as the account is permitted to do so."
From the IAM Identity Center guide (verified 2026-11-19): an organization instance is enabled "in the AWS Organizations management account" and supports all features. An account instance is "bound to a single AWS account, and … visible only within the AWS account and AWS Region in which it is enabled"; "You are limited to one account instance per AWS account"; and "If you plan to use IAM Identity Center to support applications in multiple accounts, use an organization instance. Account instances do not support this use case."
Which one the domain gets (managing users):
| Your account is | Instance selected |
|---|---|
| The management account, organization instance enabled | Organization instance |
| A member account, organization instance enabled | ⚠️ "an IAM Identity Center account instance is selected" |
| Not in an AWS Organization | Account instance |
⚠️ That middle row is hard to square with the multi-Region note on the same pages, which speaks of the domain using "the IAM Identity Center organization instance". Ask AWS which holds for a member account.
IAM Identity Center or SAML, then Require assignments or Do not require assignments, and "These settings cannot be changed once you save them." In the API
this is the singleSignOn object: type IAM_IDC | DISABLED, userAssignment AUTOMATIC | MANUAL. This is the documented basis for H2's "one way door" on enable_sso.H1: User management tab → Add → Add SSO users and groups or Add IAM users. "After you add
the users, they will appear with the status Assigned. The status changes to Activated only when the
user logs in." The API enum on CreateUserProfile is ASSIGNED | NOT_ASSIGNED | ACTIVATED | DEACTIVATED; userType is IAM_USER | IAM_ROLE | SSO_USER | IAM_ROLE_SESSION
(API reference,
verified 2026-11-19).
⚠️ IAM roles and portal login — H1 is out of date. H1 says twice that IAM roles are for
"programmatic access only" and "you can't use IAM roles to log in to the SageMaker Unified Studio
URL". The current
user management page
says: "When an IAM role logs in to the portal for the first time, the service creates a group
profile for the new IAM role and IAM role session user profiles for the user federating into Amazon
SageMaker Unified Studio through the IAM role." H2 agrees: IAM roles are "assumed by humans,
services, or automation", need SageMakerStudioUserIAMConsolePolicy "to access the Amazon SageMaker
Unified Studio interface", and "only IAM principals within the same AWS account as the domain can
access the Amazon SageMaker Unified Studio portal".
Sign-in methods have not changed: the concepts page still says "your IAM user credentials or … credentials from your identity provider through the AWS IAM Identity Center or … your SAML credentials".
H1: Account associations tab → Request association; "you share the root domain with the other
AWS account with AWS Resource Access Manger (AWS RAM)"; the other account's admin accepts, then
"must enable the necessary blueprints".
The current page
confirms each step (verified 2026-11-19). The request shows status Requested. The other account
uses View requests → Review request → Accept new permissions. And: "project profiles for the
domain can only be created by domain administrators from the AWS account that owns the domain." To
remove one you type disassociate. ⚠️ "Be sure to check the accuracy of the account IDs that you
enter" — the request itself shares the domain.
Git. H1: "The quick setup also establishes a default Git connection to AWS CodeCommit". ⚠️ Superseded. The admin guide now says "You can't create new projects with AWS CodeCommit. Existing projects that were created using CodeCommit will continue to work" (legacy). Today "Every project … includes S3 shared storage by default", and Git connections go through AWS CodeConnections to five providers: GitHub, GitHub Enterprise Server, GitLab, GitLab Self-Managed and Bitbucket (H1 lists four; Bitbucket is new). ⚠️ The current concepts page still repeats the CodeCommit-default sentence. The docs contradict themselves; trust the note.
⚠️ "Enabling a Git connection grants all users in the account read and write access to all repositories on that connection", and it "makes it accessible in all domains that you own" (Git connections).
Amazon Q. H1 and the docs agree: "by default, all users … have access to the Free Tier release of Amazon Q". Disabling takes IAM deny statements plus two Systems Manager parameters (page). ⚠️ I could not verify how Amazon Q Developer Pro is configured — check the admin guide's Generative AI assistance page; today it has no procedure for it.
Bedrock. Quick setup "Configures permissions for all enabled Amazon Bedrock serverless models
accessible in the AWS account and Region". Models are published through a project named
GenerativeAIModelGovernanceProject, created automatically; with quick setup, "SSO users that were
configured during Quick setup are also owners"
(Bedrock).
H1 describes one kind of domain. There are now two (domains, verified 2026-11-19). Identity Center-based domains are what H1 builds. IAM-based domains use a Login IAM role and an Execution IAM role, and "Only one IAM-based domain is available per AWS Account". Everything in H1 is the Identity Center-based path. The comparison is in SM0 lesson 5; the decision is in lesson 6.
H1's ten steps, in order ("Clean up"):
Our read: the "note" steps come first because the names are hard to recover afterwards.
⚠️ The bucket name does not match H1's own screenshot. The quick setup screen in H1 shows a
bucket of the form amazon-sagemaker-<account-id>-<region>-<suffix>, and the user guide gives that
same form. The Terraform module names its bucket sagemaker-studio-<account>-<region>-<suffix>.
Read the name from the domain's Tooling blueprint settings; do not search for amazon-datazone-.
The delete page
(verified 2026-11-19): "the act of deleting a domain is final". Not deleted: "AWS resources - except
for this domain", "Subscription grants", and "Resource shares of this domain to associated
accounts". You confirm by typing the domain name. ⚠️ The API offers more than H1 knew: DeleteDomain
has cascadeDelete, which "cleanly removes its associated resources without leaving orphaned
resources behind", and skipDeletionCheck, which "can leave orphaned resources behind". They are
mutually exclusive.
Evidence for a support case: domain ID (dzd-…), Region, account ID, the role ARNs above, and
the name and status of any failed CloudFormation stack.
AmazonSageMakerQueryExecution.AmazonSageMakerManageAccess-<region>-<domainId> — it can "publish, grant access, and revoke
access" (admin guide, AmazonSageMakerManageAccess).AmazonSageMakerProvisioning-<domainAccountId> (admin guide, AmazonSageMakerProvisioning).useVpcEndpoints? A VPC stack parameter — "This controls whether VPC endpoints are
created or not." H1 keeps it false (H1, "Set up domain"). It is not in current docs.SageMakerStudioUserIAMConsolePolicy attached.ASSIGNED, ACTIVATED, plus NOT_ASSIGNED and DEACTIVATED.Request association shares the domain through AWS RAM;
the other admin accepts and enables blueprints (H1; associated accounts page).useVpcEndpoints still exist?" It appears
only in H1.cascadeDelete instead of H1's ten manual steps?" The API documents it; no
homework document mentions it.AdministratorAccess to the provisioning role "to be safe". Which role should
worry you more for existing data, and why?amazon-datazone-. What happens?amazon-sagemaker-<account-id>-<region>-<suffix>. Read the name from the domain's settings.