24. SageMaker VSCode Connecting S3
24. SageMaker VSCode Connecting S3
SageMaker VSCode Connecting S3
Prerequisites
1. Why we should set connecting S3
If SageMake should create network with S3, because it is located in private subnet. That’s why we’re building the network, vpc, subnet, igw, nat network.
If we want to allow to authorize approaching S3, we should create Roles for it.
- STS timeout = Network issue
- S3 AccessDenied = IAM authorization issue
1-1. Check role in SageMaker Project
1
aws sts get-caller-identity
1-2. Create S3
How to create S3: https://kcnote.github.io/posts/AWS-18-S3/
In this case, I’ll use name “my-sage-bucket-xxxxxxxx-ap-southeast-2-an”
And I make test-folder for test.
1-3. Add policy on role
1-4. Check whether it is allowed to approach s3 or not
This post is licensed under CC BY 4.0 by the author.






