SlideShare a Scribd company logo
1 of 31
Download to read offline
Taking Physical Infrastructure from Automation to Autonomy
May 2018
Immutable Deployments
2
8 Years Building Next Generation Physical Automation Software
RackN and Digital Rebar
Rob Hirschfeld and Greg Althaus have established RackN to
deliver next generation provisioning software with a unique culture
of “plumbers” who feel at home in the details and aren’t afraid to do
what needs to be done.
3
Physical Infrastructure Automation
Digital Rebar Provision
● PXE Provisioner
● Tiny Footprint w/ No External
Dependencies
● Supports Bare Metal, Containers,
Virtualization, Cloud, Edge, etc.
Open Source Digital Rebar Community
● http://rebar.digital
● GitHub : https://github.com/digitalrebar
4
What is “modern” Provisioning?
Cloud Native Architecture
• Create/Destroy Cloud Pattern
• Operator Control
API-First Focus
• All Features API implementation
• CLI is 100% generated from API
• UX is Modern, Air Gap, & SaaS
Lightweight
• DRP is 30MB standalone binary
• Portable (Intel, ARM, …)
Visibility into Operations
• Logs all Activities
• Success/Fail Info in UX
Flexible Workflow Mechanism
• Precise Control of Provisioning
• Build Complex Workflows from
Simple Components
Integrations and Connections
• Extensibility via Plugins
• Leverage Existing
Infrastructure
5
Physical Infrastructure Automation
RackN Portal
● Event Driven Configuration
● Manage All Endpoints (Cloud/Phy)
● IPv6 Native Integrations
● Air Gap UX
RackN Portal Access
● http://portal.rackn.io
6
RackN Features
Image Deploy
• Deploys systems from images
• Image can be root tarball or full
disk image
Image Builder
• Build images from Workflows
• Capture existing systems
Terraform
• Use terraform plans
• Drive metal more like cloud
IPMI Control
• Out-of-band operations
• Bare metal and others
Manage Hardware
• Bios/Raid/Firmware
• Pluggable for extensibility
• Dell and some SuperMicro
Integrations
• Drive other systems
• E.g. Honeycomb
Immutable Deployments
What are we going to do?!?
8
What is the plan for today?
1. Gather the Required Items
2. Deploy Digital Rebar Provision
3. Log into RackN SaaS
4. Add Content and Plugins
5. Configure to Deploy Images
6. Configure to Access Packet.net
7. Add Systems for Terraform to Manage
8. Image Systems with Terraform
9. Reset Systems with Terraform
10. Reimage Systems with Terraform
9
Required Items
● Browser
● SSH Client
○ Putty for windows - https://www.putty.org/
● 2-3 Packet.net machines
○ One for DRP Endpoint
○ One or Two to install/deploy
● Add a tab with the cheat sheet
○ http://pkt.tuna.org:8091/files/itx/info.txt
10
Deploy Digital Rebar Provision
In your browser, head over to https://tip.rackn.io
SSH into your first Packet.net node
● Use the private key from the cheat sheet
● Use your assigned IP address
Install DRP in production mode:
● mkdir drp ; cd drp
● curl -fsSL get.rebar.digital/stable | bash -s -- install
11
Deploy Digital Rebar Provision
At this point, DRP is available to start and enable
● systemctl daemon-reload && systemctl start dr-provision
● systemctl daemon-reload && systemctl enable dr-provision
● Should be in you install.sh command output
We also need to include the discovery iso.
● drpcli bootenvs uploadiso sledgehammer
● Should be in your install.sh output
● Takes about 30 seconds
Check to see if we can access DRP from the Browser
● On RackN portal page, enter your IP address with :8092 on the end
○ E.g. 147.75.73.159:8092
● Click the little arrow
● Click link to go directly to the node. Accept the self-signed certificate
12
Log into RackN SaaS
● Click the RackN Portal Login
● Use the following credentials
○ User: itxinterop@rackn.com
○ Password: itx2018Rules!
This will enable our access to plugins, content, and UX features.
If you want to continue playing, you can later create your account and get trial
licenses for these same features.
13
Add Content and Plugins
● Head over the the Content Packages section of the UX
● Add Content Packages
○ Terraform
○ Task-Library
14
Add Content and Plugins
● Head over the the Plugin Providers section of the UX
● Add Plugin Providers
○ Packet IPMI
○ License
○ Image-Deploy
15
Add Content and Plugins
● Where are we?
○ We have content loaded
○ We have plugins that can be configured.
○ We have a discovery ISO ready to go
● Next Up
○ Configuring system to control machines
16
Configure to Deploy Images
● Create Discover Workflow
○ Process machines go through when first discovered or reset.
● Select Workflows Navigation
● Click Add to add the discover workflow
● In the newly added discover workflow, drag and drop the following in order
○ discover
○ packet-discover
○ terraform-ready
17
Configure to Deploy Images
● Create Image Workflow
○ Process machines go through to image a system.
● Select Workflows Navigation
● Click Add to add the image workflow
● In the newly added image workflow, drag and drop the following in order
○ image-deploy
○ image-deploy-cloud-init
○ runner-service
○ complete
18
Configure to Deploy Images
19
Configure to Deploy Images
● Create Profile To Define Image Deployment
● Select Profiles Navigation
● Click Add to add the centos-image profile
● Add the following parameters to the profile
○ image-deploy/image-file: "files/images/centos.tgz"
○ image-deploy/image-os: "linux"
○ image-deploy/image-type: "tgz"
20
Configure to Deploy Images
21
Configure to Deploy Images
● Set Preferences in the System Info Page
○ Default Workflow = discover
○ Default Stage = discover
○ Default BootEnv = sledgehammer
○ Unknown BootEnv = discovery
● SAVE
22
Configure to Deploy Images
● Get the centos image
● Do the following:
○ curl -O http://pkt.tuna.org:8091/files/images/centos.tgz
○ drpcli files upload centos.tgz as images/centos.tgz
23
Configure to Access Packet.net
We need to let DRP access the Packet.net portal to do IPMI actions against the
machines.
● Navigate to Plugins
● Click Add
● Select the packet-ipmi Provider
● In the parameter box, type packet/api-key and click add
● In the new box by packet/api-key, add 9QiCXcTSpMMSc7vRna2mqSsoCcWUpRbx
● In the parameter box, type packet/project-id and click add
● In the new box by packet/project-id, add cc522a04-ef6a-4c09-8d9c-4aebea63a434
● Save
24
Add Systems for Terraform to Manage
● Reboot Machines
○ Using Master DRP Endpoint to restart install machines
● Wait for machines to show up!
25
Image Systems with Terraform
● Install Terraform
○ yum install -y unzip
○ curl -O http://pkt.tuna.org:8091/files/itx/terraform_0.11.7_linux_amd64.zip
○ unzip terraform_0.11.7_linux_amd64.zip
○ cp terraform /usr/local/bin
○ chmod +x /usr/local/bin/terraform
○ rm -f terraform_0.11.7_linux_amd64.zip
● Install Terraform plugin
○ mkdir /root/terraform ; cd /root/terraform
○ curl -O http://pkt.tuna.org:8091/files/itx/terraform-provider-drp
○ chmod +x terraform-provider-drp
26
Image Systems with Terraform
● Build Plan File
● vi image.tf
provider "drp" {
api_user = "rocketskates"
api_password = "r0cketsk8ts"
api_url = "https://127.0.0.1:8092"
}
resource "drp_machine" "image_one_node" {
count = 1
Workflow = "image"
Description = "Terraform controller linux image node"
add_profiles = [ "centos-linux" ]
}
● Or cheat: curl -O http://pkt.tuna.org:8091/files/itx/image.tf
27
Image Systems with Terraform
● Apply plan
○ terraform init
○ terraform plan
○ terraform apply
● Watch systems
○ Using the Packet.net ssh remote console
○ drpcli machines list | grep packet/sos
28
Reset Systems with Terraform
● Terraform Destroy
○ terraform destroy
● Watch systems return to discovery and ready state
○ Same ssh command and UX views
29
Reimage Systems with Terraform
● Apply plan
○ terraform init
○ terraform plan
○ terraform apply
● Watch systems
○ Using the Packet.net ssh remote console
○ drpcli machines list | grep packet/sos
Thanks!
Greg Althaus
CTO/Founder RackN
@galthaus
portal.rackn.io
Backup Slides / Next Steps
What is Immutable?
● https://www.slideshare.net/rhirschfeld/srecon-immutable-infrastructure
-rethinking-configuration-mgmt
DRP Terraform Guided Tour
● https://youtu.be/RtuZQHKmd9U

More Related Content

What's hot

Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)
Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)
Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)Lee Myring
 
Performance Profiling Tools and Tricks
Performance Profiling Tools and TricksPerformance Profiling Tools and Tricks
Performance Profiling Tools and TricksPhase2
 
Terraforming your Infrastructure on GCP
Terraforming your Infrastructure on GCPTerraforming your Infrastructure on GCP
Terraforming your Infrastructure on GCPSamuel Chow
 
GDG London Workshop: Build GCP infrastructure with Terraform
GDG London Workshop: Build GCP infrastructure with Terraform GDG London Workshop: Build GCP infrastructure with Terraform
GDG London Workshop: Build GCP infrastructure with Terraform Pradeep Bhadani
 
Logging presentation
Logging presentationLogging presentation
Logging presentationJatan Malde
 
BKK16-407 AOSP Toolchain Evolution and experimental languages on AOSP
BKK16-407 AOSP Toolchain Evolution and experimental languages on AOSPBKK16-407 AOSP Toolchain Evolution and experimental languages on AOSP
BKK16-407 AOSP Toolchain Evolution and experimental languages on AOSPLinaro
 
openFoam Hangout on Air #2 - Cloud Simulation, presentation by Dacolt
openFoam Hangout on Air #2 - Cloud Simulation, presentation by DacoltopenFoam Hangout on Air #2 - Cloud Simulation, presentation by Dacolt
openFoam Hangout on Air #2 - Cloud Simulation, presentation by DacoltJulien de Charentenay
 
OVN DBs HA with scale test
OVN DBs HA with scale testOVN DBs HA with scale test
OVN DBs HA with scale testAliasgar Ginwala
 
SFO15-203: Linaro CI - git driven workflow & Jenkins advanced usage
SFO15-203: Linaro CI - git driven workflow & Jenkins advanced usageSFO15-203: Linaro CI - git driven workflow & Jenkins advanced usage
SFO15-203: Linaro CI - git driven workflow & Jenkins advanced usageLinaro
 
Rhel8 Beta - Halifax RHUG
Rhel8 Beta - Halifax RHUGRhel8 Beta - Halifax RHUG
Rhel8 Beta - Halifax RHUGNicole Maselli
 
OpenStack Cinder On-Boarding Room - Vancouver Summit 2018
OpenStack Cinder On-Boarding Room - Vancouver Summit 2018OpenStack Cinder On-Boarding Room - Vancouver Summit 2018
OpenStack Cinder On-Boarding Room - Vancouver Summit 2018Jay Bryant
 
Cinder On-boarding Room - Berlin (11-13-2018)
Cinder On-boarding Room - Berlin (11-13-2018)Cinder On-boarding Room - Berlin (11-13-2018)
Cinder On-boarding Room - Berlin (11-13-2018)Jay Bryant
 
BKK16-306 ART ii
BKK16-306 ART iiBKK16-306 ART ii
BKK16-306 ART iiLinaro
 

What's hot (14)

Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)
Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)
Log aggregation: using Elasticsearch, Fluentd/Fluentbit and Kibana (EFK)
 
Performance Profiling Tools and Tricks
Performance Profiling Tools and TricksPerformance Profiling Tools and Tricks
Performance Profiling Tools and Tricks
 
Terraforming your Infrastructure on GCP
Terraforming your Infrastructure on GCPTerraforming your Infrastructure on GCP
Terraforming your Infrastructure on GCP
 
GDG London Workshop: Build GCP infrastructure with Terraform
GDG London Workshop: Build GCP infrastructure with Terraform GDG London Workshop: Build GCP infrastructure with Terraform
GDG London Workshop: Build GCP infrastructure with Terraform
 
Logging presentation
Logging presentationLogging presentation
Logging presentation
 
BKK16-407 AOSP Toolchain Evolution and experimental languages on AOSP
BKK16-407 AOSP Toolchain Evolution and experimental languages on AOSPBKK16-407 AOSP Toolchain Evolution and experimental languages on AOSP
BKK16-407 AOSP Toolchain Evolution and experimental languages on AOSP
 
openFoam Hangout on Air #2 - Cloud Simulation, presentation by Dacolt
openFoam Hangout on Air #2 - Cloud Simulation, presentation by DacoltopenFoam Hangout on Air #2 - Cloud Simulation, presentation by Dacolt
openFoam Hangout on Air #2 - Cloud Simulation, presentation by Dacolt
 
OVN DBs HA with scale test
OVN DBs HA with scale testOVN DBs HA with scale test
OVN DBs HA with scale test
 
SFO15-203: Linaro CI - git driven workflow & Jenkins advanced usage
SFO15-203: Linaro CI - git driven workflow & Jenkins advanced usageSFO15-203: Linaro CI - git driven workflow & Jenkins advanced usage
SFO15-203: Linaro CI - git driven workflow & Jenkins advanced usage
 
Rhel8 Beta - Halifax RHUG
Rhel8 Beta - Halifax RHUGRhel8 Beta - Halifax RHUG
Rhel8 Beta - Halifax RHUG
 
R in gvSIG
R in gvSIGR in gvSIG
R in gvSIG
 
OpenStack Cinder On-Boarding Room - Vancouver Summit 2018
OpenStack Cinder On-Boarding Room - Vancouver Summit 2018OpenStack Cinder On-Boarding Room - Vancouver Summit 2018
OpenStack Cinder On-Boarding Room - Vancouver Summit 2018
 
Cinder On-boarding Room - Berlin (11-13-2018)
Cinder On-boarding Room - Berlin (11-13-2018)Cinder On-boarding Room - Berlin (11-13-2018)
Cinder On-boarding Room - Berlin (11-13-2018)
 
BKK16-306 ART ii
BKK16-306 ART iiBKK16-306 ART ii
BKK16-306 ART ii
 

Similar to Immutable Deployment Hands-On Lab Interop ITX

Rejekts 24 EU No GitOps Pain, No Platform Gain
Rejekts 24 EU No GitOps Pain, No Platform GainRejekts 24 EU No GitOps Pain, No Platform Gain
Rejekts 24 EU No GitOps Pain, No Platform GainŁukasz Piątkowski
 
Introduction to PaaS and Heroku
Introduction to PaaS and HerokuIntroduction to PaaS and Heroku
Introduction to PaaS and HerokuTapio Rautonen
 
HKNOG 6.0 Next Generation Networks - will automation put us out of jobs?
HKNOG 6.0 Next Generation Networks - will automation put us out of jobs?HKNOG 6.0 Next Generation Networks - will automation put us out of jobs?
HKNOG 6.0 Next Generation Networks - will automation put us out of jobs?Tom Paseka
 
Cobbler - Fast and reliable multi-OS provisioning
Cobbler - Fast and reliable multi-OS provisioningCobbler - Fast and reliable multi-OS provisioning
Cobbler - Fast and reliable multi-OS provisioningRUDDER
 
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdfOpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdfssuser9e06a61
 
200519 TMU Ubiquitous Robot
200519 TMU Ubiquitous Robot200519 TMU Ubiquitous Robot
200519 TMU Ubiquitous RobotNoriakiAndo
 
Strategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and imagesStrategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and imagesMender.io
 
RHEL8-BETA-RHUG.pdf
RHEL8-BETA-RHUG.pdfRHEL8-BETA-RHUG.pdf
RHEL8-BETA-RHUG.pdfHarsh Shah
 
OpenShift 4 installation
OpenShift 4 installationOpenShift 4 installation
OpenShift 4 installationRobert Bohne
 
Integrating Puppet and Gitolite for sysadmins cooperations
Integrating Puppet and Gitolite for sysadmins cooperationsIntegrating Puppet and Gitolite for sysadmins cooperations
Integrating Puppet and Gitolite for sysadmins cooperationsLuca Mazzaferro
 
The Crucial Component of IoT Products by Aravinth Panchadcharam [ Senior Embe...
The Crucial Component of IoT Products by Aravinth Panchadcharam [ Senior Embe...The Crucial Component of IoT Products by Aravinth Panchadcharam [ Senior Embe...
The Crucial Component of IoT Products by Aravinth Panchadcharam [ Senior Embe...Next Big Thing AG
 
PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...
PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...
PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...Puppet
 
OpenShift 5 Drop5 demo
OpenShift 5 Drop5 demoOpenShift 5 Drop5 demo
OpenShift 5 Drop5 demoGlenn West
 
A Kernel of Truth: Intrusion Detection and Attestation with eBPF
A Kernel of Truth: Intrusion Detection and Attestation with eBPFA Kernel of Truth: Intrusion Detection and Attestation with eBPF
A Kernel of Truth: Intrusion Detection and Attestation with eBPFoholiab
 
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...DevSecCon
 
Creating new Tizen profiles using the Yocto Project
Creating new Tizen profiles  using the Yocto ProjectCreating new Tizen profiles  using the Yocto Project
Creating new Tizen profiles using the Yocto ProjectLeon Anavi
 
Matthew Mosesohn - Configuration Management at Large Companies
Matthew Mosesohn - Configuration Management at Large Companies Matthew Mosesohn - Configuration Management at Large Companies
Matthew Mosesohn - Configuration Management at Large Companies Yandex
 
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and DevelopmentBeyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and DevelopmentZach Pfeffer
 
Nginx conference 2015
Nginx conference 2015Nginx conference 2015
Nginx conference 2015ING-IT
 

Similar to Immutable Deployment Hands-On Lab Interop ITX (20)

Rejekts 24 EU No GitOps Pain, No Platform Gain
Rejekts 24 EU No GitOps Pain, No Platform GainRejekts 24 EU No GitOps Pain, No Platform Gain
Rejekts 24 EU No GitOps Pain, No Platform Gain
 
Introduction to PaaS and Heroku
Introduction to PaaS and HerokuIntroduction to PaaS and Heroku
Introduction to PaaS and Heroku
 
HKNOG 6.0 Next Generation Networks - will automation put us out of jobs?
HKNOG 6.0 Next Generation Networks - will automation put us out of jobs?HKNOG 6.0 Next Generation Networks - will automation put us out of jobs?
HKNOG 6.0 Next Generation Networks - will automation put us out of jobs?
 
Cobbler - Fast and reliable multi-OS provisioning
Cobbler - Fast and reliable multi-OS provisioningCobbler - Fast and reliable multi-OS provisioning
Cobbler - Fast and reliable multi-OS provisioning
 
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdfOpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
OpenShift_Installation_Deep_Dive_Robert_Bohne.pdf
 
200519 TMU Ubiquitous Robot
200519 TMU Ubiquitous Robot200519 TMU Ubiquitous Robot
200519 TMU Ubiquitous Robot
 
Strategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and imagesStrategies for developing and deploying your embedded applications and images
Strategies for developing and deploying your embedded applications and images
 
Kubernetes 101
Kubernetes 101Kubernetes 101
Kubernetes 101
 
RHEL8-BETA-RHUG.pdf
RHEL8-BETA-RHUG.pdfRHEL8-BETA-RHUG.pdf
RHEL8-BETA-RHUG.pdf
 
OpenShift 4 installation
OpenShift 4 installationOpenShift 4 installation
OpenShift 4 installation
 
Integrating Puppet and Gitolite for sysadmins cooperations
Integrating Puppet and Gitolite for sysadmins cooperationsIntegrating Puppet and Gitolite for sysadmins cooperations
Integrating Puppet and Gitolite for sysadmins cooperations
 
The Crucial Component of IoT Products by Aravinth Panchadcharam [ Senior Embe...
The Crucial Component of IoT Products by Aravinth Panchadcharam [ Senior Embe...The Crucial Component of IoT Products by Aravinth Panchadcharam [ Senior Embe...
The Crucial Component of IoT Products by Aravinth Panchadcharam [ Senior Embe...
 
PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...
PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...
PuppetConf 2016: Why Network Automation Matters, and What You Can Do About It...
 
OpenShift 5 Drop5 demo
OpenShift 5 Drop5 demoOpenShift 5 Drop5 demo
OpenShift 5 Drop5 demo
 
A Kernel of Truth: Intrusion Detection and Attestation with eBPF
A Kernel of Truth: Intrusion Detection and Attestation with eBPFA Kernel of Truth: Intrusion Detection and Attestation with eBPF
A Kernel of Truth: Intrusion Detection and Attestation with eBPF
 
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
 
Creating new Tizen profiles using the Yocto Project
Creating new Tizen profiles  using the Yocto ProjectCreating new Tizen profiles  using the Yocto Project
Creating new Tizen profiles using the Yocto Project
 
Matthew Mosesohn - Configuration Management at Large Companies
Matthew Mosesohn - Configuration Management at Large Companies Matthew Mosesohn - Configuration Management at Large Companies
Matthew Mosesohn - Configuration Management at Large Companies
 
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and DevelopmentBeyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
Beyond printk: Efficient Zynq UltraScale+ MPSoC Linux Debugging and Development
 
Nginx conference 2015
Nginx conference 2015Nginx conference 2015
Nginx conference 2015
 

More from RackN

Immutable Infrastructure & Rethinking Configuration - Interop 2019
Immutable Infrastructure & Rethinking Configuration - Interop 2019Immutable Infrastructure & Rethinking Configuration - Interop 2019
Immutable Infrastructure & Rethinking Configuration - Interop 2019RackN
 
Digital Rebar Community Welcome Guide
Digital Rebar Community Welcome GuideDigital Rebar Community Welcome Guide
Digital Rebar Community Welcome GuideRackN
 
Composable Infrastructure Talk at Interop ITX 2018
Composable Infrastructure Talk at Interop ITX 2018Composable Infrastructure Talk at Interop ITX 2018
Composable Infrastructure Talk at Interop ITX 2018RackN
 
SRECon 18 Immutable Infrastructure
SRECon 18 Immutable InfrastructureSRECon 18 Immutable Infrastructure
SRECon 18 Immutable InfrastructureRackN
 
Immutable infrastructure & Rethinking Configuration
Immutable infrastructure & Rethinking ConfigurationImmutable infrastructure & Rethinking Configuration
Immutable infrastructure & Rethinking ConfigurationRackN
 
Immutable infrastructure & Rethinking Configuration
Immutable infrastructure & Rethinking ConfigurationImmutable infrastructure & Rethinking Configuration
Immutable infrastructure & Rethinking ConfigurationRackN
 
Immutable Kubernetes with Digital Rebar Provision
Immutable Kubernetes with Digital Rebar ProvisionImmutable Kubernetes with Digital Rebar Provision
Immutable Kubernetes with Digital Rebar ProvisionRackN
 
RackN Company Overview
RackN Company OverviewRackN Company Overview
RackN Company OverviewRackN
 
Operational Improvement Issues, Impacts and Solution from RackN
Operational Improvement Issues, Impacts and Solution from RackNOperational Improvement Issues, Impacts and Solution from RackN
Operational Improvement Issues, Impacts and Solution from RackNRackN
 
KubeCon 2017 Zero Touch Provision
KubeCon 2017 Zero Touch ProvisionKubeCon 2017 Zero Touch Provision
KubeCon 2017 Zero Touch ProvisionRackN
 
Data Center’s Last Mile: Zero Touch Metal Automation
Data Center’s Last Mile: Zero Touch Metal AutomationData Center’s Last Mile: Zero Touch Metal Automation
Data Center’s Last Mile: Zero Touch Metal AutomationRackN
 
DevOps vs SRE vs Cloud Native
DevOps vs SRE vs Cloud NativeDevOps vs SRE vs Cloud Native
DevOps vs SRE vs Cloud NativeRackN
 

More from RackN (12)

Immutable Infrastructure & Rethinking Configuration - Interop 2019
Immutable Infrastructure & Rethinking Configuration - Interop 2019Immutable Infrastructure & Rethinking Configuration - Interop 2019
Immutable Infrastructure & Rethinking Configuration - Interop 2019
 
Digital Rebar Community Welcome Guide
Digital Rebar Community Welcome GuideDigital Rebar Community Welcome Guide
Digital Rebar Community Welcome Guide
 
Composable Infrastructure Talk at Interop ITX 2018
Composable Infrastructure Talk at Interop ITX 2018Composable Infrastructure Talk at Interop ITX 2018
Composable Infrastructure Talk at Interop ITX 2018
 
SRECon 18 Immutable Infrastructure
SRECon 18 Immutable InfrastructureSRECon 18 Immutable Infrastructure
SRECon 18 Immutable Infrastructure
 
Immutable infrastructure & Rethinking Configuration
Immutable infrastructure & Rethinking ConfigurationImmutable infrastructure & Rethinking Configuration
Immutable infrastructure & Rethinking Configuration
 
Immutable infrastructure & Rethinking Configuration
Immutable infrastructure & Rethinking ConfigurationImmutable infrastructure & Rethinking Configuration
Immutable infrastructure & Rethinking Configuration
 
Immutable Kubernetes with Digital Rebar Provision
Immutable Kubernetes with Digital Rebar ProvisionImmutable Kubernetes with Digital Rebar Provision
Immutable Kubernetes with Digital Rebar Provision
 
RackN Company Overview
RackN Company OverviewRackN Company Overview
RackN Company Overview
 
Operational Improvement Issues, Impacts and Solution from RackN
Operational Improvement Issues, Impacts and Solution from RackNOperational Improvement Issues, Impacts and Solution from RackN
Operational Improvement Issues, Impacts and Solution from RackN
 
KubeCon 2017 Zero Touch Provision
KubeCon 2017 Zero Touch ProvisionKubeCon 2017 Zero Touch Provision
KubeCon 2017 Zero Touch Provision
 
Data Center’s Last Mile: Zero Touch Metal Automation
Data Center’s Last Mile: Zero Touch Metal AutomationData Center’s Last Mile: Zero Touch Metal Automation
Data Center’s Last Mile: Zero Touch Metal Automation
 
DevOps vs SRE vs Cloud Native
DevOps vs SRE vs Cloud NativeDevOps vs SRE vs Cloud Native
DevOps vs SRE vs Cloud Native
 

Recently uploaded

Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Dynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationDynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationBuild Intuit
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...BookNet Canada
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxAna-Maria Mihalceanu
 
Dublin_mulesoft_meetup_API_specifications.pptx
Dublin_mulesoft_meetup_API_specifications.pptxDublin_mulesoft_meetup_API_specifications.pptx
Dublin_mulesoft_meetup_API_specifications.pptxKunal Gupta
 
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdfHCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdfROWELL MARQUINA
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfwill854175
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneUiPathCommunity
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfAarwolf Industries LLC
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Introduction-to-Wazuh-and-its-integration.pptx
Introduction-to-Wazuh-and-its-integration.pptxIntroduction-to-Wazuh-and-its-integration.pptx
Introduction-to-Wazuh-and-its-integration.pptxmprakaash5
 
Bitdefender-CSG-Report-creat7534-interactive
Bitdefender-CSG-Report-creat7534-interactiveBitdefender-CSG-Report-creat7534-interactive
Bitdefender-CSG-Report-creat7534-interactivestartupro
 
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...amber724300
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Mark Simos
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 

Recently uploaded (20)

Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Dynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientationDynamical Context introduction word sensibility orientation
Dynamical Context introduction word sensibility orientation
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
Transcript: Green paths: Learning from publishers’ sustainability journeys - ...
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
A Glance At The Java Performance Toolbox
A Glance At The Java Performance ToolboxA Glance At The Java Performance Toolbox
A Glance At The Java Performance Toolbox
 
Dublin_mulesoft_meetup_API_specifications.pptx
Dublin_mulesoft_meetup_API_specifications.pptxDublin_mulesoft_meetup_API_specifications.pptx
Dublin_mulesoft_meetup_API_specifications.pptx
 
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdfHCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
HCI Lesson 1 - Introduction to Human-Computer Interaction.pdf
 
Arti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdfArti Languages Pre Seed Pitchdeck 2024.pdf
Arti Languages Pre Seed Pitchdeck 2024.pdf
 
WomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyoneWomenInAutomation2024: AI and Automation for eveyone
WomenInAutomation2024: AI and Automation for eveyone
 
Landscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdfLandscape Catalogue 2024 Australia-1.pdf
Landscape Catalogue 2024 Australia-1.pdf
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Introduction-to-Wazuh-and-its-integration.pptx
Introduction-to-Wazuh-and-its-integration.pptxIntroduction-to-Wazuh-and-its-integration.pptx
Introduction-to-Wazuh-and-its-integration.pptx
 
Bitdefender-CSG-Report-creat7534-interactive
Bitdefender-CSG-Report-creat7534-interactiveBitdefender-CSG-Report-creat7534-interactive
Bitdefender-CSG-Report-creat7534-interactive
 
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
JET Technology Labs White Paper for Virtualized Security and Encryption Techn...
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
Tampa BSides - The No BS SOC (slides from April 6, 2024 talk)
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 

Immutable Deployment Hands-On Lab Interop ITX

  • 1. Taking Physical Infrastructure from Automation to Autonomy May 2018 Immutable Deployments
  • 2. 2 8 Years Building Next Generation Physical Automation Software RackN and Digital Rebar Rob Hirschfeld and Greg Althaus have established RackN to deliver next generation provisioning software with a unique culture of “plumbers” who feel at home in the details and aren’t afraid to do what needs to be done.
  • 3. 3 Physical Infrastructure Automation Digital Rebar Provision ● PXE Provisioner ● Tiny Footprint w/ No External Dependencies ● Supports Bare Metal, Containers, Virtualization, Cloud, Edge, etc. Open Source Digital Rebar Community ● http://rebar.digital ● GitHub : https://github.com/digitalrebar
  • 4. 4 What is “modern” Provisioning? Cloud Native Architecture • Create/Destroy Cloud Pattern • Operator Control API-First Focus • All Features API implementation • CLI is 100% generated from API • UX is Modern, Air Gap, & SaaS Lightweight • DRP is 30MB standalone binary • Portable (Intel, ARM, …) Visibility into Operations • Logs all Activities • Success/Fail Info in UX Flexible Workflow Mechanism • Precise Control of Provisioning • Build Complex Workflows from Simple Components Integrations and Connections • Extensibility via Plugins • Leverage Existing Infrastructure
  • 5. 5 Physical Infrastructure Automation RackN Portal ● Event Driven Configuration ● Manage All Endpoints (Cloud/Phy) ● IPv6 Native Integrations ● Air Gap UX RackN Portal Access ● http://portal.rackn.io
  • 6. 6 RackN Features Image Deploy • Deploys systems from images • Image can be root tarball or full disk image Image Builder • Build images from Workflows • Capture existing systems Terraform • Use terraform plans • Drive metal more like cloud IPMI Control • Out-of-band operations • Bare metal and others Manage Hardware • Bios/Raid/Firmware • Pluggable for extensibility • Dell and some SuperMicro Integrations • Drive other systems • E.g. Honeycomb
  • 7. Immutable Deployments What are we going to do?!?
  • 8. 8 What is the plan for today? 1. Gather the Required Items 2. Deploy Digital Rebar Provision 3. Log into RackN SaaS 4. Add Content and Plugins 5. Configure to Deploy Images 6. Configure to Access Packet.net 7. Add Systems for Terraform to Manage 8. Image Systems with Terraform 9. Reset Systems with Terraform 10. Reimage Systems with Terraform
  • 9. 9 Required Items ● Browser ● SSH Client ○ Putty for windows - https://www.putty.org/ ● 2-3 Packet.net machines ○ One for DRP Endpoint ○ One or Two to install/deploy ● Add a tab with the cheat sheet ○ http://pkt.tuna.org:8091/files/itx/info.txt
  • 10. 10 Deploy Digital Rebar Provision In your browser, head over to https://tip.rackn.io SSH into your first Packet.net node ● Use the private key from the cheat sheet ● Use your assigned IP address Install DRP in production mode: ● mkdir drp ; cd drp ● curl -fsSL get.rebar.digital/stable | bash -s -- install
  • 11. 11 Deploy Digital Rebar Provision At this point, DRP is available to start and enable ● systemctl daemon-reload && systemctl start dr-provision ● systemctl daemon-reload && systemctl enable dr-provision ● Should be in you install.sh command output We also need to include the discovery iso. ● drpcli bootenvs uploadiso sledgehammer ● Should be in your install.sh output ● Takes about 30 seconds Check to see if we can access DRP from the Browser ● On RackN portal page, enter your IP address with :8092 on the end ○ E.g. 147.75.73.159:8092 ● Click the little arrow ● Click link to go directly to the node. Accept the self-signed certificate
  • 12. 12 Log into RackN SaaS ● Click the RackN Portal Login ● Use the following credentials ○ User: itxinterop@rackn.com ○ Password: itx2018Rules! This will enable our access to plugins, content, and UX features. If you want to continue playing, you can later create your account and get trial licenses for these same features.
  • 13. 13 Add Content and Plugins ● Head over the the Content Packages section of the UX ● Add Content Packages ○ Terraform ○ Task-Library
  • 14. 14 Add Content and Plugins ● Head over the the Plugin Providers section of the UX ● Add Plugin Providers ○ Packet IPMI ○ License ○ Image-Deploy
  • 15. 15 Add Content and Plugins ● Where are we? ○ We have content loaded ○ We have plugins that can be configured. ○ We have a discovery ISO ready to go ● Next Up ○ Configuring system to control machines
  • 16. 16 Configure to Deploy Images ● Create Discover Workflow ○ Process machines go through when first discovered or reset. ● Select Workflows Navigation ● Click Add to add the discover workflow ● In the newly added discover workflow, drag and drop the following in order ○ discover ○ packet-discover ○ terraform-ready
  • 17. 17 Configure to Deploy Images ● Create Image Workflow ○ Process machines go through to image a system. ● Select Workflows Navigation ● Click Add to add the image workflow ● In the newly added image workflow, drag and drop the following in order ○ image-deploy ○ image-deploy-cloud-init ○ runner-service ○ complete
  • 19. 19 Configure to Deploy Images ● Create Profile To Define Image Deployment ● Select Profiles Navigation ● Click Add to add the centos-image profile ● Add the following parameters to the profile ○ image-deploy/image-file: "files/images/centos.tgz" ○ image-deploy/image-os: "linux" ○ image-deploy/image-type: "tgz"
  • 21. 21 Configure to Deploy Images ● Set Preferences in the System Info Page ○ Default Workflow = discover ○ Default Stage = discover ○ Default BootEnv = sledgehammer ○ Unknown BootEnv = discovery ● SAVE
  • 22. 22 Configure to Deploy Images ● Get the centos image ● Do the following: ○ curl -O http://pkt.tuna.org:8091/files/images/centos.tgz ○ drpcli files upload centos.tgz as images/centos.tgz
  • 23. 23 Configure to Access Packet.net We need to let DRP access the Packet.net portal to do IPMI actions against the machines. ● Navigate to Plugins ● Click Add ● Select the packet-ipmi Provider ● In the parameter box, type packet/api-key and click add ● In the new box by packet/api-key, add 9QiCXcTSpMMSc7vRna2mqSsoCcWUpRbx ● In the parameter box, type packet/project-id and click add ● In the new box by packet/project-id, add cc522a04-ef6a-4c09-8d9c-4aebea63a434 ● Save
  • 24. 24 Add Systems for Terraform to Manage ● Reboot Machines ○ Using Master DRP Endpoint to restart install machines ● Wait for machines to show up!
  • 25. 25 Image Systems with Terraform ● Install Terraform ○ yum install -y unzip ○ curl -O http://pkt.tuna.org:8091/files/itx/terraform_0.11.7_linux_amd64.zip ○ unzip terraform_0.11.7_linux_amd64.zip ○ cp terraform /usr/local/bin ○ chmod +x /usr/local/bin/terraform ○ rm -f terraform_0.11.7_linux_amd64.zip ● Install Terraform plugin ○ mkdir /root/terraform ; cd /root/terraform ○ curl -O http://pkt.tuna.org:8091/files/itx/terraform-provider-drp ○ chmod +x terraform-provider-drp
  • 26. 26 Image Systems with Terraform ● Build Plan File ● vi image.tf provider "drp" { api_user = "rocketskates" api_password = "r0cketsk8ts" api_url = "https://127.0.0.1:8092" } resource "drp_machine" "image_one_node" { count = 1 Workflow = "image" Description = "Terraform controller linux image node" add_profiles = [ "centos-linux" ] } ● Or cheat: curl -O http://pkt.tuna.org:8091/files/itx/image.tf
  • 27. 27 Image Systems with Terraform ● Apply plan ○ terraform init ○ terraform plan ○ terraform apply ● Watch systems ○ Using the Packet.net ssh remote console ○ drpcli machines list | grep packet/sos
  • 28. 28 Reset Systems with Terraform ● Terraform Destroy ○ terraform destroy ● Watch systems return to discovery and ready state ○ Same ssh command and UX views
  • 29. 29 Reimage Systems with Terraform ● Apply plan ○ terraform init ○ terraform plan ○ terraform apply ● Watch systems ○ Using the Packet.net ssh remote console ○ drpcli machines list | grep packet/sos
  • 31. Backup Slides / Next Steps What is Immutable? ● https://www.slideshare.net/rhirschfeld/srecon-immutable-infrastructure -rethinking-configuration-mgmt DRP Terraform Guided Tour ● https://youtu.be/RtuZQHKmd9U