Data
Last updated
Was this helpful?
Last updated
Was this helpful?
This guide goes over the steps to set up an S3 bucket to use to persist Grey Matter Data. These steps assume the AWS CLI is configured for your desired profile and region.
Choose the name of your desired S3 bucket, and run the following to create it:
You may get a warning that the bucket name is not available, if so choose a new name and rerun.
In your browser, open the and click on Policies
under Access Management in the left pane. Click Create Policy
.
In the JSON
tab, copy the following and paste it in. Replace <data-bucket-name>
with the name of the bucket you created in :
Click Review Policy
and name the policy gmdata-s3
. Create policy.
This policy will give a user for Grey Matter Data access to the bucket.
Now create an IAM user named gm-data
:
To attach the policy created in step 2, run:
The output will look like this:
Copy the value in the Arn
field from the output, fill it into <policy-arn>
, and run the following:
To get programmatic access credentials for the user created in step 3, run:
Immediately save the credentials for AccessKeyId
and SecretAccessKey
somewhere secure and accessible during the Grey Matter installation.
You are now ready to install Grey Matter Data to persist to S3!