

# SMUS Research Environment Starter Package

The SMUS Research Environment Starter Package deploys a SageMaker Unified Studio (SMUS) environment for organizations with multiple research teams operating within a single AWS account. It provides a governed ML platform where teams collaborate on data and ML projects through the SMUS portal, with centralized identity management via IAM Identity Center.

 **SMUS Research Environment starter kit architecture** 

![SMUS Research Environment starter kit — multi-team SageMaker Unified Studio in one account.](https://docs.aws.amazon.com/solutions/latest/secure-ai-foundations/images/smus_research_environment.png)


This architecture is particularly effective when:

1. You have multiple research teams operating in a single account under shared governance.

1. You want self-service ML platform access via the SMUS portal.

1. You need team-based project isolation with SSO group membership.

## Governance Components
<a name="governance-components"></a>
+  **Glue Catalog** - KMS encryption at the account level
+  **IAM Roles** - Domain and data administration roles
+  **Lake Formation Settings** - Account-level governance for fine-grained data access
+  **Audit** - Encrypted S3 audit bucket and CloudTrail trail for S3 data events
+  **Data Lake** - S3 bucket for research data, onboarded as team1’s SMUS data source

## SMUS Components
<a name="smus-components"></a>
+  **SMUS Domain** - DataZone V2 domain with IAM Identity Center SSO integration
+  **Project Profiles** - Standardized team environments
+  **Team Projects** - Team1 and team2 projects with SSO group membership
+  **S3 Data Source** - The `research-data` connection, which registers the `raw/` prefix of the research data bucket as a data source in team1’s project

## Deployment Instructions
<a name="deployment-instructions-9"></a>

### Manual CLI Deploy Method
<a name="manual-cli-deploy-method-9"></a>

#### Prerequisites
<a name="prerequisites-9"></a>

Before deploying the SMUS Research Environment Starter Package using the CLI method, verify you have:

1. AWS CLI configured with appropriate credentials

1. Node.js 22.x or later and npm/npx 10.x or later installed

1. AWS CDK bootstrapped in your target account and region. The account should be part of an AWS Organization for full Identity Center support.

1. IAM Identity Center enabled in the deployment region, with SSO groups created for team1 and team2.
**Note**  
If deploying to an account not part of an AWS Organization, you must deploy in the same region where IAM Identity Center is enabled, or deployment will fail with `IDC not enabled (Service: DataZone, Status Code: 400)`.

1. A VPC with at least 2 private subnets. Subnets must have connectivity to AWS service endpoints via a NAT Gateway or VPC endpoints for SageMaker API, DataZone, STS, S3, and CloudWatch Logs.

#### Deployment Steps
<a name="deployment-steps-9"></a>

 **Step 1: Scaffold your project** 

```bash
npx @aws-mdaa/cli init my_smus_research --starter-kit smus_research_environment
cd my_smus_research
```

 **Step 2: Configure your deployment** 
+ Edit `mdaa.yaml`:

```
organization: <your-unique-org-name>
context:
  team1-group-sso-id: <SSO group name for team1>
  team2-group-sso-id: <SSO group name for team2>
  vpc_id: <your vpc id>
  private_subnet_id1: <private subnet id>
  private_subnet_id2: <private subnet id>
```

 **Step 3: Deploy the solution** 

```bash
npx @aws-mdaa/cli ls
npx @aws-mdaa/cli synth
npx @aws-mdaa/cli deploy
```

 **Step 4: Verify deployment** 
+ Verify the SMUS domain, project profiles, and team projects are visible in the SageMaker Unified Studio console.
+ Verify the `<org>-dev-shared-datalake-research` S3 bucket has been created.

## Usage Instructions
<a name="usage-instructions-9"></a>

1.  **Access the SMUS portal** — Sign in via IAM Identity Center; users are routed based on their SSO group membership.

1.  **Team projects** — Team1 and team2 each have an isolated project. Members can access shared data via Lake Formation governance.

1.  **Add data sources** — Register Glue databases as data sources in your team’s SMUS project for analytics and ML workflows.

1.  **Read the research data source** — In the `team1` project, navigate to **Data** > **S3 buckets** (and **Connections**) and confirm that the `research-data` connection appears. Reading objects through it requires a post-deploy access grant and a second deploy, because team1’s SMUS environment role doesn’t exist until the `sagemaker-project` module has deployed:
   + In the SMUS portal, open the `team1` project’s **Project overview** and copy its environment user role ARN.
   + In `shared/datalake.yaml`, add that ARN under `roles` and add an `accessPolicies` entry that grants it `ReadRoles` on the `raw/` prefix.
   + Redeploy the `datalake` module.

For more detailed information, refer to the README.md and USAGE.md files in the starter\_kits/smus\_research\_environment directory of the MDAA repository.