Set Up Amazon SageMaker Prerequisites - Amazon SageMaker
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

Set Up Amazon SageMaker Prerequisites

In this section, you sign up for an Amazon account and create an Amazon Identity and Access Management (IAM) admin user.

If you're new to SageMaker, we recommend that you read How Amazon SageMaker Works.

Create an Amazon Account

In this section, you sign up for an Amazon account. If you already have an Amazon account, skip this step.

When you sign up for Amazon Web Services (Amazon), your Amazon account is automatically signed up for all Amazon services, including SageMaker. You are charged only for the services that you use.

To create an Amazon account

  1. Open

  2. 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 Amazon Web Services account, an Amazon Web Services account root user is created. The root user has access to all Amazon Web Services and resources in the account. As a security best practice, assign administrative access to an administrative user, and use only the root user to perform tasks that require root user access.

Write down your Amazon account ID because you'll need it for the next task.

Create an IAM Administrator User and Group

When you create an Amazon account, you get a single sign-in identity that has complete access to all of the Amazon services and resources in the account. This identity is called the Amazon account root user. Signing in to the Amazon console using the email address and password that you used to create the account gives you complete access to all of the Amazon resources in your account.

We strongly recommend that you not use the root user for everyday tasks, even the administrative ones. Instead, adhere to the Create Individual IAM Users, an Amazon Identity and Access Management (IAM) administrator user. Then securely lock away the root user credentials and use them to perform only a few account and service management tasks.

To create an administrator user

  1. Create an administrator user in your Amazon account. For instructions, see Creating Your First IAM User and Administrators Group in the IAM User Guide.


    We assume that you use administrator user credentials for the exercises and procedures in this guide. If you choose to create and use another IAM user, grant that user minimum permissions. For more information, see Authenticating with Identities.

  2. Ensure that your administrator user has the AmazonSageMakerFullAccess policy, as well as a policy with the following content needed to create a SageMaker domain. For more information about creating IAM policies, see Creating IAM policies.

    { "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": [ "*" ] } ] }