Set up an Amazon S3 bucket for PlayFab event archiving

This article 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 create 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 through a four-step wizard:

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

Amazon S3 - Create bucket - enter bucket name

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

  1. Select the Next button when you're done.

Amazon S3 - Create bucket - add versioning

  1. During the step shown below, make sure that you check the Read/Write boxes for access to objects.
  2. Select the Next button when you're 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 with 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'll need both keys when configuring your PlayFab Event archiving.
  4. Select the Close button.

Amazon S3 - Save Access Key data