Chef Upgrade and Migration environment
Enterprise Automation Stack Environment
EAS based code to build an environment to demonstrate a Chef15 upgrade and Effortless Pattern Migration
Included Versions of Chef Software Packages
Package |
Version |
Chef Server |
12.1.2 |
(Chef) Opscode Manage |
|
ChefDK (Chef Workstation) |
|
Chef Client |
|
In Use Versions of Non-Chef Software Packages
Package |
Version |
Terraform |
latest |
VSphere |
|
CentOS |
|
Quickstart
Chef server setup
Digital Ocean Chef Server
VMWare Chef Server
Content setup
cd chef-repo
berks install
berks upload --no-ssl-verify
knife role from file roles/base.rb
Bootstrap nodes
knife bootstrap 167.71.245.237 -x root -i
First step of upgrade/migration
knife download cookbooks
Supported Stories
- Upgrade and Migration to Chef15/Effortless
Long Term Goals
- Long running customer-like Chef environment
- Long running customer-like Linux systems
- Long running customer-like Windows systems
- Deployable customer-like Linux / Windows systems
- Supporting multiple deployment targets
Target Use Cases
- Internal solution development against customer-like systems
- User acceptance for EAS patterns, features and issues
- A demo environment for solutions internal stakeholders /external customers
Assumptions
- this environment is like a long running customer environment
- tools already installed
- pipelines already setup
- chef software already setup
- nodes checking in
- everything managed
- real certs / self signed too (to replicate reality)
- contract is from customer to chef
- environment is shared across all users
- intent is to create customer (enterprise) empathy and expose flaws in our tools in customer-like environments
- dev work in these environments may break the environment
- follow our own support protocols to restore service
- follow bug flow to remediate issues
- can be used to validate break/fix
- values solution approach approach over practitioner approach
Requirements
- low overhead build that provides example to talk features or direction
- completely shows our end to end products and them running
- ability to walk full customer story
- avail 24/7 for anyone at chef
- serves as the UAT environment for Chef the Company, Chef EAS
- Use the best practice to build and deploy Chef products
- Only do EAS and newest version of Chef Software
- leverage as much previous work as possible
Blocking work
- cannot do the upgrade/migration prototype until UAT env is up and functioning, and reproducible
Architecture UAT (first pass)
Linux (Enterprise Workflow)