Coder Social home page Coder Social logo

redpointglobal / rp-realtime-playbook-gcp Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 329 KB

Redpoint Realtime (RTD) helps businesses unlock contextually relevant experiences that meet customer expectations, at each step of the journey - with real-time engagement, decisions and interactions. This repo contains Terraform scripts playbook to deploy and configure a High Traffic - Low Latency infrastructure blueprint to support Redpoint Realtime Decisions (RTD) for MAYO

HCL 100.00%
realtime-decision redpoint-global

rp-realtime-playbook-gcp's Introduction

rp_cdp_logo

Redpoint Realtime Decisions (RTD) - Infrastructure Playbook (GCP)

Redpoint Realtime (RTD) helps businesses unlock contextually relevant experiences that meet customer expectations, at each step of the journey - with real-time engagement, decisions and interactions.

This repo contains Terraform scripts for deploying the supporting insfrastructure in the Google Cloud Platform (GCP)

Assumptions

This High Traffic blueprint should support:

  • Average <100 ms response times
  • Support the avg response times up to a rate of 10K requests/second
  • Assuming up to 50 million visitor profiles
  • Assuming Visitor Profile size of < 2KB
  • Assuming NoSQL Realtime Aux DB document of < 2KB
  • Assuming Request of Multiple decisions only makes 1 CAL db request

Requirements

Before this playbook can be executed on a project, you must ensure that the following pre-requisites are fulfilled:

  • Terraform is installed on the machine executing the scripts.
  • The Service Account used by Terraform has permissions to create resources in the target Google Project
  • The following Google APIs are active on the project.
- bigquery.googleapis.com
- bigtableadmin.googleapis.com
- bigtabletableadmin.googleapis.com
- iam.googleapis.com
- bigtable.googleapis.com

Resources

This playbook creates the following resources in the permitted GCP project

- Bigtable Instance
- Bigtable Tables
- BigQuery Datasets
- Cloud Storage Bucket
- Bigtable Table IAM permission assignment
- BigQuery Dataset IAM permission assignment
- Cloud Storage Bucket IAM permission assignment

Access Permissions

Google Cloud IAM supports policies for clients that are not project members. A service account in the Redpoint project that needs access to BigQuery and Bigtable data in the Customer project, can be assigned an IAM policy granting the service account the appropriate role

Permissions in Bigtable

The Redpoint Application will need the capability to Read-write access to all Bigtable data, without the ability to create new clusters or tables, or scale existing clusters

roles/bigtable.user

Permissions in BigQuery

The Redpoint Application will need the capability to Read and update data and metadata for the table or view.

roles/bigquery.dataEditor
roles/bigquery.jobUser
roles/bigquery.dataViewer
roles/bigquery.user

Permissions in Cloud Storage

The Redpoint Application will need full control over objects, including listing, creating, viewing, and deleting objects.

roles/storage.objectAdmin

rp-realtime-playbook-gcp's People

Contributors

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