Git Product home page Git Product logo

cloudbreak-hcp's Introduction

HCP Cloudbreak Launcher

First setup cloudbreak and install the cloudbreak CLI on your machine, don't forget to configure it to your cloudbreak deployer.

Run mpack.sh to register the required mpacks with cloudbreak, this may show a failure on already registered mpacks, this is not a problem and can be ignored.

Run blueprint.sh to upload the default blueprint for HCP.

Run recipes.sh to upload the receipe scripts used.

Run python cluster.py --name NAME_YOUR_CLUSTER to deploy an HCP cluster, then log in to cloudbreak and watch it go.

Options

You can change the aws region and zone by adding aws: zone: us-east-2a region: us-east-2

also below values needs to be chaged based on the cloud provider

credentialName: cloudbreak-credential

hcpVersion: hcp version to be installed

cloudProvider: Cloud provider values can be (aws, ycloud, openstack)

yarnQueue: yarn queue if the cloud provider is 'ycloud' else neglect

to the config yaml.

You can force passwords and kerberos keys in config.yaml file. Any key set to RANDOM will get a 16 digit generated complex password.

Template changes (advanced)

template-xxx.j2 (aws or ycloud based on the cloud provider selected) is processed as a jinja template to create the cloudbreak template for each run. The temporary template actually used is deleted. You can change things like spot price, and instance types, mpack version to be installed in the template-xxx.j2 file if you know what you're doing with Cloudbreak.

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.