NextCloud: Heroku: Install: Setup S3 Database Bucket(s): Main Bucket

From Gratiel's Wiki

Create Main Bucket

Finally we are ready to create the Main Bucket for the DB.

  • The type of bucket will simply be db
  • The region will be back in Virginia, east-1
S3 - Main - Name & Region

n the Review Screen, we also want to check:

  • Versioning
  • Server access logging

This is where we are going to link up our Log Bucket from the previous Instructions.

S3 - Main - Config Options

And as before, make sure to Block all public access.

S3 - Set Permissions

You can now see the new bucket in the list.

S3 - List Bucket 4

Review, and select Create bucket

S3 - Review

Set Up Replication

Select the bucket now, and lets navigate to the review to the Management section, and then Replication section.

S3 - Main - Replication

We are going to create a new Replication Rule. Select Add Rule. Make sure that the Source is set to the Entire Bucket. Select Next when completed.

S3 - Main - Replication Rule - Set Source

The Destination with be the duplication bucket we created in Oregon. Select Next when completed.

S3 - Main - Replication Rule - Set Destination


Set the IAM role to Create new role. Also, set the Rule name to be something unique. My recommendation is to:

  • Use the app name
  • Label from the source region to the destination region, from-east1-to-west2
  • Finally, end the label with -role

Select Next when completed.

S3 - Main - Replication Rule - Configure Options


Review and Save the new rule.

S3 - Main - Replication Rule - Review and Save

New rule is now saved, and replication is in order.

S3 - Main - Replication Rule - List

Return