Get in Touch
 Duration 14 hours

Course Outline

Infrastructure-as-Code Sovereignty

  • Examining the risks associated with cloud consoles and SaaS IaC, such as vendor lock-in and audit gaps.
  • A detailed exploration of Terraform architecture, including core components, providers, state management, and the plan/apply workflow.
  • A comparative analysis of Terraform against alternatives like Pulumi, Ansible, and CloudFormation.

Configuration Language and Providers

  • Mastering HCL syntax to define resources, data sources, variables, and outputs.
  • Configuring on-premise providers, including Proxmox, libvirt, vSphere, and PowerDNS.
  • Exploring community providers and the fundamentals of custom provider development.
  • Understanding resource dependencies and the underlying graph theory principles.

State Management

  • Evaluating the security implications of local versus remote state storage.
  • Setting up self-hosted backends using PostgreSQL, S3-compatible storage (MinIO), Gitea, and etcd.
  • Implementing state locking, encryption at rest, and robust backup strategies.
  • Managing state migration and detecting configuration drift.

Modules and Workspaces

  • Structuring modules with inputs, outputs, and versioning best practices.
  • Building private module registries utilizing Git tags.
  • Ensuring isolation across dev, staging, and production environments using workspaces.
  • Leveraging self-hosted alternatives to Terraform Cloud, such as Atlantis or Spacelift.

Provisioning and Lifecycle

  • Integrating cloud-init and PXE for bare-metal provisioning processes.
  • Utilizing provisioners, including local-exec, remote-exec, and file transfer capabilities.
  • Leveraging null resources and triggers to create custom automation workflows.
  • Managing resource destruction, planning, and tainting to facilitate safe rollbacks.

Security and Compliance

  • Enforcing variable validation and appropriately marking sensitive data.
  • Implementing policy-as-code for on-premise environments using Sentinel and OPA alternatives.
  • Establishing robust audit logging and plan file review processes.

CI/CD Integration

  • Automating plan and apply workflows within GitHub Actions or Woodpecker CI.
  • Integrating terraform fmt, validate, and linting tools into pre-commit hooks.
  • Setting up cost estimation and budget guardrails.
  • Developing comprehensive rollback strategies and state recovery procedures.

Requirements

  • An intermediate grasp of infrastructure-as-code concepts and cloud computing fundamentals.
  • Practical proficiency with JSON, HCL (HashiCorp Configuration Language), and version control systems.
  • Familiarity with on-premise virtualization platforms, specifically Proxmox and VMware.

Audience

  • Infrastructure engineers tasked with provisioning bare metal servers and private cloud resources.
  • DevOps teams managing on-premise resources through declarative configuration methods.
  • Organizations actively seeking to minimize reliance on cloud control planes for infrastructure state management.

Testimonials (1)

Related Categories