Skip to main content

Step 1 of 12

Creating an S3 Bucket

Go to the S3 Management Console in AWS.

S3 console

Click Create bucket.

Create bucket button

We'll create a basic S3 bucket (see S3 FAQ for details).

General configuration:

  • Bucket name — choose a unique name.
  • AWS Region — choose the same region as your EC2.

Bucket general config

CORS configuration

At Permissions → Cross-origin resource sharing (CORS), set:

[
{
"AllowedHeaders": ["*"],
"AllowedMethods": ["HEAD", "GET", "PUT", "DELETE"],
"AllowedOrigins": ["*"],
"ExposeHeaders": ["ETag"],
"MaxAgeSeconds": 3000
}
]

This allows Stellar to access pre-signed URLs issued by the Task Server.

The rest of the options can remain as default for this tutorial.