SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 

Kürzlich hochgeladen (20)

Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 

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