Wednesday, September 3, 2025

Use account-agnostic, reusable challenge profiles in Amazon SageMaker to streamline governance

Amazon SageMaker now helps account-agnostic challenge profiles, so you may create reusable challenge templates throughout a number of AWS accounts and organizational models. On this publish, we reveal how account-agnostic challenge profiles can assist you simplify and streamline the administration of SageMaker challenge creation whereas sustaining safety and governance options. We stroll by means of the technical steps to configure account-agnostic, reusable challenge profiles, serving to you maximize the pliability of your SageMaker deployments.

New function: Account-agnostic challenge profiles

Beforehand, SageMaker supplied the power to create challenge profiles, which required choosing an AWS account and AWS Area on the time of profile creation. This function supplies you the pliability to insert the AWS account and Area dynamically when creating initiatives.

SageMaker now helps generic, account-agnostic challenge profiles (templates) in SageMaker domains, so area directors can outline challenge configurations one time and reuse them throughout a number of AWS accounts and Areas.

Venture profiles are not tied to a particular AWS account or Area. As a substitute, platform groups can reference an account pool—a brand new area entity that allows dynamic account and Area choice on the time of challenge creation, primarily based on {custom} enterprise authorization insurance policies or user-specific logic. This decoupling of profile definitions from static deployment settings is designed to simplify governance, scale back duplication, and speed up onboarding throughout large-scale knowledge and machine studying (ML) environments.

Account-agnostic challenge profiles supply the next key advantages:

  • Venture creators profit from a extra versatile expertise – Throughout challenge creation, challenge creators can choose from a customized checklist of approved AWS accounts and Areas, powered by {custom} decision methods or predefined account swimming pools.
  • The function streamlines challenge profile governance – This mannequin is meant to allow organizations working throughout many various accounts to scale effectively throughout these accounts, whereas preserving group’s centralized management and permission boundaries.

Buyer highlight

As a big data-driven group, Bayer AG seems to harness the ability of information, analytics, and ML to assist researchers and engineers speed up pharmaceutical innovation. With the power to create account agnostic templates and reusable templates in SageMaker, the analysis groups at Bayer can innovate sooner with out platform and engineering overhead.

At Bayer, we use Amazon SageMaker Unified Studio as a unified, ruled workspace that brings collectively knowledge from a number of AWS accounts—enabling our customers to run analytics, construct pipelines, and prepare fashions as a part of their day-to-day work. With the brand new functionality to create account-agnostic templates, our platform staff can publish reusable templates as soon as, and groups can choose the fitting approved AWS account at challenge creation—with out counting on platform hand-offs. This can assist sooner onboarding, improved agility, and constant governance as we scale ML throughout our international operations.

— Avinash Reddy Erupaka, Principal Engineering Lead, Drug Innovation Platform, Bayer

Answer overview

For our instance use case, a number one pharmaceutical firm has carried out SageMaker to handle their enterprise-wide knowledge governance initiatives. The group faces the complicated problem of managing 1000’s of AWS accounts throughout their international operations.

To streamline this course of, their platform administrator must develop a system of reusable challenge profiles that map to particular account swimming pools, organized in keeping with the corporate’s organizational construction. For example, they’ve created a specialised Company HR challenge profile tailor-made to satisfy the Company HR staff’s particular necessities, in addition to a complete Information Engineer challenge profile designed for knowledge engineering groups working throughout North America, Asia-Pacific, and European Areas. This strategic method helps knowledge engineers effectively create new initiatives utilizing these preconfigured profiles whereas choosing from pre-authorized account and Area mixtures. This construction strikes an optimum steadiness between operational flexibility and enhanced safety and governance options.

Within the following sections, we offer an in depth, step-by-step implementation information for this answer.

Conditions

For this walkthrough, it’s essential to have the next conditions:

  • An AWS account – When you don’t have an account, you may create one. The account ought to have permission to do the next:
  • SageMaker area – For directions, confer with Create a website – fast setup.
  • AWS CLI put in – The AWS Command Line Interface (AWS CLI) model 2.11 or later.
  • Python put in – Python 3.8 or later (if utilizing {custom} Lambda handlers).
  • IAM permissions – The next IAM permissions are required:
    • sagemaker:CreateProject
    • sagemaker:CreateProjectProfile
    • datazone:CreateAccountPool

Platform administrator duties

The platform administrator is answerable for two key setup duties: creating account swimming pools and establishing challenge profiles related to these swimming pools. This part supplies the steps to perform each essential processes.

Create account swimming pools

There are two methods to create account swimming pools:

  • For static account sources, present an inventory of accounts and Areas
  • For dynamic account sources, use a {custom} Lambda handler to authorize account and Area pair info

As of this writing, the creation, replace, and deletion of account swimming pools are solely supported within the AWS CLI.

For creating account swimming pools, use the create-account-pool command and supply the sources. We used the next instructions to create account swimming pools for our instance use case. Substitute the related values with your personal sources, reminiscent of area identifier, account, and Area.

First, create the account pool hr-accountpool with a single AWS account. Within the following command, the parameter MANUAL refers back to the mechanism by which an account is chosen from the pool at challenge creation time. As a result of the platform admin is manually selecting the accounts, the decision technique is ready to MANUAL.

aws datazone create-account-pool --domain-identifier dzd_5yxxxxxxxxxxxx --name hr-accountpool --resolution-strategy MANUAL --account-source '{"accounts": [{"awsAccountId": "633xxxxxxxxx", "supportedRegions": ["us-east-1"], "awsAccountName": "HRaccount"}]}'

Subsequent, create the account pool namer-data-engg-pool with a number of AWS accounts. Use the identical code to create account swimming pools for the EMEA and APAC Areas:

aws datazone create-account-pool --domain-identifier dzd_5yxxxxxxxxxxxx --name namer-data-engg-pool --resolution-strategy MANUAL --account-source '{"accounts": [{"awsAccountId": "633xxxxxxxxx", "supportedRegions": ["us-east-1"], "awsAccountName": "usaccount1"}, {"awsAccountId": "635xxxxxxxxx ", "supportedRegions": ["us-east-1"], "awsAccountName": "usaccount2"}]}'

You’ll use these account swimming pools in subsequent steps to create challenge profiles.

To confirm account pool creation, use the next command:

aws datazone list-account-pools --domain-identifier 

You probably have an exterior permissioning system, you should utilize the next {custom} Lambda command to create your account pool that can dynamically resolve throughout challenge creation:

aws datazone create-account-pool --domain-identifier dzd_cdy9yy904sxxxx --name custom- accountpool --resolution-strategy MANUAL --account-source '{"customAccountPoolHandler": {"lambdaFunctionArn": ">","lambdaExecutionRoleArn": ">"}}'

Create challenge profiles and account pool assignments

On this step, we set up challenge profiles and join them to approved account swimming pools. There are three potential eventualities for establishing challenge profiles.

State of affairs 1: Venture profile related to a single account pool

That is the best configuration, the place one challenge profile is mapped to a single account pool. Within the following steps, we create a challenge profile for the Company HR staff and tie it to the HR account pool:

  1. On the SageMaker console, select Domains within the navigation pane.
  2. On the Venture profiles tab, select Create.
  3. Enter a reputation and outline on your profile.
  4. Select an applicable challenge profile template that aligns along with your challenge’s wants.
  5. Choose Select account and area throughout challenge creation.
  6. Choose Select account pool(s) and select the account pool you created for the HR staff.
  7. Depart the remaining settings as default and select Create challenge profile.
  8. On the challenge particulars web page, select Allow to activate your profile.
  9. Select Allow within the affirmation pop-up to proceed.

You will note a hit message confirming that the Company HR profile has been created and linked to 1 account pool.

On the Venture profiles tab, it’s best to now see your newly created Company HR profile listed among the many out there challenge profiles.

To discover additional, navigate to the Company HR challenge profile and select the Blueprints tab to see an inventory of accessible blueprints. Select a blueprint to view its particulars.

On the blueprint particulars web page, the blueprint exhibits as deployable to the one account pool you related to this challenge profile.

State of affairs 2: Venture profile related to a number of account swimming pools

On this instance, we create a challenge profile for a world Information Engineering staff, connecting it to a few Regional account swimming pools: NAMER (North America), APAC (Asia Pacific), and EMEA (Europe, Center East, and Africa). Full the next steps:

  1. On the SageMaker console, select Domains within the navigation pane.
  2. On the Venture profiles tab, select Create.
  3. Enter a reputation and outline on your profile.
  4. Select an applicable challenge profile template that aligns along with your challenge’s wants.
  5. Choose Select account and area throughout challenge creation.
  6. Choose Select account pool(s) and select all three Regional swimming pools:
    1. NAMER Information Engineering staff
    2. EMEA Information Engineering staff
    3. APAC Information Engineering staff
  7. Depart the remaining settings as default and select Create challenge profile.
  8. On the challenge particulars web page, select Allow to activate your profile.
  9. Select Allow within the affirmation pop-up to proceed.

You will note a hit message confirming the Information Engineer profile creation. The profile will present connections to all three Regional account swimming pools.

You could find your new profile listed on the Venture profiles tab.

Navigate to your challenge profile and select the Blueprints tab to see an inventory of accessible blueprints. Select a blueprint to view its particulars.

On the blueprint particulars web page, the blueprint exhibits as deployable to the three account swimming pools you related to this challenge profile.

State of affairs 3: Venture profile with all related accounts

On this state of affairs, we create a challenge profile linked to all of the related accounts for this area. Full the next steps:

  1. On the SageMaker console, select Domains within the navigation pane.
  2. On the Venture profiles tab, select Create.
  3. Enter a reputation and outline on your profile.
  4. Select an applicable challenge profile template that aligns along with your challenge’s wants.
  5. Choose Select account and area throughout challenge creation.
  6. Choose All related accounts.
  7. Depart the remaining settings as default and select Create challenge profile.

You could find your new profile listed on the Venture profiles tab.

Venture proprietor duties

Now that the administrator has created challenge profiles for the account swimming pools, challenge house owners can log in to SageMaker to create initiatives for his or her account swimming pools. On this part, we reveal the process to create a challenge utilizing an account-agnostic challenge profile with a single account pool. You should use the identical process to create initiatives utilizing an account-agnostic challenge profile with a number of account swimming pools.

For this state of affairs, Sarah from HR will create a challenge for the HR staff, utilizing the Company HR staff profile that’s related to the HR account pool.

  1. On the SageMaker portal, select Create challenge.
  2. Enter a reputation and optionally available description.
  3. Select the Company HR challenge profile.
  4. Select Proceed.
  5. For Account and AWS Area, select the HR account.
  6. Select Proceed.
  7. Evaluate the data and select Create challenge.

You possibly can view the efficiently created challenge.

Clear up

To scrub up sources, full the next steps:

  1. Delete the initiatives utilizing the AWS CLI:
    aws sagemaker delete-project --project-name 

  2. Delete the account swimming pools:
    aws datazone delete-account-pool --domain-identifier  --name 

Conclusion

On this publish, we mentioned how account-agnostic challenge profiles can assist organizations simplify and streamline the administration of SageMaker challenge creation whereas sustaining enhanced safety and governance options. To be taught extra about account-agnostic challenge profiles in SageMaker, confer with Account swimming pools in Amazon SageMaker Unified Studio, and demo: account-agnostic challenge profile in Amazon SageMaker.

In regards to the Authors

Ramesh H Singh

Ramesh H Singh

Ramesh is a Senior Product Supervisor Technical (Exterior Companies) at AWS in Seattle, Washington, at the moment with the Amazon DataZone staff. He’s keen about constructing high-performance ML/AI and analytics merchandise that assist enterprise prospects obtain their important objectives utilizing cutting-edge expertise

Nira Jaiswal

Nira Jaiswal

Nira is a Principal Information Options Architect at AWS. Nira works with strategic prospects to architect and deploy revolutionary knowledge and analytics options. She excels at designing scalable, cloud-based platforms that assist organizations maximize the worth of their knowledge investments. Nira is keen about combining analytics, AI/ML, and storytelling to rework complicated info into actionable insights that ship measurable enterprise worth.

Somdeb Bhattacharjee

Somdeb Bhattacharjee

Somdeb is a Senior Options Architect specializing in knowledge and analytics. He’s a part of the worldwide healthcare and life sciences business at AWS, serving to his prospects modernize their knowledge platform options to realize their enterprise outcomes.

Brian Ross

Brian Ross

Brian is a Senior Software program Improvement Supervisor at AWS. He’s targeted on creating pleasant builder experiences for knowledge, analytics and AI, and is at the moment constructing the subsequent era of Amazon SageMaker. He’s primarily based out of NYC and thinks you have to be, too.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles