<commit_before>#+TITLE: Cloudstrap
#+SUBTITLE: Strapping Boots to Clouds
#+LATEX: \pagebreak

* Overview

=cloudstrap= straps your boots to the cloud. Think of it as sort of a
meta-bootstrap tool. It handles pre-bootstrapping, primarily. Once complete, you
should have an environment suitable for launching your bootstrapper.

* Why does this exist?

To simplify deployment by replacing manual process with glorious automation.

* Installation

#+BEGIN_SRC shell
  gem install --pre cloudstrap
#+END_SRC

* Usage

Simply run the automated bootstrap tool. You can configure it via ENV or =config.yaml=

#+BEGIN_SRC shell
 env BOOTSTRAP_WITHOUT_HUMAN_OVERSIGHT=true cloudstrap
#+END_SRC

The output describes the results, and all settings used in the process.

#+BEGIN_EXAMPLE
  # Cloudstrap v0.28.0.pre

  # General Configuration
  #   These settings can be configured via ENV or config.yaml

  BOOTSTRAP_REGION=us-west-2
  BOOTSTRAP_CACHE_PATH=/Users/colstrom/cloudstrap/.cache
  BOOTSTRAP_VPC_CIDR_BLOCK=10.0.0.0/16
  BOOTSTRAP_PUBLIC_CIDR_BLOCK=10.0.0.0/24
  BOOTSTRAP_PRIVATE_CIDR_BLOCK=10.0.1.0/24
  BOOTSTRAP_AMI_OWNER=099720109477
  BOOTSTRAP_UBUNTU_RELEASE=14.04
  BOOTSTRAP_INSTANCE_TYPE=t2.micro
  BOOTSTRAP_SSH_DIR=/Users/colstrom/cloudstrap/.ssh
  BOOTSTRAP_SSH_USERNAME=ubuntu
  BOOTSTRAP_HDP_DIR=/Users/colstrom/cloudstrap

  # Cached Configuration
  #   These settings can be overridden via ENV only

  BOOTSTRAP_USERNAME=colstrom
  BOOTSTRAP_UUID=97cb1464-cf44-479e-be47-9a212131ad4c
  BOOTSTRAP_TAG=lkg@colstrom/97cb1464-cf44-479e-be47-9a212131ad4c
  BOOTSTRAP_AMI=ami-70b67d10
  BOOTSTRAP_VPC_ID=vpc-0e93a16a
  BOOTSTRAP_INTERNET_GATEWAY_ID=igw-942af8f0
  BOOTSTRAP_JUMPBOX_SECURITY_GROUP=sg-43f9183a
  BOOTSTRAP_PRIVATE_SUBNET_ID=subnet-b7047dc1
  BOOTSTRAP_PUBLIC_SUBNET_ID=subnet-9c1c65ea
  BOOTSTRAP_ROUTE_TABLE_ID=rtb-9d28dcfa
  BOOTSTRAP_AVAILABILITY_ZONE=us-west-2b
  BOOTSTRAP_JUMPBOX_ID=i-051c248563a2c3f54
  BOOTSTRAP.JUMPBOX_IP=172.16.31.10
  BOOTSTRAP_WITHOUT_HUMAN_OVERSIGHT=true

  # Additional Information
  #   These do not need configuration, and are presented as a debugging checklist
<commit_msg>Fix typo in README.org's config setting<commit_after>#+TITLE: Cloudstrap
#+SUBTITLE: Strapping Boots to Clouds
#+LATEX: \pagebreak

* Overview

=cloudstrap= straps your boots to the cloud. Think of it as sort of a
meta-bootstrap tool. It handles pre-bootstrapping, primarily. Once complete, you
should have an environment suitable for launching your bootstrapper.

* Why does this exist?

To simplify deployment by replacing manual process with glorious automation.

* Installation

#+BEGIN_SRC shell
  gem install --pre cloudstrap
#+END_SRC

* Usage

Simply run the automated bootstrap tool. You can configure it via ENV or =config.yaml=

#+BEGIN_SRC shell
 env BOOTSTRAP_WITHOUT_HUMAN_OVERSIGHT=true cloudstrap
#+END_SRC

The output describes the results, and all settings used in the process.

#+BEGIN_EXAMPLE
  # Cloudstrap v0.28.0.pre

  # General Configuration
  #   These settings can be configured via ENV or config.yaml

  BOOTSTRAP_REGION=us-west-2
  BOOTSTRAP_CACHE_PATH=/Users/colstrom/cloudstrap/.cache
  BOOTSTRAP_VPC_CIDR_BLOCK=10.0.0.0/16
  BOOTSTRAP_PUBLIC_CIDR_BLOCK=10.0.0.0/24
  BOOTSTRAP_PRIVATE_CIDR_BLOCK=10.0.1.0/24
  BOOTSTRAP_AMI_OWNER=099720109477
  BOOTSTRAP_UBUNTU_RELEASE=14.04
  BOOTSTRAP_INSTANCE_TYPE=t2.micro
  BOOTSTRAP_SSH_DIR=/Users/colstrom/cloudstrap/.ssh
  BOOTSTRAP_SSH_USERNAME=ubuntu
  BOOTSTRAP_HDP_DIR=/Users/colstrom/cloudstrap

  # Cached Configuration
  #   These settings can be overridden via ENV only

  BOOTSTRAP_USERNAME=colstrom
  BOOTSTRAP_UUID=97cb1464-cf44-479e-be47-9a212131ad4c
  BOOTSTRAP_TAG=lkg@colstrom/97cb1464-cf44-479e-be47-9a212131ad4c
  BOOTSTRAP_AMI=ami-70b67d10
  BOOTSTRAP_VPC_ID=vpc-0e93a16a
  BOOTSTRAP_INTERNET_GATEWAY_ID=igw-942af8f0
  BOOTSTRAP_JUMPBOX_SECURITY_GROUP=sg-43f9183a
  BOOTSTRAP_PRIVATE_SUBNET_ID=subnet-b7047dc1
  BOOTSTRAP_PUBLIC_SUBNET_ID=subnet-9c1c65ea
  BOOTSTRAP_ROUTE_TABLE_ID=rtb-9d28dcfa
  BOOTSTRAP_AVAILABILITY_ZONE=us-west-2b
  BOOTSTRAP_JUMPBOX_ID=i-051c248563a2c3f54
  BOOTSTRAP_JUMPBOX_IP=172.16.31.10
  BOOTSTRAP_WITHOUT_HUMAN_OVERSIGHT=true

  # Additional Information
  #   These do not need configuration, and are presented as a debugging checklist

{'fraction_non_alphanumeric': 0.06456876456876456, 'fraction_numerical': 0.0662004662004662, 'mean_word_length': 5.462349397590361, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '699072', 'n_tokens_mistral': 1908, 'n_tokens_neox': 1696, 'n_words': 325}