Backup Entries or Assets to AWS S3
The Backup Entries/Assets to S3 use case shows how you can use Contentstack s Automate to automate backing up entries or assets to an AWS S3 bucket.
The AWS Simple Storage Service (S3) is a cloud-based storage service provided by Amazon that allows users to store any amount of data for virtually any use case.
Let s look at the steps in more detail.
Configure Entry Trigger to Backup Entries or Assets to AWS S3
- Log in to your Contentstack account and click the Automate icon.
- Click + New Project to add a new project.
- Click + New Automation.
- Enter the Automation Name and Description.
- Click Create.
- Click Configure Trigger from the left navigation panel.Click to enlarge
- Within the Configure Trigger step, click the Contentstack connector.Click to enlarge
- Click the Entry Trigger event.Click to enlarge
- Click + Add New Account to add your Contentstack account.Click to enlarge
- Select the Event and the Stack for which you want to configure the trigger.
Click to enlarge - Once done, click Proceed.
- Click Test Trigger.Click to enlarge
- Click Save and Exit.
Add an Asset
The next step requires you to add an asset to the AWS S3 bucket.
To add an asset, follow the given instructions:- Click Configure Action Step from the left navigation panel. Click to enlarge
- Click Action Step to configure third-party services.Click to enlarge
- Within the Configure Action Step, click the AWS S3 connector.
Note You can sort and search the connector(s) based on the filter.
Click to enlarge - Select the Create New Object action.Click to enlarge
- Click + Add New Account to add your AWS S3 account.
- Add Bucket name, File Name, and Content details in their respective fields. Once done, click Proceed.Click to enlarge
- Click Test Action.Click to enlarge
- Once the action is successfully executed, click Save and Exit to finish the process.Click to enlarge
- Navigate to your AWS S3 bucket and check for the recently uploaded asset. You can view the details in the Object overview section.Click to enlarge
This sets the Backup Entries/Assets to AWS S3 scenario.
- Click Configure Action Step from the left navigation panel.