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

Enhancing Infrastructure Lifecycles

Enhancing Infrastructure Lifecycles

In this session, I look at what infrastructure as code is, why it is important and how HashiCorp Packer and Terraform fit into the picture.

This talk was given at Citrix Converge in October 2021.

---

Companion Code: github.com/ksatirli/enhancing-infrastructure-lifecycles
Technical Demo: youtu.be/s2_UgBncqHg

8c73ec710b03be8909e71ad500866934?s=128

Kerim Satirli
PRO

October 28, 2021
Tweet

Transcript

  1. Enhancing your Infrastructure Lifecycle through Codification. Kerim Satirli Sr. Developer

    Advocate - Infrastructure HashiCorp Date 1
  2. 1. DevOps and DevOps Workflows 2. Infrastructure as Code 3.

    Provisioning Infrastructure Agenda
  3. Sr. Developer Advocate at HashiCorp @ksatirli Kerim Satirli

    Find me on <a href="https://twitter.com/ksatirli">twitter.com/ksatirli</a>.
  4. DevOps Workflows

  5. Sec "The process of securing software and infrastructure against all

    attackers, foreign or domestic." And: educating, red- teaming, and pizza. Dev "The process of conceiving, specifying, designing and programming a piece of software." And: testing, bug-fixing, licensing, and pizza. Ops "The process of conceiving, specifying, designing and maintaining a piece of IT infrastructure." And: testing, racking, stacking, and pizza.
  6. Sec "The process of securing software and infrastructure against all

    attackers, foreign or domestic." And: educating, red- teaming, and pizza. Dev "The process of conceiving, specifying, designing and programming a piece of software." And: testing, bug-fixing, licensing, and pizza. Ops "The process of conceiving, specifying, designing and maintaining a piece of IT infrastructure." And: testing, racking, stacking, and pizza.
  7. Infrastructure as Code

  8. Infrastructure as Code • documentation create Resource Group with ID

    packer name it "citrix-converge" place it in Virginia
  9. Infrastructure as Code • executable documentation • enables collaboration •

    safe and predictable resource "resource_group" "packer" { name = "citrix-converge" location = "westus2" }
  10. Infrastructure as Code Provision Packer to create Machine Images Terraform

    to deploy any infrastructure Secure Vault to manage and protect secret data Boundary to secure remote access Connect Consul to discover and connect services Run Waypoint to deploy and observe apps Nomad to orchestrate jobs and workloads
  11. Terraform • open-source and commercial options • broad ecosystem support

    • split into "core" and "plugins"
    Learn more about Terraform on <a href="https://www.terraform.io">terraform.io</a>.
  12. 1300+ community providers 160+ verified providers Terraform 35 official providers

    Discover Providers for HashiCorp Terraform on the <a href="https://registry.terraform.io/browse/providers">Terraform Registry</a>.
  13. Packer • open-source and "commercial" options • broad ecosystem support

    • split into "core" and "plugins"
    Learn more about HashiCorp Packer on <a href="https://www.packer.io">packer.io</a>.
  14. Packer and Terraform • use HashiCorp Configuration Language (HCL) •

    integrate with other HashiCorp products
    Learn more about HashiCorp Packer on <a href="https://www.packer.io">packer.io</a>.
  15. Provisioning Infrastructure

  16. None
  17. • slides: speakerdeck.com/ksatirli/enhancing-infrastructure-lifecycles • code: github.com/ksatirli/enhancing-infrastructure-lifecycles Resources

    Find more resources on <a href="https://github.com/ksatirli/enhancing-infrastructure-lifecycles">github.com/ksatirli/enhancing-infrastructure-lifecycles</a>.
  18. None