How to a create a SageMaker Execution role

As a managed service, Amazon SageMaker performs operations on your behalf on other AWS services.

To authorize SageMaker to do these operations, it is necessary to provide a role to AWS SageMaker. The script below creates a role name SagemakerRole with full access to S3.

WARNING: This policy gives full S3 access to the container that is running in SageMaker. You can change this policy to a more restrictive one, or create your own policy.

Related Articles:

--

--

Márcio Dos Santos
ml-bytes - Code snippets on how to productionize Machine Learning models

Passionate about the engineering side of Machine Learning and training performance. Designed TensorFlow for AWS SageMaker. Opinions are my own.