19 C
New York
Monday, September 8, 2025

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


Amazon SageMaker now helps account-agnostic undertaking profiles, so you’ll be able to create reusable undertaking templates throughout a number of AWS accounts and organizational items. On this submit, we display how account-agnostic undertaking profiles can assist you simplify and streamline the administration of SageMaker undertaking creation whereas sustaining safety and governance options. We stroll by means of the technical steps to configure account-agnostic, reusable undertaking profiles, serving to you maximize the flexibleness of your SageMaker deployments.

New function: Account-agnostic undertaking profiles

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

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

Undertaking profiles are not tied to a selected 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 undertaking 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, cut back duplication, and speed up onboarding throughout large-scale knowledge and machine studying (ML) environments.

Account-agnostic undertaking profiles supply the next key advantages:

  • Undertaking creators profit from a extra versatile expertise – Throughout undertaking creation, undertaking 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 undertaking 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 knowledge, 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 quicker 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 practice fashions as a part of their day-to-day work. With the brand new functionality to create account-agnostic templates, our platform workforce can publish reusable templates as soon as, and groups can choose the correct approved AWS account at undertaking creation—with out counting on platform hand-offs. This may help quicker onboarding, improved agility, and constant governance as we scale ML throughout our world operations.

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

Resolution 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 advanced problem of managing hundreds of AWS accounts throughout their world operations.

To streamline this course of, their platform administrator must develop a system of reusable undertaking profiles that map to particular account swimming pools, organized in response to the corporate’s organizational construction. For example, they’ve created a specialised Company HR undertaking profile tailor-made to satisfy the Company HR workforce’s particular necessities, in addition to a complete Knowledge Engineer undertaking profile designed for knowledge engineering groups working throughout North America, Asia-Pacific, and European Areas. This strategic strategy 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 stability 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 resolution.

Stipulations

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

  • An AWS account – When you don’t have an account, you’ll be able to create one. The account ought to have permission to do the next:
  • SageMaker area – For directions, discuss with Create a site – 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 undertaking profiles related to these swimming pools. This part offers 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. Exchange the related values with your individual sources, corresponding to 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 undertaking 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 undertaking profiles.

To confirm account pool creation, use the next command:

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

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

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

Create undertaking profiles and account pool assignments

On this step, we set up undertaking profiles and join them to approved account swimming pools. There are three potential situations for organising undertaking profiles.

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

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

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

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

On the Undertaking profiles tab, it’s best to now see your newly created Company HR profile listed among the many accessible undertaking profiles.

To discover additional, navigate to the Company HR undertaking 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 undertaking profile.

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

On this instance, we create a undertaking profile for a world Knowledge Engineering workforce, connecting it to 3 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 Undertaking profiles tab, select Create.
  3. Enter a reputation and outline in your profile.
  4. Select an applicable undertaking profile template that aligns along with your undertaking’s wants.
  5. Choose Select account and area throughout undertaking creation.
  6. Choose Select account pool(s) and select all three Regional swimming pools:
    1. NAMER Knowledge Engineering workforce
    2. EMEA Knowledge Engineering workforce
    3. APAC Knowledge Engineering workforce
  7. Go away the remaining settings as default and select Create undertaking profile.
  8. On the undertaking particulars web page, select Allow to activate your profile.
  9. Select Allow within the affirmation pop-up to proceed.

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

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

Navigate to your undertaking 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 undertaking profile.

State of affairs 3: Undertaking profile with all related accounts

On this situation, we create a undertaking 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 Undertaking profiles tab, select Create.
  3. Enter a reputation and outline in your profile.
  4. Select an applicable undertaking profile template that aligns along with your undertaking’s wants.
  5. Choose Select account and area throughout undertaking creation.
  6. Choose All related accounts.
  7. Go away the remaining settings as default and select Create undertaking profile.

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

Undertaking proprietor duties

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

For this situation, Sarah from HR will create a undertaking for the HR workforce, utilizing the Company HR workforce profile that’s related to the HR account pool.

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

You possibly can view the efficiently created undertaking.

Clear up

To wash 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 submit, we mentioned how account-agnostic undertaking profiles can assist organizations simplify and streamline the administration of SageMaker undertaking creation whereas sustaining enhanced safety and governance options. To study extra about account-agnostic undertaking profiles in SageMaker, discuss with Account swimming pools in Amazon SageMaker Unified Studio, and demo: account-agnostic undertaking profile in Amazon SageMaker.

In regards to the Authors

Ramesh H Singh

Ramesh H Singh

Ramesh is a Senior Product Supervisor Technical (Exterior Providers) at AWS in Seattle, Washington, presently with the Amazon DataZone workforce. He’s keen about constructing high-performance ML/AI and analytics merchandise that assist enterprise clients obtain their important targets utilizing cutting-edge know-how

Nira Jaiswal

Nira Jaiswal

Nira is a Principal Knowledge Options Architect at AWS. Nira works with strategic clients to architect and deploy modern 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 remodel advanced 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 clients modernize their knowledge platform options to attain their enterprise outcomes.

Brian Ross

Brian Ross

Brian is a Senior Software program Growth Supervisor at AWS. He’s centered on creating pleasant builder experiences for knowledge, analytics and AI, and is presently constructing the following era of Amazon SageMaker. He’s primarily based out of NYC and thinks try to be, too.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Stay Connected

0FansLike
0FollowersFollow
0SubscribersSubscribe
- Advertisement -spot_img

Latest Articles