GithubHelp home page GithubHelp logo

isabella232 / freebsd-vpc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from joyent/freebsd-vpc

0.0 0.0 0.0 10.12 MB

Control plane for `projects/VPC` branch of `joyent/freebsd`

License: BSD 2-Clause "Simplified" License

Makefile 1.68% Go 94.41% Ruby 1.54% Shell 2.37%

freebsd-vpc's Introduction

vpc - FreeBSD Virtual Private Cloud ("VPC")

Vagrant

A version of VPC can be run under Vagrant using VMWare Fusion or Workstation. This is distributed across multiple boxes which makes it suitable for some types of development, as well as for creating disposable environments for integration testing. The development environment consists of a compilation machine, a three-node CockroachDB cluster and (optionally) compute nodes.

The CockroachDB cluster uses the TLS certificates in vagrant/certs both for client authentication and encryption of intra-node traffic.

To build an environment consisting of a three-node CockroachDB cluster and a box with the compiler and relevant development tools installed, run the following command in the root directory of the repository:

vagrant up crdb1 crdb2 crdb3 compile

The following dependencies must be installed on the host:

  • Vagrant
  • VMWare Fusion 10 or VMWare Workstation 141
  • Vagrant VMWare Plugin for Fusion or Workstation respectively
  • vagrant-winnfs if running on a Windows host

vpc Command Shell Auto Completion

Assuming shells/bash-completion has already been installed, add the following to your ~/.bashrc:

[[ $PS1 && -f /usr/local/share/bash-completion/bash_completion.sh ]] && \
    source /usr/local/share/bash-completion/bash_completion.sh
[[ $PS1 && -f `go env GOPATH`/src/github.com/sean-/vpc/docs/bash.d/vpc.sh ]] && \
    source `go env GOPATH`/src/github.com/sean-/vpc/docs/bash.d/vpc.sh

Footnotes

[1]: It is possible to build boxes for Virtualbox, but since nested virtualization is not supported under Virtualbox, it is not possible to test running instances in virtual machines.

freebsd-vpc's People

Contributors

gwydirsam avatar jen20 avatar sean- avatar stack72 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.