Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Learning Infrastructure with a local Compute Cluster

Learning Infrastructure with a local Compute Cluster

In this presentation, I use a TuringPi v2 to show how you can set up an at-home compute cluster and use it to learn crucial infrastructure engineering skills.

This version of the talk was given at the 10th Edition of All Things Open in November 2022.

Kerim Satirli
PRO

November 01, 2022
Tweet

More Decks by Kerim Satirli

Other Decks in Programming

Transcript

  1. Learning Infrastructure with a local Compute Cluster.

  2. You made it !

  3. 10 years of All Things Open !

  4. 10 years !

  5. 2012 !

  6. 2012

  7. None
  8. 2022

  9. None
  10. " 50 price reductions

  11. constant pricing "

  12. #

  13. None
  14. None
  15. None
  16. None
  17. +

  18. None
  19. None
  20. None
  21. None
  22. ssh [email protected] ssh [email protected] ssh [email protected] ssh [email protected]

  23. build disk image build { name = "1-provisioners" sources =

    [ "sources.arm.cm4", ] provisioner "ansible" { ansible_env_vars = var.shared.ansible.ansible_env_vars command = var.shared.ansible.command extra_arguments = local.ansible_extra_arguments galaxy_file = var.shared.ansible.galaxy_file playbook_file = var.shared.ansible.playbook_file skip_version_check = var.shared.ansible.skip_version_check } post-processor "checksum" { checksum_types = var.shared.checksum_types keep_input_artifact = true output = local.templates.checksum.output } }
  24. build { name = "1-provisioners" sources = [ "sources.arm.cm4", ]

    provisioner "ansible" { ansible_env_vars = var.shared.ansible.ansible_env_vars command = var.shared.ansible.command extra_arguments = local.ansible_extra_arguments galaxy_file = var.shared.ansible.galaxy_file playbook_file = var.shared.ansible.playbook_file skip_version_check = var.shared.ansible.skip_version_check } post-processor "checksum" { checksum_types = var.shared.checksum_types keep_input_artifact = true output = local.templates.checksum.output } } run workloads build disk image
  25. build disk image build { name = "1-provisioners" sources =

    [ "sources.arm.cm4", ] provisioner "ansible" { ansible_env_vars = var.shared.ansible.ansible_env_vars command = var.shared.ansible.command extra_arguments = local.ansible_extra_arguments galaxy_file = var.shared.ansible.galaxy_file playbook_file = var.shared.ansible.playbook_file skip_version_check = var.shared.ansible.skip_version_check } post-processor "checksum" { checksum_types = var.shared.checksum_types keep_input_artifact = true output = local.templates.checksum.output } } configure disk image run workloads
  26. http://turing-node-1.local:4646/ui/

  27. 2012 vs. 2022

  28. 2032 %

  29. 42

  30. 42% 35% teams working in silos 35% compliance and risk

    mgmt 33% lack of training source: hashicorp.com/state-of-the-cloud skill shortages
  31. None
  32. Infrastructure as Code Patterns and Practices Rosemary Wang 2022 The

    Big Score The Billion Dollar Story of SV Michael S. Malone 2021
  33. Take-aways ▪ train like you play - no manual &

    ▪ codify resources and processes ▪ culture breeds wealth
  34. Sr. Developer Advocate at HashiCorp he / him @ksatirli [email protected]

    Kerim Satirli
  35. speakerdeck.com/ksatirli/all-things-open-2022