Amazon SageMaker Prerequisites
Before you can get set up with Amazon SageMaker:
-
Required: You will need to create an Amazon Web Services (AWS) account to get access to all of the AWS services and resources for the account.
-
Highly recommended: We highly recommend that you create an administrative user to manage AWS resources for the account, to adhere to the Security best practices in IAM. It is assumed that you have an administrative user for many of the administrative tasks throughout the SageMaker developer guide.
-
Optional: Configure the AWS Command Line Interface (AWS CLI) if you intend to manage your AWS services and resources for the account using the AWS CLI.
Topics
Sign up for an AWS account
If you do not have an AWS account, complete the following steps to create one.
To sign up for an AWS account
Follow the online instructions.
Part of the sign-up procedure involves receiving a phone call and entering a verification code on the phone keypad.
When you sign up for an AWS account, an AWS account root user is created. The root user has access to all AWS services and resources in the account. As a security best practice, assign administrative access to a user, and use only the root user to perform tasks that require root user access.
AWS sends you a confirmation email after the sign-up process is
complete. At any time, you can view your current account activity and manage your account by
going to https://aws.amazon.com/
Create a user with administrative access
After you sign up for an AWS account, secure your AWS account root user, enable AWS IAM Identity Center, and create an administrative user so that you don't use the root user for everyday tasks.
Secure your AWS account root user
-
Sign in to the AWS Management Console
as the account owner by choosing Root user and entering your AWS account email address. On the next page, enter your password. For help signing in by using root user, see Signing in as the root user in the AWS Sign-In User Guide.
-
Turn on multi-factor authentication (MFA) for your root user.
For instructions, see Enable a virtual MFA device for your AWS account root user (console) in the IAM User Guide.
Create a user with administrative access
-
Enable IAM Identity Center.
For instructions, see Enabling AWS IAM Identity Center in the AWS IAM Identity Center User Guide.
-
In IAM Identity Center, grant administrative access to a user.
For a tutorial about using the IAM Identity Center directory as your identity source, see Configure user access with the default IAM Identity Center directory in the AWS IAM Identity Center User Guide.
Sign in as the user with administrative access
-
To sign in with your IAM Identity Center user, use the sign-in URL that was sent to your email address when you created the IAM Identity Center user.
For help signing in using an IAM Identity Center user, see Signing in to the AWS access portal in the AWS Sign-In User Guide.
Assign access to additional users
-
In IAM Identity Center, create a permission set that follows the best practice of applying least-privilege permissions.
For instructions, see Create a permission set in the AWS IAM Identity Center User Guide.
-
Assign users to a group, and then assign single sign-on access to the group.
For instructions, see Add groups in the AWS IAM Identity Center User Guide.
When you create an administrative user to set up SageMaker, the administrative user should include specific permissions to create SageMaker resources. To view the permissions, expand the following administrator permissions section.
When you create your administrative user using the preceding instructions, your
administrative user should already include the permissions contained in the AmazonSageMakerFullAccess
If you intend to create your own custom policy, these permissions are required to create a domain and get set up with SageMaker. For information about adding policies, see Adding and removing IAM identity permissions in the AWS Identity and Access Management User Guide.
{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "sagemaker:*" ], "Resource": [ "arn:aws:sagemaker:*:*:domain/*", "arn:aws:sagemaker:*:*:user-profile/*", "arn:aws:sagemaker:*:*:app/*", "arn:aws:sagemaker:*:*:flow-definition/*" ] }, { "Effect": "Allow", "Action": [ "iam:GetRole", "servicecatalog:*" ], "Resource": [ "*" ] } ] }
Optional: If you intend to manage your AWS services and resources for the account using the AWS CLI, proceed to the following instructions ((Optional) Configure the AWS CLI).
After you have completed your prerequisites, continue on to the setup instructions. You can continue on to your setup instructions by choosing one of the following options.
-
Quick setup: Fastest setup for individual users with default settings.
-
Custom setup: Advanced setup for enterprise Machine Learning (ML) administrators. Ideal option for ML administrators setting up SageMaker for many users or an organization.
(Optional) Configure the AWS CLI
To manage your domain and other AWS services and resources using the AWS CLI, complete the setup in Set up the AWS CLI in the AWS Command Line Interface User Guide for Version 2.
After you have completed your prerequisites, continue on to the setup instructions. You can continue on to your setup instructions by choosing one of the following options.
-
Quick setup: Fastest setup for individual users with default settings.
-
Custom setup: Advanced setup for enterprise Machine Learning (ML) administrators. Ideal option for ML administrators setting up SageMaker for many users or an organization.