Code Monkey home page Code Monkey logo

gcp-deployment-manager's Introduction

Google Cloud Deployment Manager for YugabyteDB

This repo contains a Google Cloud Deployment manager template to deploy YugabyteDB cluster on GCP. This is an automated deployment that can deploy a multi-zone YugabyteDB cluster to GCP. The deployed YugabyteDB cluster gets hosted on 3 nodes residing in 3 separate public subnets and create a universe among them. This repo is ideal to get you running a YugabyteDB cluster in a few steps.

Usage

Deploying on Google Cloud

Open in Google Cloud Shell

  • First clone this repo.
    $ git clone https://github.com/yugabyte/gcp-deployment-manager.git
    
  • Change current directory to cloned git repo directory
  • Use gcloud command to create deployment-manager deployment
    $ gcloud deployment-manager deployments create <your-deployment-name> --config=yugabyte-deployment.yaml
    
  • Wait for 5-10 minutes after the creation of all resources is complete by the above command.
  • Once the deployment creation is complete, you can describe it as shown below.
    $ gcloud deployment-manager deployments describe <your-deployment-name>
    
    In the output, you will get the YugabyteDB admin URL, JDBC URL, YSQL, YCQL and YEDIS connection string. You can use the admin URL to access admin portal.

gcp-deployment-manager's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gcp-deployment-manager's Issues

Update syntax for Python3

Scripts completes but with the following output:

WARNING: Create operation operation-1584931386873-5a17c984ed78f-9d294c50-1980b818 completed with warnings:

code: NOT_CRITICAL_ERROR
message: |-
The template is incompatible with Python3. Please fix the following errors:
Exception in instance.jinja
Traceback (most recent call last):
return template.render(resource)
return original_render(self, *args, **kwargs)
return self.environment.handle_exception(exc_info, True)
reraise(exc_type, exc_value, tb)
raise value.with_traceback(tb)
File "", line 36, in top-level template code
jinja2.exceptions.UndefinedError: 'dict object' has no attribute 'iteritems'
Resource: instance.jinja Resource: config
https://cloud.google.com/deployment-manager/docs/migrate-to-python3

Best way to make this more variable?

I want to use this to deploy but I want another type of instance and another region.
What is the best approach, clone and do a search&replace on all files?
Or can this be done with variables?

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.