Backup Entries or Assets to AWS S3

The Backup Entries/Assets to S3 use case shows how you can use Contentstack s Automation Hub 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.

  1. Configure Entry Trigger to Backup Entries or Assets to AWS S3

    1. Log in to your Contentstack account and click the  Automations Hub  icon.
    2. Click + New Project to add a new project.
    3. Click + New Automation.
    4. Enter the Automation Name and Description.
    5. Click Create.
    6. Click Configure Trigger from the left navigation panel.
    7. Within the Configure Trigger step, click the Contentstack connector.
    8. Click the Entry Trigger event.
    9. Click + Add New Account to add your Contentstack account.
    10. Select the Event and the Stack for which you want to configure the trigger.
    11. Once done, click Proceed.
    12. Click Test Trigger.
    13. Click Save and Exit.
  2. 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:

    1. Click Configure Action Step from the left navigation panel. 
    2. Click Action Step to configure third-party services.
    3. Within the Configure Action Step, click the AWS S3 connector.
    4. Select the Create New Object action.
    5. Click + Add New Account to add your AWS S3 account.
    6. Add Bucket name, File Name, and Content details in their respective fields. Once done, click Proceed.
    7. Click Test Action.

    8. Once the action is successfully executed, click Save and Exit to finish the process.
    9. Navigate to your AWS S3 bucket and check for the recently uploaded asset. You can view the details in the Object overview section.

    This sets the Backup Entries/Assets to AWS S3 scenario.

Was this article helpful?