Setting Up AWS Device Farm - AWS Device Farm

Setting Up AWS Device Farm

Before you use Device Farm for the first time, you must complete the following tasks:

Step 1: Sign Up for AWS

Sign up for Amazon Web Services (AWS).

If you do not have an AWS account, complete the following steps to create one.

To sign up for an AWS account

  1. Open https://portal.aws.amazon.com/billing/signup.

  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.

Step 2: Create or Use an IAM User in Your AWS Account

We recommend that you do not use your AWS root account to access Device Farm. Instead, create an AWS Identity and Access Management (IAM) user (or use an existing one) in your AWS account, and then access Device Farm with that IAM user.

For more information, see Creating an IAM User (AWS Management Console).

Step 3: Give the IAM User Permission to Access Device Farm

Give the IAM user permission to access Device Farm. To do this, create an access policy in IAM, and then assign the access policy to the IAM user, as follows.

Note

The AWS root account or IAM user that you use to complete the following steps must have permission to create the following IAM policy and attach it to the IAM user. For more information, see Working with Policies.

  1. Create a policy with the following JSON body. Give it a descriptive title, such as DeviceFarmAdmin.

    { "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "devicefarm:*" ], "Resource": [ "*" ] } ] }

    For more information on creating IAM policies, see Creating IAM Policies in the IAM User Guide.

  2. Attach the IAM policy you created to your new user. For more information on attaching IAM policies to users, see Adding and Removing IAM Policies in the IAM User Guide.

Attaching the policy provides the IAM user with access to all Device Farm actions and resources associated with that IAM user. For information about how to restrict IAM users to a limited set of Device Farm actions and resources, see Identity and Access Management in AWS Device Farm.

Next Step

You are now ready to start using Device Farm. See Getting Started.