Git Product home page Git Product logo

couchbase-eventing-to-s3's Introduction

About this repository

This simple eventing function is written as a working example of how to ensure mutations from your Couchbase bucket(s) are copied to an AWS S3 bucket.

How To

For this eventing function to work properly, you must create an AWS S3 bucket in your account. Keep in mind, that you will have to set the appropriate permissions on your bucket that adhere to you specific security needs. We will no make any recommendations on security best practices, as this is dependent on your environment and business requirements.
Step1: Create an S3 bucket in your AWS account
Step 2: Configure your S3 access to allow the eventing function to communicate with S3
Step 3: Configure your eventing function in your Couchbase cluster. The settings for your function will be dependent on your needs, so no formal recommendations are made here.
Step 4: Copy this eventing function into your Eventing node on your Couchbase cluster and save the function---do NOT deploy it yet!
Step 5: Modify the path key in the request object to point to your S3 bucket path
Step 6: Deploy your Eventing function and either create a new document in your bucket or modify an existing document. Once the mutation is complete, check your S3 bucket to ensure the document was written to S3.
  • Note: the most common issue that we have seen, is around S3 bucket permissions. So, if your documents are not being written as expected, double check your permissions.

couchbase-eventing-to-s3's People

Contributors

jadtalbert avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.