Skip to content

Commit cddb473

Browse files
authored
feat: add datazone domain import documentation (#4777)
1 parent 378bed5 commit cddb473

9 files changed

+1331
-0
lines changed

ml_ops/sm-datazone_import/README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# DataZone Import SageMaker Domain
2+
3+
This example contains python scripts to import an existing SageMaker Domain into DataZone. Intended to be ran by administrators.
4+
5+
## Setup
6+
7+
1. Add the byod service model
8+
9+
```bash
10+
aws configure add-model --service-model file://resources/datazone-linkedtypes-2018-05-10.normal.json --service-name datazone-byod
11+
```
12+
13+
2. Create a federation role
14+
15+
This role will be used by DataZone to launch the SageMaker Domain. See [BringYourOwnDomainResources.yml](.resources/BringYourOwnDomainResources.yml) for an example.
16+
17+
### Prerequisites
18+
19+
- SageMaker Domain with users.
20+
- DataZone Domain and Project with users.
21+
- Have a good idea on which SageMaker users should map to which DataZone users.
22+
23+
#### Limitations
24+
25+
- DataZone Domain and SageMaker Domain must be in the same region.
26+
27+
### Running the script
28+
29+
Run the script and follow the instructions.
30+
31+
```bash
32+
python import-sagemaker-domain.py \
33+
--region REGION \
34+
--federation-role ARN_OF_FEDERATION_ROLE \
35+
--account-id ACCOUNTID
36+
```
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)