View a markdown version of this page

Prerequisites for using Amazon Location Service - Amazon Location Service

Prerequisites for using Amazon Location Service

This section describes what you need to do to use Amazon Location Service. You must have an AWS account and have set up access to Amazon Location for users that want to use it.

Sign up for an AWS account

To get started with AWS, you need an AWS account. For information about creating an AWS account, see Getting started with an AWS account in the AWS Account Management Reference Guide.

Grant access to Amazon Location Service

Your non-admin users have no permissions by default. Before they can access Amazon Location, you must grant permission by attaching an IAM policy with specific permissions. Make sure to follow the principle of least privilege when granting access to resources.

Note

For information about giving unauthenticated users access to Amazon Location Service functionality (for example, in a web-based application), see Grant access to Amazon Location Service.

The following example policy gives a user permission to access all Amazon Location operations. For more examples, see Identity-based policy examples for Amazon Location Service.

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

To provide access, add permissions to your users, groups, or roles:

When creating applications that use Amazon Location Service, you may need some users to have unauthenticated access. For these use cases, see Enabling unauthenticated access using Amazon Cognito.