$30 off During Our Annual Pro Sale. View Details »

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 Technology

Transcript

  1. Learning Infrastructure with
    a local Compute Cluster.

    View Slide

  2. You made it
    !

    View Slide

  3. 10 years of All Things Open
    !

    View Slide

  4. 10 years
    !

    View Slide

  5. 2012
    !

    View Slide

  6. 2012

    View Slide

  7. View Slide

  8. 2022

    View Slide

  9. View Slide

  10. "
    50 price reductions

    View Slide

  11. constant pricing
    "

    View Slide

  12. #

    View Slide


  13. View Slide

  14. View Slide

  15. View Slide

  16. View Slide

  17. View Slide

  18. +

    View Slide

  19. View Slide

  20. View Slide

  21. View Slide

  22. View Slide

  23. View Slide

  24. 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
    }
    }

    View Slide

  25. 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

    View Slide

  26. 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

    View Slide

  27. http://turing-node-1.local:4646/ui/

    View Slide

  28. 2012 vs. 2022

    View Slide

  29. 2032
    %

    View Slide

  30. 42

    View Slide

  31. 42%
    35% teams working in silos
    35% compliance and risk mgmt
    33% lack of training
    source: hashicorp.com/state-of-the-cloud
    skill shortages

    View Slide

  32. View Slide

  33. Infrastructure as Code
    Patterns and Practices
    Rosemary Wang
    2022
    The Big Score
    The Billion Dollar Story of SV
    Michael S. Malone
    2021

    View Slide

  34. Take-aways
    ▪ train like you play - no manual &
    ▪ codify resources and processes
    ▪ culture breeds wealth

    View Slide

  35. Sr. Developer Advocate at HashiCorp
    he / him
    @ksatirli
    [email protected]
    Kerim Satirli

    View Slide

  36. speakerdeck.com/ksatirli/all-things-open-2022

    View Slide