Skip to content

Latest commit

 

History

History
88 lines (61 loc) · 4.19 KB

README.md

File metadata and controls

88 lines (61 loc) · 4.19 KB

Chef Habitat Builder on-prem

Umbrella Project: Chef Habitat

Project State: Active

Issues Response SLA: 5 business days

Pull Request Response SLA: 5 business days

Introduction

This repository contains scripts and documentation to install Chef Habitat Builder on-prem services. The Chef Habitat Builder on-prem services allow privately hosting Chef Habitat packages and associated artifacts such as keys on-premise. Chef Habitat clients, such as the hab cli, Supervisors and Studios, can be pointed to the Chef Habitat Builder on-prem to allow for development, execution, and management without depending on the public Chef Habitat services.

Audience

This repository is intended for use by any one who wishes to host Chef Habitat packages in their own infrastructure. Users should be prepared to actively update their installations to benefit from continued improvements and updates.

Requirements

The following are minimum requirements for installation/deployment of the Chef Habitat Builder on-prem:

  • Services should be deployed on a Chef Habitat supported Linux OS
  • OS should support systemd process manager
  • Deployment to bare-metal, VM or container image
  • CPU / RAM should be appropriate for the deployment purpose:
    • 2 CPU/4 GB RAM for trial deployments
    • 16 CPU/32 GB RAM for production deployments
  • Significant free disk space
    • 2GB for the baseline Chef Habitat Builder on-prem services
    • 15GB+ for the latest Chef Habitat Builder core packages
    • 30GB+ for downloading and expanding the core package bootstrap in the volume containing the /tmp directory
  • Chef recommends:
    • 50 GB disk space for trial deployments
    • 100 GB disk space for production deployments
  • Outbound network (HTTPS) connectivity to WAN is required for the initial install
  • Inbound network connectivity from LAN (HTTP/HTTPS) is required for internal clients to access the Chef Habitat Builder on-prem
  • OAuth2 authentication provider (Chef Automate v2, Azure AD, GitHub, GitHub Enterprise, GitLab, Okta and Bitbucket (cloud) have been verified - additional providers may be added on request)

Functionality

Once installed, the following functionality will be available to users:

  • Logging into the Chef Habitat Builder on-prem web site
  • Creation of origins, keys, access tokens, etc
  • Invitation of users to origins
  • Upload and download of Chef Habitat packages
  • Promotion and demotion of Chef Habitat packages to channels
  • Normal interactions of the hab client with the Chef Habitat Builder API
  • Package builds using the hab client and Chef Habitat Studio
  • Ability to import core packages from the upstream Chef Habitat Builder

The following Chef Habitat Builder on-prem functionalities are NOT currently available:

  • Automated package builds using Chef Habitat Builder on-prem
  • Automated package exports using Chef Habitat Builder on-prem

Documentation

The documentation for Builder on-prem is located in the on-prem-docs directory.

Index

Installation

  1. Getting Started
  2. Builder + Automate OR Builder + OAuth Authentication (AzureAD/Github/GitLab/Okta/BitBucket)
  3. Bootstrap Core Packages

Reference

  1. Example builder.env
  2. Logging
  3. License
  4. Troubleshooting

Managing Builder On-Prem

  1. Managing the Builder On-Prem Postgres Installation
  2. Managing the Builder On-Prem Minio Installation
  3. Using Artifactory with Builder On-Prem
  4. High Availability / Disaster Recovery
  5. Scaling Frontends
  6. SSL Certificate Rotation

Data Migration to Chef Automate deployed Builder

  1. Data migration