Set up an Amazon S3 bucket for PlayFab event archiving

This topic describes how to set up an Amazon S3 bucket so that you can archive your PlayFab events to it.

Setting up Amazon S3 bucket

Once you have created an Amazon account:

  1. Navigate to Services.
  2. Select S3.

Select Amazon S3

  • The S3 page contains an overview of all your buckets.
  • Select the Create bucket button to create a new bucket.

Amazon S3 - Create bucket
To create your new S3 bucket, you must go though a 4-step wizard:

  1. Assign a unique, DNS-compliant Bucket name for your bucket. Remember this name, you will need it when configuring your PlayFab event archiving.
  2. When you are done, select the Next button.

Amazon S3 - Create bucket - enter bucket name

You will be offered the option of adding Versioning, Logging, and Tags for your Bucket.

  1. Select the Next button when you are done.

Amazon S3 - Create bucket - add versioning

  1. During the step shown below, make sure that you have checked the Read/Write boxes for access to objects.
  2. Select the Next button when you are done, as shown below.

Amazon S3 - Create bucket - enable read/write

  1. In this last step, double-check your settings, and select the Create bucket button, as shown below.

Amazon S3 - Create bucket - check settings

Configuring Amazon access

In order to archive events, you will need to give PlayFab access to the bucket on your behalf. This is done by means of an Access Key.

  1. Double-check that you have your newly created bucket in the list of S3 services.
  2. Select your account Name in the top right corner.
  3. Then select My Security Credentials, as shown in the drop-down menu below.

Amazon S3 - Open My Security Credentials

  • Locate the Access Key list.
  • Select the Create New Access Key button.

Amazon S3 - Security Credentials - Open Create Access Key

  1. Expand the Access Key data.
  2. Save the Access Key ID.
  3. Save the Secret Access Key. You will need both keys when configuring your PlayFab Event archiving.
  4. Select the Close button.

Amazon S3 - Save Access Key data