cs-icon.svg

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.
      Configure-Trigger.png
    7. Within the Configure Trigger step, click the Contentstack connector.
      Select_the_Trigger.png
    8. Click the Entry Trigger event.
      Select-Entry-Trigger.png
    9. Click + Add New Account to add your Contentstack account.
      Add-New-Account.png
    10. Select the Event and the Stack for which you want to configure the trigger.
       Select-Event-Stack.png
    11. Once done, click Proceed.
    12. Click Test Trigger.
      Test-Trigger.png
    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-Configure-Action-Step.png
    2. Click Action Step to configure third-party services.
      Select-Action-Step.png
    3. Within the Configure Action Step, click the AWS S3 connector.

      Note: You can sort and search the connector(s) based on the filter.

      Select_AWS_S3_Connector.png
    4. Select the Create New Object action.
      Select-AWS-Action.png
    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.
      AWS-S3-Fields.png
    7. Click Test Action.
      Test-Action.png

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

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

Was this article helpful?
^