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.

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

    1. Log in to your Contentstack account and click the Automate  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.
      Click to enlarge
    7. Within the Configure Trigger step, click the Contentstack connector.
      Click to enlarge

    8. Click the Entry Trigger event.
      Click to enlarge
    9. Click + Add New Account to add your Contentstack account.
      Click to enlarge
    10. Select the Event and the Stack for which you want to configure the trigger.
       
      Click to enlarge
    11. Once done, click Proceed.
    12. Click Test Trigger.
      Click to enlarge
    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. 
      Click to enlarge
    2. Click Action Step to configure third-party services.
      Click to enlarge
    3. 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
    4. Select the Create New Object action.
      Click to enlarge
    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.
      Click to enlarge

    7. Click Test Action.
      Click to enlarge


    8. Once the action is successfully executed, click Save and Exit to finish the process.
      Click to enlarge

    9. 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.