All tutorials and glossary
- Docker & Rancher Desktop Tutorials
Docker and Rancher Desktop Troubleshooting: Common Errors and Fixes
Fix common Docker and Rancher Desktop problems: daemon not reachable, ports below 1024, KVM, missing images after switching engines, ImagePullBackOff, disk space.
- Docker & Rancher Desktop Tutorials
Automate Rancher Desktop with rdctl: Settings, Snapshots and Profiles
Use rdctl, the Rancher Desktop command line, to start the app, change engine and Kubernetes, take snapshots, install extensions and create deployment profiles.
- Docker & Rancher Desktop Tutorials
Terraform Docker Provider: Manage Containers and Images as Code
Use the Terraform and OpenTofu Docker provider (kreuzwerker/docker) with Rancher Desktop to manage images, networks, volumes and containers declaratively.
- Docker & Rancher Desktop Tutorials
Push Docker Images from Rancher Desktop to Amazon ECR
Create an Amazon ECR repository with Terraform, log in with the AWS CLI and push images built in Rancher Desktop with docker or nerdctl, for ECS and EKS.
- Docker & Rancher Desktop Tutorials
Convert Docker Compose to Kubernetes: Kompose and Manual Migration
Migrate a Docker Compose app to Kubernetes: generate manifests with Kompose, fix what it cannot convert and deploy to Rancher Desktop with Secrets and Ingress.
- Docker & Rancher Desktop Tutorials
Kubernetes in Rancher Desktop: Run Your Local Images on K3s
Use the Kubernetes cluster of Rancher Desktop: choose the version, run local images without a registry, expose apps with Traefik ingress and port-forward.
- Docker & Rancher Desktop Tutorials
Docker Image Security: Scan with Trivy and Harden Your Containers
Secure Docker images and containers: scan for vulnerabilities with Trivy or Docker Scout, pin base images, run as non-root, read-only, drop capabilities, manage secrets.
- Docker & Rancher Desktop Tutorials
Docker BuildKit and buildx: Cache Mounts, Secrets and Multi-Platform Images
Speed up Docker builds with BuildKit cache mounts, use build secrets safely and build multi-platform images (amd64 and arm64) with buildx and Rancher Desktop.
- Docker & Rancher Desktop Tutorials
Docker Compose Watch: Live Reload for Containers in Development
Use docker compose watch to sync code into running containers, rebuild on dependency changes and restart on config changes, with Node.js and Python examples.
- Docker & Rancher Desktop Tutorials
Docker Compose Tutorial: Run Multi-Container Apps with One File
Learn Docker Compose with a real stack: a Node.js app, PostgreSQL and Redis with healthchecks, volumes, environment files, profiles and the everyday commands.
- Docker & Rancher Desktop Tutorials
Docker Networking Explained: Bridge Networks, Ports and DNS
How Docker networking works: the default bridge, user-defined networks with DNS, publishing ports, host and none drivers, and how to debug connectivity.
- Docker & Rancher Desktop Tutorials
Docker Volumes and Bind Mounts: Persist Data in Containers
Learn Docker volumes, bind mounts and tmpfs: how to persist a PostgreSQL database, back it up, share files with the host and avoid the common permission problems.
- Docker & Rancher Desktop Tutorials
Docker Multi-Stage Builds: Smaller and More Secure Images
Use Docker multi-stage builds to separate the build from the runtime: examples in Go and Node.js, build targets, distroless images and non-root users.
- Docker & Rancher Desktop Tutorials
Dockerfile Tutorial: Build Your First Docker Image Step by Step
Learn to write a Dockerfile: FROM, COPY, RUN, CMD and ENTRYPOINT, the build cache, .dockerignore and best practices, building a real Node.js image.
- Docker & Rancher Desktop Tutorials
Docker CLI Commands Cheat Sheet: The Commands You Use Every Day
A practical Docker CLI cheat sheet: run, ps, logs, exec, build, images, volumes, networks, inspect and cleanup commands with examples that also work with nerdctl.
- Docker & Rancher Desktop Tutorials
Rancher Desktop: containerd vs dockerd, nerdctl vs Docker CLI
Choose the container engine of Rancher Desktop: containerd with nerdctl or dockerd with the docker CLI. Compare them, switch safely and compare with Docker Desktop.
- Docker & Rancher Desktop Tutorials
How to Install Rancher Desktop on Linux, macOS and Windows
Install Rancher Desktop, the free Docker Desktop alternative, on Linux, macOS and Windows, pick the container engine and run your first container and cluster.
- Docker & Rancher Desktop Tutorials
Docker Basics: Containers, Images and Registries Explained
Understand what Docker is: containers vs virtual machines, image layers, registries and the Docker architecture, with your first commands step by step.
Containers and Orchestration
Dockerfile
A Dockerfile is a text file with the instructions to build a container image: base image, files, commands, user and the command to run.
Containers and Orchestration
Docker Compose
Docker Compose defines and runs multi-container applications from a single YAML file: services, networks and volumes started with one command.
Containers and Orchestration
Rancher Desktop
Rancher Desktop is a free open source app with a container engine (containerd or dockerd) and a local K3s Kubernetes cluster for Linux, macOS and Windows.
Containers and Orchestration
Docker
Docker is a platform to build, ship and run applications in containers: lightweight, isolated processes created from portable images.
AWS Management and Governance
AWS Organizations
AWS Organizations lets you manage many AWS accounts centrally: organizational units, consolidated billing and service control policies to set guardrails.
AWS Databases
AWS Aurora
Amazon Aurora is a MySQL and PostgreSQL-compatible relational database built for the cloud, with storage replicated across three Availability Zones.
AWS Security, Identity and Compliance
AWS WAF
AWS WAF is a web application firewall that filters HTTP requests with rules and managed rule groups to block SQL injection, XSS, bots and abusive traffic.
AWS Databases
AWS ElastiCache
Amazon ElastiCache is a managed in-memory data store and cache compatible with Valkey, Redis OSS and Memcached, for microsecond latency.
Infrastructure as Code
AWS CloudFormation
AWS CloudFormation is the native infrastructure as code service of AWS: describe resources in JSON or YAML templates and it manages them as stacks.
AWS Management and Governance
AWS Systems Manager
AWS Systems Manager (SSM) manages servers at scale: Session Manager shell access without SSH, Parameter Store, Patch Manager, Run Command and Automation.
AWS Networking and Content Delivery
AWS API Gateway
Amazon API Gateway is a managed service to create, publish, secure and monitor REST, HTTP and WebSocket APIs in front of Lambda functions and other backends.
AWS Application Integration
AWS SQS
Amazon Simple Queue Service (SQS) is a managed message queue that decouples the components of an application, with standard and FIFO queues.
AWS Application Integration
AWS SNS
Amazon Simple Notification Service (SNS) is a managed publish/subscribe service that sends messages to email, SMS, HTTP endpoints, SQS and Lambda.
AWS Management and Governance
AWS CloudTrail
AWS CloudTrail records the API calls and account activity in AWS, so you can audit who did what, when and from where, and investigate security incidents.
AWS Management and Governance
AWS CloudWatch
Amazon CloudWatch collects metrics, logs and events from AWS resources and applications, and offers dashboards, alarms and automated actions.
AWS Containers
AWS ECR
Amazon Elastic Container Registry (ECR) is a managed registry to store, scan and share Docker and OCI container images with ECS, EKS and Lambda.
AWS Containers
AWS EKS
Amazon Elastic Kubernetes Service (EKS) runs a managed, highly available Kubernetes control plane on AWS and integrates it with VPC, IAM and load balancers.
AWS Storage
AWS EFS
Amazon Elastic File System (EFS) is a managed, elastic NFS file system that many Linux EC2 instances, containers and Lambda functions can share.
AWS Databases
AWS DynamoDB
Amazon DynamoDB is a fully managed, serverless NoSQL key-value and document database with single-digit millisecond latency at any scale.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: Terraform CI/CD (21)
Automate Terraform and OpenTofu on AWS with GitHub Actions: checks on every pull request, plan comments, approved applies and OIDC without keys.
AWS Compute
AWS Lambda
AWS Lambda runs your code in response to events without servers to manage, and you pay only for the time the code runs. It is the core of AWS serverless.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: Terraform Tools (20)
The essential tools for Terraform and OpenTofu: fmt, validate, TFLint, Trivy, Checkov, terraform-docs, Infracost and pre-commit hooks.
AWS Security, Identity and Compliance
AWS Certificate Manager (ACM)
AWS Certificate Manager (ACM) issues, stores and automatically renews free public TLS certificates for load balancers, CloudFront and API Gateway.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: Terraform Backends (19)
Store the Terraform or OpenTofu state in an encrypted, versioned S3 bucket with native state locking, and migrate the local state to it.
AWS Security, Identity and Compliance
AWS Secrets Manager
AWS Secrets Manager stores, retrieves and automatically rotates database credentials, API keys and other secrets, encrypted with AWS KMS.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: Terraform Modules (18)
Refactor the AWS network of the tutorial into a reusable Terraform module with variables and outputs, without recreating any resource.
AWS Security, Identity and Compliance
AWS KMS
AWS Key Management Service (KMS) creates and controls the cryptographic keys that encrypt data in S3, EBS, RDS, Secrets Manager and many other AWS services.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS Load Balancers (16)
Use Terraform to create an Application Load Balancer with a target group, listeners and HTTPS in front of an Auto Scaling group on AWS.
AWS Networking and Content Delivery
AWS Regions and Availability Zones
AWS Regions are separate geographic areas, each made of several isolated Availability Zones. Choose them for latency, compliance, price and resilience.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS Auto Scaling (15)
Use the Terraform aws_launch_template and aws_autoscaling_group resources to run a self-healing, scalable group of EC2 instances on AWS.
AWS Networking and Content Delivery
AWS Elastic IP
An Elastic IP address is a static public IPv4 address that belongs to your AWS account and can be moved between instances or NAT Gateways.
AWS Networking and Content Delivery
AWS Route Tables
A route table contains the rules that decide where the network traffic of a VPC subnet is sent: the local network, an Internet Gateway, a NAT Gateway and more.
AWS Networking and Content Delivery
AWS Network ACLs
A network access control list (NACL) is a stateless firewall that allows or denies traffic at the subnet level of an AWS VPC, using numbered rules.
AWS Networking and Content Delivery
AWS Security Groups
A security group is a stateful virtual firewall that controls the inbound and outbound traffic of AWS resources such as EC2 instances and databases.
AWS Compute
AWS Auto Scaling
Amazon EC2 Auto Scaling keeps the right number of EC2 instances running, replaces unhealthy ones and adds or removes capacity as the load changes.
AWS Networking and Content Delivery
AWS Elastic Load Balancing (ELB)
Elastic Load Balancing (ELB) distributes incoming traffic across healthy targets in several Availability Zones: Application, Network and Gateway load balancers.
- Cloud Platforms
Google Cloud
Google Cloud (GCP) is the Google public cloud, managed with Terraform and OpenTofu through the google provider.
Infrastructure as Code
Packer
Packer is a HashiCorp tool that builds identical machine images, such as AWS AMIs and Docker images, from a single configuration file.
- Terraform & OpenTofu Tutorials
Estimate AWS Costs in Terraform Pull Requests with Infracost
How to see the monthly cost of Terraform and OpenTofu changes before applying them with Infracost, and how to keep AWS demo costs under control.
Infrastructure as Code
HCP Terraform
HCP Terraform (formerly Terraform Cloud) is the HashiCorp managed service that stores state, runs plans remotely and applies policies for teams.
- Docker & Rancher Desktop Tutorials
Install Redis with Docker: Persistence, Basic Commands and Caching
Run Redis in a container with a persistent volume and a password, learn the essential commands, key expiration and the cache-aside pattern, and check memory usage.
Containers and Orchestration
Podman
Podman is a daemonless, rootless container engine that runs OCI containers with a command line compatible with Docker.
- Docker & Rancher Desktop Tutorials
Install Prometheus with Docker: Scrape Metrics and Write PromQL Queries
Run Prometheus in a container, scrape a Node Exporter and your own targets, learn the basic PromQL queries and create an alert rule you can test locally.
- Kubernetes Tutorials
Kubernetes ConfigMaps and Secrets: Environment Variables, Files and Best Practices
Create ConfigMaps and Secrets, inject them as environment variables or mounted files, update them safely, protect secrets and fix the common errors.
- Operating Systems and Virtualization
jq
jq is a command line JSON processor that filters, transforms and formats the output of APIs and CLIs such as the AWS CLI and kubectl.
- Containers and Orchestration
Kubernetes Pod
A Pod is the smallest deployable unit of Kubernetes: one or more containers that share an IP address, ports and volumes and are scheduled together.
- Docker & Rancher Desktop Tutorials
Install NGINX with Docker: Web Server, Reverse Proxy and HTTPS
Run NGINX in a container to serve a static site, proxy requests to an application, balance load between replicas and add TLS, with the configuration explained.
- Docker & Rancher Desktop Tutorials
Install PostgreSQL with Docker: Persistent Data, psql and Backups
Run PostgreSQL in a container with a persistent volume, create a database and a user with psql, initialize it with SQL scripts and back up and restore it.
Security
HashiCorp Vault
HashiCorp Vault is a secrets manager that stores, generates and encrypts credentials, tokens and keys with fine-grained access control and audit logs.
Containers and Orchestration
Helm
Helm is the package manager for Kubernetes: it installs and upgrades applications from versioned charts with configurable values.
- Ansible Tutorials
Install Vagrant and VirtualBox: Create Local Virtual Machines as Code
Install VirtualBox and Vagrant, write a Vagrantfile for a multi-VM lab with private networking and provisioning, and use the daily commands to manage it.
CI/CD and GitOps
GitHub
GitHub is the most popular platform to host Git repositories, review code and automate delivery with pull requests and CI/CD.
Observability
Prometheus
Prometheus is an open source monitoring system that scrapes metrics from your services, stores them as time series and fires alerts.
- Docker & Rancher Desktop Tutorials
Install MariaDB or MySQL with Docker: Users, Volumes and Backups
Run MariaDB (or MySQL) in a container with a persistent volume, create databases and users, load initial SQL, back up with mariadb-dump and connect from your apps.
- Terraform & OpenTofu Tutorials
AWS VPC Peering and Transit Gateway with Terraform
Connect AWS VPCs with Terraform or OpenTofu using VPC peering for simple cases or a Transit Gateway for many networks, with routes and a comparison of costs.
- Kubernetes Tutorials
Kubernetes Persistent Volumes, PVC and StorageClass: Complete Guide
Keep data across pod restarts with PersistentVolumes, PersistentVolumeClaims, StorageClasses and StatefulSets: access modes, resizing, backups and troubleshooting.
- AWS Tutorials
Build an AWS AMI with Packer and Use It in Terraform
Install Packer, build a custom Ubuntu AMI with a shell provisioner, tag it and look it up in Terraform to launch EC2 instances that boot ready to serve.
Containers and Orchestration
BuildKit
BuildKit is the modern build engine of Docker: parallel, cache-aware and able to build multi-platform images with docker buildx.
- Terraform & OpenTofu Tutorials
What is OpenTofu? The Open-Source Fork of Terraform Explained
OpenTofu is the open-source Infrastructure as Code tool, a fork of Terraform managed by the Linux Foundation. Learn what it is, how it works and how to start.
Infrastructure as Code
Pulumi
Pulumi is an infrastructure as code tool where you describe cloud resources in general-purpose languages such as TypeScript, Python and Go.
Networking and Delivery
NGINX
NGINX is a fast web server, reverse proxy and load balancer used to serve sites and route traffic to applications.
- Terraform & OpenTofu Tutorials
Terraform lifecycle: prevent_destroy, create_before_destroy, ignore_changes
How to use the Terraform and OpenTofu lifecycle block: prevent_destroy, create_before_destroy, ignore_changes, replace_triggered_by and conditions.
Operating Systems and Virtualization
VirtualBox
VirtualBox is a free, open source hypervisor from Oracle that runs virtual machines on a desktop or laptop.
- Data and Storage
NFS
NFS (Network File System) shares a directory over the network so several machines or Kubernetes pods can mount the same files.
- Containers and Orchestration
RBAC (Role-Based Access Control)
RBAC in Kubernetes grants permissions to users, groups and service accounts with Roles and ClusterRoles bound by RoleBindings and ClusterRoleBindings.
- Terraform & OpenTofu Tutorials
Install HashiCorp Vault with Docker: Secrets, Policies and Terraform
Run Vault in dev mode, store secrets in the KV engine, restrict access with policies and tokens, and read them from the CLI, curl and Terraform.
- Terraform & OpenTofu Tutorials
Regex in Terraform, Ansible and Prometheus: Functions, Filters and Matchers
Use regular expressions in Terraform regex(), regexall() and replace(), in variable validation, in Ansible regex_search and lineinfile, and in Prometheus label matchers.
- DevOps Tutorials
Cron Expressions with Examples: crontab, Kubernetes CronJob, GitHub Actions and EventBridge
Learn to read and write cron expressions with examples, set up crontab safely with logs and locks, and reuse the syntax in Kubernetes, GitHub Actions and AWS.
- Cloud Platforms
Microsoft Azure
Microsoft Azure is the Microsoft public cloud, which Terraform and OpenTofu manage with the azurerm provider.
- Cloud Platforms
AWS
AWS (Amazon Web Services) is the largest public cloud, managed as code with Terraform and OpenTofu through the aws provider and the AWS CLI.
Configuration and Automation
Vagrant
Vagrant is a HashiCorp tool that creates reproducible local virtual machines from a Vagrantfile, usually on VirtualBox.
Observability
Grafana
Grafana is an open source platform to build dashboards and alerts from metrics, logs and traces stored in many data sources.
- Ansible Tutorials
Install Ansible and Write Your First Playbook: Inventory, Modules and Roles
Install Ansible with pipx, define an inventory, run ad hoc commands, write an idempotent playbook with variables, handlers and templates, and organize it in a role.
Infrastructure as Code
OpenTofu
OpenTofu is the open-source, Linux Foundation fork of Terraform for Infrastructure as Code, compatible with Terraform providers and HCL.
- Operating Systems and Virtualization
Cron
Cron is the Unix scheduler that runs commands at fixed times, defined with five-field cron expressions in a crontab file, also used by Kubernetes and AWS.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu on Oracle Cloud (OCI): Getting Started with the OCI Provider
Deploy your first resources on Oracle Cloud (OCI) with Terraform or OpenTofu: API key authentication, a VCN, a compute instance and an Object Storage bucket.
Networking and Delivery
Istio
Istio is an open source service mesh for Kubernetes that adds traffic routing, security and observability between services without changing the code.
Configuration and Automation
Ansible
Ansible is an agentless automation tool that configures servers and deploys applications over SSH using YAML playbooks.
- Terraform & OpenTofu Tutorials
Terraform import, moved and removed Blocks: Refactor Without Destroying
How to import existing AWS resources into Terraform or OpenTofu, rename them with moved blocks and stop managing them with removed blocks, without downtime.
- Kubernetes Tutorials
kubectl Cheat Sheet: Install and Essential Commands for Kubernetes
Install kubectl, manage contexts and namespaces and use the commands you need every day to create, inspect, debug, scale and delete Kubernetes resources.
Data and Storage
PostgreSQL
PostgreSQL is a powerful open source relational database known for its standards compliance, extensions and reliability.
Infrastructure as Code
TFLint
TFLint is a linter for Terraform and OpenTofu that finds errors, deprecated syntax and invalid provider values before you run plan or apply.
- AWS Tutorials
jq Cheat Sheet: Process AWS CLI and kubectl JSON Output
Install jq and learn the filters you need for AWS CLI and kubectl JSON: select fields, filter arrays, build new objects, group, count and use shell variables.
- Kubernetes Tutorials
Create a Local Kubernetes Cluster with kind: Multi-Node, Ingress and Local Images
Install kind, create a multi-node Kubernetes cluster in Docker with port mappings, deploy an app, load local images without a registry and delete the cluster.
- Terraform & OpenTofu Tutorials
Terraform -replace, taint and -target: Recreate or Limit Resources Safely
How to force Terraform and OpenTofu to recreate a resource with -replace (the replacement for taint), when to use -target and how to avoid its risks.
Containers and Orchestration
K3s
K3s is a lightweight, certified Kubernetes distribution packaged as a single binary, ideal for development, edge and small clusters.
Containers and Orchestration
Kubernetes
Kubernetes is an open source platform that deploys, scales and operates containerized applications across a cluster of machines.
- Containers and Orchestration
Persistent Volume
A PersistentVolume is a piece of cluster storage that outlives pods; applications request it with a PersistentVolumeClaim, often created by a StorageClass.
CI/CD and GitOps
Argo CD
Argo CD is a declarative GitOps continuous delivery tool for Kubernetes that keeps a cluster in sync with the manifests stored in Git.
Networking and Delivery
Traefik
Traefik is a cloud native reverse proxy and ingress controller that discovers services automatically and routes HTTP traffic to them.
- Terraform & OpenTofu Tutorials
Terraform vs OpenTofu: Differences, License and Which One to Choose
Compare Terraform and OpenTofu: license, governance, compatibility, exclusive features such as state encryption, and how to decide which one to use.
- Security
Checkov
Checkov is an open source static analysis tool that scans Terraform, Kubernetes and Dockerfile code for security and compliance misconfigurations.
Data and Storage
MySQL
MySQL is a widely used open source relational database, available as a managed engine in Amazon RDS and Aurora.
- Kubernetes Tutorials
Kubernetes Pods and Deployments: Replicas, Rolling Updates and Rollbacks
Learn what a Pod, ReplicaSet and Deployment are, write a manifest, scale, update with zero downtime, roll back and fix the common errors, with an FAQ.
- Containers and Orchestration
Kubernetes Dashboard
The Kubernetes Dashboard is the official web interface to view and manage the workloads, services and configuration of a cluster.
- Docker & Rancher Desktop Tutorials
Install Traefik with Docker: Reverse Proxy with Automatic Routing
Run Traefik v3 with Docker Compose, route several containers by hostname with labels, add the dashboard, middlewares and automatic Let's Encrypt certificates.
CI/CD and GitOps
LocalStack
LocalStack is a local emulator of AWS services that runs in a container, so you can test Terraform and applications without an AWS account.
- DevOps Tutorials
rsync Tutorial: Copy, Sync and Back Up Files over SSH with Incremental Snapshots
Learn rsync with examples: copy and mirror folders, trailing slashes, excludes, SSH sync, dry runs, bandwidth limits and incremental backups with hard links.
- Data and Storage
rsync
rsync is a command line tool that copies and synchronizes files locally or over SSH, sending only the differences between source and destination.
- Docker & Rancher Desktop Tutorials
Install Podman on Linux: Rootless Containers as a Docker Alternative
Install Podman, run rootless containers, build images, use pods and volumes, create systemd services and move from Docker with the same commands.
- Concepts and Practices
Regular Expressions (Regex)
A regular expression is a pattern that matches text. It is used to search, validate and replace text in code, command line tools and infrastructure files.
- Containers and Orchestration
kubectl
kubectl is the command line client of Kubernetes: it sends requests to the API server to create, inspect, change and debug cluster resources.
AWS Application Integration
AWS Kinesis
Amazon Kinesis collects, processes and analyzes real-time streaming data: Data Streams, Data Firehose and Managed Service for Apache Flink.
- Kubernetes Tutorials
Kubernetes Overlays with Kustomize: One Base, Many Environments
Use Kustomize with kubectl to keep one set of manifests and patch them per environment: namespaces, replicas, images, ConfigMaps and strategic merge patches.
AWS Application Integration
AWS Step Functions
AWS Step Functions is a serverless workflow service that coordinates Lambda functions and AWS services using state machines.
CI/CD and GitOps
Git
Git is the distributed version control system that stores the history of your code and infrastructure files and lets teams work on them together.
- Kubernetes Tutorials
Kubernetes Pod Stuck in Pending: Causes, Debugging and Fixes
Why a Kubernetes pod stays Pending: insufficient CPU or memory, taints, node selectors, unbound PVCs, quotas and zones. How to read FailedScheduling and fix it.
- Containers and Orchestration
Kubernetes Service
A Kubernetes Service gives a changing set of pods a stable virtual IP and DNS name and load balances traffic to them: ClusterIP, NodePort or LoadBalancer.
- Terraform & OpenTofu Tutorials
Terraform Variables, Outputs and Locals Explained with Examples
How to use input variables, validation, outputs and local values in Terraform and OpenTofu, and how to set variables with tfvars files and environment variables.
- Terraform & OpenTofu Tutorials
AWS IAM Roles and Policies with Terraform and OpenTofu
How to create IAM roles, policies, instance profiles and assume-role trust relationships with Terraform or OpenTofu, following least privilege, with AWS examples.
Data and Storage
Redis
Redis is an open source in-memory data store used as a cache, message broker and fast key-value database.
- AWS Tutorials
Test Terraform Locally with LocalStack: S3, SQS and DynamoDB Without an AWS Account
Run LocalStack in Docker, point the AWS CLI and the Terraform AWS provider to it and create S3, SQS and DynamoDB resources locally for free, fast tests.
Infrastructure as Code
Infracost
Infracost estimates the monthly cost of Terraform and OpenTofu changes and shows the difference in pull requests before you deploy.
Infrastructure as Code
Terragrunt
Terragrunt is a thin wrapper for Terraform and OpenTofu that keeps configuration DRY across many environments, accounts and regions.
Containers and Orchestration
nerdctl
nerdctl is a Docker-compatible command line client for containerd, with support for Compose, image building and lazy pulling.
Operating Systems and Virtualization
Ubuntu
Ubuntu is a popular Debian based Linux distribution used on laptops, servers and as the base of many cloud and container images.
Containers and Orchestration
containerd
containerd is the industry standard container runtime that pulls images and manages the lifecycle of containers for Docker and Kubernetes.
- Kubernetes Tutorials
Kubernetes Probes and Resource Limits: Liveness, Readiness, Requests and OOMKilled
Configure liveness, readiness and startup probes and CPU and memory requests and limits, understand QoS and OOMKilled, and debug restarts and throttling.
AWS Application Integration
AWS EventBridge
Amazon EventBridge is a serverless event bus that routes events from AWS services, SaaS applications and your own code to targets using rules.
Infrastructure as Code
Terraform
Terraform is an infrastructure as code tool by HashiCorp that creates and changes cloud resources from declarative configuration files.
CI/CD and GitOps
GitHub Actions
GitHub Actions is the CI/CD service of GitHub that runs workflows defined in YAML files when events happen in a repository.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu with GitHub Actions and AWS OIDC (No Access Keys)
Run Terraform or OpenTofu plan on pull requests and apply on merge with GitHub Actions, authenticating to AWS with OIDC and short-lived credentials.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu Cheat Sheet: Commands and HCL Syntax
A quick reference of the most used Terraform and OpenTofu commands (init, plan, apply, state, import, workspace) and HCL syntax, with examples to copy.
- Containers and Orchestration
Kubernetes Ingress
A Kubernetes Ingress defines HTTP and HTTPS routing rules by host and path to Services and is implemented by an Ingress controller such as NGINX or Traefik.
Containers and Orchestration
Kustomize
Kustomize customizes Kubernetes YAML without templates: a base of manifests plus overlays that patch them for each environment.
- Terraform & OpenTofu Tutorials
Install Git and Create Your First Repository: Commits, Branches and Remotes
Install and configure Git, create a repository, make commits, work with branches and pull requests, connect to GitHub with SSH and avoid committing secrets.
Data and Storage
MariaDB
MariaDB is an open source relational database forked from MySQL, offered as a managed engine in Amazon RDS.
- Terraform & OpenTofu Tutorials
AWS S3 Buckets with Terraform and OpenTofu: Secure Configuration
Create secure AWS S3 buckets with Terraform or OpenTofu: public access block, encryption with KMS, versioning, lifecycle rules and bucket policies.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu on OpenStack: Getting Started with the OpenStack Provider
Deploy your first resources on OpenStack with Terraform or OpenTofu: clouds.yaml authentication, a network and router, an instance and a floating IP.
Security
Trivy
Trivy is an open source security scanner that finds vulnerabilities, misconfigurations and secrets in container images, code and infrastructure files.
Infrastructure as Code
Configuration Drift
Configuration drift is the difference between the real infrastructure and its Terraform code or state, caused by manual changes. Learn how to detect and fix it.
- Terraform & OpenTofu Tutorials
terraform-aws-modules: Create a VPC and EKS Cluster with the Official Community Modules
How to use the popular terraform-aws-modules (vpc, iam, s3-bucket, eks) from the Terraform and OpenTofu registry: versions, inputs, outputs and a VPC plus EKS example.
- Docker & Rancher Desktop Tutorials
Install Grafana with Docker and Build Your First Dashboard
Run Grafana in a container with a persistent volume, connect Prometheus as a data source, provision it from files and build your first dashboard step by step.
Security
cert-manager
cert-manager is a Kubernetes add-on that issues and renews TLS certificates automatically, for example from Let's Encrypt.
Security
GnuPG
GnuPG (GPG) is the free implementation of OpenPGP used to sign and encrypt files, emails and software packages with key pairs.
- Containers and Orchestration
Horizontal Pod Autoscaler (HPA)
The Horizontal Pod Autoscaler changes the number of replicas of a Kubernetes workload automatically from CPU, memory or custom metrics.
- DevOps Tutorials
Regular Expressions Tutorial with Examples: grep, sed, Python and Cheat Sheet
Learn regex from zero with runnable examples: character classes, quantifiers, groups, anchors, greedy vs lazy matching, and patterns for IPs, versions, ARNs and logs.
- Kubernetes Tutorials
Kubernetes Services and Ingress: ClusterIP, NodePort, LoadBalancer and Routing
Expose Kubernetes apps: ClusterIP, NodePort and LoadBalancer Services, Ingress with host and path routing and TLS, DNS, plus common errors and how to debug them.
Containers and Orchestration
kind
kind (Kubernetes in Docker) creates local Kubernetes clusters using Docker containers as nodes, ideal for development and CI.
- AWS Best Practices
AWS Cost Optimization and FinOps: A Practical Checklist
How to reduce AWS costs: budgets, tagging, right-sizing, Savings Plans, NAT gateway and data transfer savings, storage lifecycle and automation with Terraform.
- Terraform & OpenTofu Tutorials
Terraform Multi-Region and Multi-Account AWS with Provider Aliases
How to deploy to several AWS regions and accounts from one Terraform or OpenTofu configuration using provider aliases, assume_role, modules and for_each on providers.
Infrastructure as Code
Terraform Backend
A Terraform backend defines where the state is stored and how operations run. Learn the S3 backend, locking and how to migrate between backends.
Networking and Delivery
Cloudflare
Cloudflare is a global network for DNS, CDN, TLS and web security, managed with Terraform and OpenTofu through the cloudflare provider.
- Terraform & OpenTofu Tutorials
AWS Lambda and API Gateway with Terraform: Serverless HTTP API
Deploy a serverless HTTP API with an AWS Lambda function, IAM role, CloudWatch logs and API Gateway HTTP API using Terraform or OpenTofu.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu Testing: tofu test, validate and Terratest
How to test infrastructure code: terraform validate, the native terraform test and tofu test framework with mock providers, plan checks and Terratest.
Cloud Platforms
Oracle Cloud
Oracle Cloud Infrastructure is the Oracle public cloud, managed with Terraform and OpenTofu through the oci provider published by Oracle.
Cloud Platforms
Alibaba Cloud
Alibaba Cloud is a public cloud with ECS, VPC and OSS services, managed with Terraform and OpenTofu through the alicloud provider.
- Kubernetes Tutorials
Kubernetes Architecture Explained: Control Plane, Nodes and Components
How Kubernetes works: API server, etcd, scheduler, controller manager, kubelet, kube-proxy and the container runtime, with what happens when you run kubectl apply.
- Terraform & OpenTofu Tutorials
AWS SQS and SNS with Terraform: Queues, Topics and Dead-Letter Queues
Create AWS SQS queues with dead-letter queues, SNS topics and subscriptions with Terraform or OpenTofu, including encryption and the access policy for fan-out.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu Project Structure: Recommended Layouts
How to organize a Terraform or OpenTofu project: files, modules, environments, state splitting, versions and a monorepo layout that scales with the team.
- Kubernetes Tutorials
Kubernetes Horizontal Pod Autoscaler (HPA): CPU, Memory and Custom Metrics
Scale a Deployment automatically with the Horizontal Pod Autoscaler: install metrics-server, set targets, tune scaling behavior, load test and fix HPA errors.
- Terraform & OpenTofu Tutorials
Common Terraform and OpenTofu Errors and How to Fix Them
Fix the most common Terraform errors: state lock, provider version, cycle, invalid count, already exists, access denied, credentials and failed apply on AWS.
AWS Databases
AWS Redshift
Amazon Redshift is a managed, columnar data warehouse for large-scale SQL analytics, available as provisioned clusters or serverless.
- Terraform & OpenTofu Tutorials
AWS VPC Endpoints and PrivateLink with Terraform: Private Access to AWS Services
Create gateway and interface VPC endpoints with Terraform or OpenTofu to reach S3, DynamoDB and other AWS services privately and reduce NAT gateway costs.
- Terraform & OpenTofu Tutorials
Terraform Secrets Management: Keep Passwords Out of Code and State
How to handle secrets in Terraform and OpenTofu: sensitive variables, AWS Secrets Manager, SSM, generated passwords, ephemeral values and state encryption.
- Kubernetes Tutorials
Kubernetes CrashLoopBackOff: Causes, How to Debug and How to Fix It
Why a Kubernetes pod is in CrashLoopBackOff and how to fix it: read the previous logs, exit codes, OOMKilled, bad probes, missing config, wrong command and dependencies.
Infrastructure as Code
Terraform Workspace
A Terraform workspace is a named state inside the same backend and configuration, used to create several copies of an infrastructure.
- Terraform & OpenTofu Tutorials
Automate AWS with EventBridge Scheduler and Lambda: Stop and Start EC2 on a Schedule (Terraform)
Automate AWS tasks with Terraform: schedule a Lambda function with EventBridge Scheduler to stop and start tagged EC2 instances and save costs outside working hours.
- Kubernetes Tutorials
Kubernetes Namespaces and RBAC: Roles, ServiceAccounts, Quotas and kubectl auth can-i
Split a cluster with namespaces and control access with RBAC: Roles, ClusterRoles, bindings, ServiceAccounts, quotas, limit ranges and how to fix Forbidden errors.
Infrastructure as Code
Terraform State
The Terraform state is the file where Terraform and OpenTofu record which real resources they manage, so they can plan and apply changes.
Infrastructure as Code
Terraform Module
A Terraform module is a reusable set of resources in a directory, with input variables and outputs. Learn how modules work in Terraform and OpenTofu.
- Kubernetes Tutorials
How to Debug Kubernetes: kubectl logs, describe, events, exec and debug
A step-by-step method to troubleshoot Kubernetes pods, services and nodes with kubectl get, describe, logs, events, exec, port-forward and ephemeral debug containers.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu on Alibaba Cloud: Getting Started with the Alicloud Provider
Deploy your first resources on Alibaba Cloud with Terraform or OpenTofu: RAM user credentials, a VPC with a vSwitch, a security group, an ECS instance and an OSS bucket.
- Kubernetes Tutorials
Kubernetes ImagePullBackOff and ErrImagePull: Causes, Debugging and Fixes
Fix ImagePullBackOff and ErrImagePull in Kubernetes: wrong image or tag, private registry credentials, ECR tokens, rate limits, local images and network problems.
- Kubernetes Tutorials
Argo CD and GitOps on Kubernetes: Install and Deploy Your First App
Learn what GitOps is and install Argo CD in a Kubernetes cluster to deploy applications automatically from Git, with an Application example, sync policies and Helm.
- Containers and Orchestration
Kubernetes Deployment
A Kubernetes Deployment keeps a desired number of identical pods running and updates them with rolling updates and rollbacks through ReplicaSets.
Cloud Platforms
OpenStack
OpenStack is open source software to build private and public clouds, managed with Terraform and OpenTofu through the openstack provider.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu on Azure: Getting Started with the AzureRM Provider
Deploy your first Azure resources with Terraform or OpenTofu: Azure CLI login, resource group, virtual network, storage account and remote state.
- Terraform & OpenTofu Tutorials
Terraform Workspaces vs Directories: How to Manage Environments
Compare Terraform and OpenTofu workspaces with separate directories and tfvars files to manage dev, pre and pro environments, and learn which one to use.
Infrastructure as Code
Terraform Provider
A Terraform provider is a plugin that lets Terraform and OpenTofu manage resources of a platform such as AWS, Azure or Kubernetes through its API.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu on DigitalOcean: Droplets, VPC and Firewall
Deploy your first resources on DigitalOcean with Terraform or OpenTofu: API token, an SSH key, a VPC, a Droplet and a cloud firewall, with a comparison to AWS.
- Terraform & OpenTofu Tutorials
Terraform Security Scanning with tflint, Checkov and Trivy
Find misconfigurations in Terraform and OpenTofu code before deploying: tflint for errors, Checkov and Trivy for AWS security issues, with CI examples.
- Terraform & OpenTofu Tutorials
Terraform Conditionals and for Expressions: Ternary, count, splat and Examples
How to write conditions and loops in Terraform and OpenTofu: the ternary operator, count and for_each switches, for expressions, splat, try, lookup, merge and flatten.
AWS Analytics and AI
AWS Athena
Amazon Athena runs SQL queries directly on data stored in Amazon S3, without servers, and charges per amount of data scanned.
AWS Networking and Content Delivery
AWS Transit Gateway
AWS Transit Gateway is a regional network hub that connects VPCs, VPN connections and Direct Connect with transitive routing.
- Terraform & OpenTofu Tutorials
AWS Organizations and Multi-Account Setup with Terraform
Design and create a multi-account AWS landing zone with Terraform or OpenTofu: AWS Organizations, OUs, accounts, service control policies and cross-account roles.
Cloud Platforms
DigitalOcean
DigitalOcean is a cloud with Droplets, VPCs, firewalls and managed services, managed with Terraform and OpenTofu through the digitalocean provider.
- Terraform & OpenTofu Tutorials
Terraform depends_on and Resource Dependencies Explained
How Terraform builds its dependency graph, the difference between implicit and explicit dependencies, when to use depends_on, and how to fix dependency cycles.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu with Cloudflare: DNS, WAF, Caching, R2 and Tunnels
Manage Cloudflare with Terraform or OpenTofu: DNS records, WAF, redirect, cache and rate limit rules, zone settings, DNSSEC, R2 buckets and tunnels.
- Terraform & OpenTofu Tutorials
AWS KMS and Secrets Manager with Terraform: Encrypt and Store Secrets
Create KMS keys with rotation and policies, and store and read secrets in AWS Secrets Manager and SSM Parameter Store with Terraform or OpenTofu, safely.
- Terraform & OpenTofu Tutorials
AWS Security Monitoring with Terraform: CloudTrail, GuardDuty, Config and Security Hub
Enable AWS security services with Terraform or OpenTofu: an organization CloudTrail, GuardDuty, AWS Config and Security Hub, with encrypted log storage.
AWS Management and Governance
AWS Config
AWS Config records the configuration of AWS resources over time and evaluates them against rules for compliance and auditing.
AWS Security, Identity and Compliance
AWS Security Hub
AWS Security Hub aggregates security findings from AWS services and partners and checks accounts against standards such as CIS and AWS Foundational Best Practices.
- Terraform & OpenTofu Tutorials
AWS CloudWatch Alarms, Logs and Dashboards with Terraform
Monitor AWS with Terraform or OpenTofu: log groups with retention, metric filters, CloudWatch alarms that notify through SNS, and a dashboard.
- Terraform & OpenTofu Tutorials
Static Website on AWS with S3, CloudFront and ACM using Terraform
Host a static website on AWS with a private S3 bucket, CloudFront with Origin Access Control, an ACM certificate and Route 53, using Terraform or OpenTofu.
- Terraform & OpenTofu Tutorials
Terraform Provisioners and EC2 user_data: When to Use Each (and Alternatives)
How Terraform provisioners (local-exec, remote-exec, file) work, why they are a last resort, and how to use EC2 user_data, cloud-init and Ansible instead.
- Terraform & OpenTofu Tutorials
AWS DynamoDB Tables with Terraform: Keys, Indexes, TTL and Autoscaling
Create AWS DynamoDB tables with Terraform or OpenTofu: partition and sort keys, global secondary indexes, on-demand or provisioned capacity, TTL, backups and encryption.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu on Google Cloud: Getting Started with the Google Provider
Deploy your first resources on Google Cloud with Terraform or OpenTofu: authentication, enabling APIs, a VPC network, a Cloud Storage bucket and remote state in GCS.
AWS Networking and Content Delivery
AWS PrivateLink
AWS PrivateLink provides private connectivity between VPCs and AWS services or your own services using interface endpoints, without Internet access.
- AWS Tutorials
AWS Three-Tier Web Architecture: Reference Design with Terraform
A reference architecture for a highly available three-tier web application on AWS: VPC, ALB, EC2 auto scaling and RDS, with the Terraform modules to build each layer.
- Terraform & OpenTofu Tutorials
HashiCorp Terraform Associate Certification Study Guide
A study plan for the HashiCorp Certified Terraform Associate exam: topics, what to practice, commands to know and links to hands-on tutorials with AWS.
- Terraform & OpenTofu Tutorials
AWS Systems Manager Session Manager with Terraform: SSH Without Open Ports
Connect to EC2 instances without SSH keys, bastion hosts or open port 22 using AWS Systems Manager Session Manager, configured with Terraform or OpenTofu.
- Terraform & OpenTofu Tutorials
Terraform and OpenTofu Interview Questions and Answers (with AWS Examples)
The most common Terraform and OpenTofu interview questions for DevOps and cloud roles, with short answers on state, modules, lifecycle, secrets, AWS and CI/CD.
AWS Security, Identity and Compliance
AWS Cognito
Amazon Cognito provides user sign-up, sign-in and access control for web and mobile apps, with user pools and identity pools.
AWS Security, Identity and Compliance
AWS GuardDuty
Amazon GuardDuty is a managed threat detection service that analyzes CloudTrail, VPC flow and DNS logs to find compromised resources and attacks.
- Terraform Best Practices
Terraform and OpenTofu Best Practices for AWS and the Cloud
A practical checklist of Terraform and OpenTofu best practices: state, modules, versions, security, CI/CD, naming, testing and cost control.
- Terraform & OpenTofu Tutorials
Terraform for_each vs count: Which One to Use and Why
Learn the difference between the Terraform and OpenTofu count and for_each meta-arguments, with AWS examples, and why for_each avoids destroying resources.
- Terraform & OpenTofu Tutorials
Terragrunt with OpenTofu: Keep Your Configuration DRY
What Terragrunt is and how to use it with OpenTofu or Terraform to avoid repeating backend and provider code across environments, with a complete AWS example.
- Terraform & OpenTofu Tutorials
Terraform Data Sources and terraform_remote_state with AWS Examples
How to read existing infrastructure with Terraform data sources and share values between configurations with terraform_remote_state or SSM Parameter Store.
AWS Management and Governance
AWS Control Tower
AWS Control Tower sets up and governs a secure multi-account AWS environment (landing zone) with guardrails, account factory and centralized logging.
AWS Security, Identity and Compliance
AWS IAM Identity Center
AWS IAM Identity Center (formerly AWS SSO) gives people single sign-on access to multiple AWS accounts and applications with permission sets.
- Terraform & OpenTofu Tutorials
Terraform Dynamic Blocks: Generate Nested Blocks from Variables
How to use dynamic blocks in Terraform and OpenTofu to generate repeated nested blocks such as security group rules, with for_each, iterator and AWS examples.
- Terraform & OpenTofu Tutorials
Terraform vs CloudFormation vs CDK vs Pulumi: Which IaC Tool for AWS?
Compare Terraform/OpenTofu, AWS CloudFormation, AWS CDK and Pulumi for AWS infrastructure: language, state, multi-cloud, drift, learning curve and when to choose each.
- AWS Tutorials
AWS CLI Cheat Sheet: Profiles, SSO, S3, EC2, IAM and Useful Queries
A quick reference for the AWS CLI: profiles and SSO, plus the most used commands for S3, EC2, IAM, Lambda and logs, with --query and --output examples.
AWS Analytics and AI
AWS Bedrock
Amazon Bedrock is a managed service to build generative AI applications with foundation models from several providers through a single API.
- Terraform & OpenTofu Tutorials
Terraform Helm Provider: Deploy Helm Charts to Kubernetes with OpenTofu
Install Helm charts in a Kubernetes cluster with the Terraform and OpenTofu Helm provider: values, secrets, upgrades, ingress-nginx and cert-manager examples.
AWS Analytics and AI
AWS Glue
AWS Glue is a serverless data integration service with a data catalog, crawlers and ETL jobs to prepare data for analytics.
- Terraform & OpenTofu Tutorials
How to Encrypt Terraform State with OpenTofu
Step-by-step guide to encrypting the Terraform state file with OpenTofu state encryption and AWS KMS, with a full configuration example.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS Route 53 (DNS) (14)
Using the Terraform aws_route53_delegation_set, aws_route53_zone, and aws_route53_record resource blocks to configure DNS in AWS.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS RDS Instances (13)
Using the Terraform aws_db_instance resource block to configure, launch, and secure RDS instances.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS EC2 Instances (12)
How to use the Terraform aws_instance resource block to configure, launch, and secure EC2 instances.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS AMIs (11)
How to use the Terraform aws_ami data source to find the AMI (root volume template with an operating system) used to launch EC2 instances.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS Key Pairs (10)
How to configure and use the Terraform aws_key_pair resource to upload an SSH public key to AWS and use it for public key authentication on EC2 instances.
Security
Public Key Authentication
A public key is a cryptographic key that is part of a key pair used for public key cryptography.
Configuration and Automation
Cloud-init
Cloud-init is a multi-distribution package that handles the early initialization of cloud instances.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS Security Groups (9)
How to configure and use the Terraform aws_security_group and aws_security_group_rule resources to create AWS security groups and secure the infrastructure.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS Routing Tables (8)
How to configure and use the Terraform aws_route_table, aws_route, and aws_main_route_table_association resource blocks to create and manage AWS Routing Tables.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS NAT Gateway (7)
How to configure and use the Terraform aws_nat_gateway and aws_eip resources to create NAT Gateways and Elastic IPs for the private subnets of a VPC.
AWS Networking and Content Delivery
AWS NAT Gateway
An AWS NAT Gateway is a managed service that allows instances in a private subnet to connect to the Internet while keeping them secure.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS Internet Gateway (6)
How to configure and use the Terraform aws_internet_gateway resource block to create an AWS Internet Gateway that gives a VPC access to the Internet.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS Subnets (5)
How to configure and use the Terraform aws_subnet resource block to create and manage AWS Subnets inside a VPC.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS VPC (4)
How to configure and use the Terraform aws_vpc resource block to create and manage an AWS VPC (Virtual Private Cloud), step by step.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: Terraform AWS Provider (3)
How the Terraform and OpenTofu AWS provider authenticates to AWS, where to store the state and which provider source to use, before creating resources.
AWS Security, Identity and Compliance
AWS IAM
AWS Identity and Access Management (IAM) is a web service provided by Amazon Web Services (AWS) that enables users to securely control access to AWS…
AWS Networking and Content Delivery
Amazon CloudFront
Amazon CloudFront is a content delivery network (CDN) service provided by AWS.
AWS Networking and Content Delivery
AWS Route 53
Amazon Route 53 is a scalable and highly available Domain Name System (DNS) web service provided by Amazon Web Services (AWS).
AWS Databases
AWS RDS
AWS RDS is a fully managed service provided by Amazon Web Services (AWS) that simplifies the setup, operation, and scaling of relational databases in the cloud.
AWS Storage
AWS EBS
Block storage for persistent data for EC2 instances. Instance storage for the operating system uses EBS volumes.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: AWS Basics (2)
AWS is the world’s leading cloud platform, used by startups and large enterprises.
- Terraform & OpenTofu Tutorials
AWS with Terraform Tutorial: Terraform Basics (1)
How to start building AWS infrastructure with Terraform: Terraform is an Infrastructure as Code (IaC) tool used to provision and manage infrastructure.
Infrastructure as Code
Terraform Built-in Functions
Terraform functions perform specific tasks on configuration data: numeric, string, collection, date and time, file system and more.
- AWS Tutorials
How to use Terraform, AWS, and Ansible Together
How to use Terraform to create AWS infrastructure with tags, and Ansible with its dynamic inventory plugin to configure the servers, linked by the tags.
- Ansible Tutorials
How to Install Ansible
How to install the Ansible control node on Ubuntu with apt or pipx, and check that Ansible works.
- Terraform Best Practices
How to Share Infrastructure in Multiple Terraform Projects?
Sharing infrastructure across multiple Terraform projects using Data Sources helps maintain consistency, reduce redundancy, and promote collaboration.
Operating Systems and Virtualization
SSH
SSH, which stands for Secure Shell, is a cryptographic network protocol that allows for secure communication and data transfer between two computers over an…
- Terraform & OpenTofu Tutorials
Generating and using AWS Key Pairs with Terraform or OpenTofu
Generation of an Ed25519 Key Pair for SSH Authentication on AWS Linux Machines and Uploading of Key Pairs with Terraform.
- Terraform & OpenTofu Tutorials
Terraform AWS EKS Cluster Deployment & Application Publishing through ALB
This how-to demonstrates how to use Terraform to create an AWS EKS cluster and deploy an application along with a Load Balancer on top.
AWS Networking and Content Delivery
AWS Internet Gateway
An AWS Internet Gateway is a component that facilitates communication between instances within an Amazon Virtual Private Cloud (VPC) and the Internet
AWS Containers
AWS Fargate
AWS Fargate is a serverless compute engine for containers that runs ECS and EKS workloads without managing servers or clusters of instances.
AWS Containers
AWS ECS
Amazon ECS is a fully managed container orchestration service to deploy, manage and scale Docker containers on EC2 instances or AWS Fargate.
AWS Networking and Content Delivery
AWS Subnets
AWS Subnets are segmented sections within an Amazon Virtual Private Cloud (VPC).
AWS Networking and Content Delivery
AWS VPC
An AWS VPC (Virtual Private Cloud) is a virtual network dedicated to an AWS account.
- AWS Tutorials
How to Install AWS CLI V2
How to install the AWS CLI (Command Line Interface) to interact with Amazon Web Services through the command line.
- Terraform & OpenTofu Tutorials
Terraform AWS ECS Fargate Cluster Deployment & Docker Container Publishing
How-to use Terraform or OpenTofu to create an AWS ECS (Elastic Container Service) running in Fargate and deploy a Docker container.
- Terraform & OpenTofu Tutorials
How to Create AWS IAM users with Terraform & OpenTofu
Programmatically creating AWS users using IaC tools like Terraform & OpenTofu
- Terraform & OpenTofu Tutorials
Using a PGP Key Pair
Generation of a Pretty Good Privacy (PGP) Key Pair for automated AWS IAM user access key creation with Terraform.
- Terraform & OpenTofu Tutorials
How to Deploy Applications in Kubernetes using Terraform
How to publish multiple replicas of an Application (from the Docker Registry) and create a NodePort in Kubernetes using Terraform (in 10 seconds)
- Terraform & OpenTofu Tutorials
How to Migrate Infrastructure from Terraform to OpenTofu
How to migrate existing AWS Terraform-managed infrastructure that uses remote backend storage (e.g. S3) to OpenTofu.
- Kubernetes Tutorials
How to use an external NFS Persistent Volume on Kubernetes
How to use NFS Kubernetes Persistent Volumes for the storage of data. Postgres is used as an example.
- Kubernetes Tutorials
How to Install Helm
How to install Helm, the package manager for Kubernetes, and use it to deploy applications to a cluster.
- Kubernetes Tutorials
How to Install K3s as a local development Kubernetes cluster
K3s.io is a Lightweight Kubernetes cluster perfect for development or edge deployments. K3s is a CNCF project, originally developed by Rancher.
- Terraform & OpenTofu Tutorials
How to Deploy Applications in Kubernetes using OpenTofu
How to publish multiple replicas of an application from the Docker registry and create a NodePort or a LoadBalancer in Kubernetes using OpenTofu.
- Terraform & OpenTofu Tutorials
How to Install OpenTofu
Install OpenTofu on Ubuntu with the official installer script or manually from the GitHub releases, check the installation and upgrade it.
- Kubernetes Tutorials
Istio Patterns: Traffic Splitting in Kubernetes (Canary Release)
Tutorial on how to use Istio on Kubernetes for releasing new versions of software to the Cloud.
- AWS Best Practices
AWS Security Groups’ Best Practices
Best practices for AWS security groups, the virtual firewalls of EC2, RDS and other resources: naming, groups as sources, least privilege and rule descriptions.
- Terraform Best Practices
AWS and Terraform Naming Best Practices
Terraform and AWS resource naming should follow a company standard. Each company has different requirements and the standard should be adjusted.
- Terraform & OpenTofu Tutorials
How To Debug Terraform
Options and techniques for debugging Terraform and OpenTofu Infrastructure plans.
- Ansible Best Practices
Ansible Multiple Environment Best Practices
Handling multiple infrastructure environments with Ansible by targeting the environment tag that is included in the mandatory AWS tags
- Ansible Best Practices
Ansible Roles Best Practices
How granular Ansible roles should be: highly reusable by configuration, but pragmatic for stateful applications that are not cloud native.
- Ansible Best Practices
Ansible Playbook Structure Best Practices
Define and apply a company-wide consistent structure for all your Ansible Playbooks that allows for easy understanding and maximum reuse
Configuration and Automation
Ansible Dynamic Inventory
Generate inventory (host and group information) dynamically rather than statically defining it in a static inventory file
- AWS Best Practices
AWS Tagging Best Practices
Effective infrastructure resource tagging can greatly improve management, IaC, monitoring and cost visibility in AWS.
Infrastructure as Code
HCL
HCL is a domain-specific language developed by HashiCorp, a company known for its infrastructure automation tools such as Terraform, Vault, Consul, and Nomad.
Concepts and Practices
IaC
IaC is an approach to managing and provisioning computing infrastructure through machine-readable code and automation, rather than manual processes.
AWS Storage
AWS S3
Amazon S3 is a highly scalable and durable object storage service for data storage, backup, content distribution, archiving and cloud-native applications.
AWS Compute
AWS EC2
Amazon Elastic Compute Cloud (EC2) is a web service offered by Amazon Web Services (AWS) that provides resizable and scalable compute capacity in the cloud.
AWS Compute
AWS AMI
AWS AMI, or Amazon Machine Image, is a pre-configured virtual machine image used to create and launch Amazon Elastic Compute Cloud (EC2) instances
- Networking and Delivery
OSI model
The OSI model is a conceptual framework that describes how a network functions, split into seven layers.
- Terraform & OpenTofu Tutorials
Terraform Cloud Agents in a Kubernetes Cluster
How Terraform Cloud agents (HCP Terraform agents) run Terraform on private infrastructure, deployed in a Kubernetes cluster with Terraform itself.
- Kubernetes Tutorials
Kubernetes Cluster using Vagrant and Ansible with Containerd (in 3 minutes)
Tutorial and full source code explaining how to create a Kubernetes cluster with Ansible and Vagrant for local development under 3 minutes.
- Kubernetes Tutorials
Installing Istio on Kubernetes
How to install Istio in a Kubernetes Cluster to use it as a service mesh for a microservices architecture.
- Kubernetes Tutorials
Installing the Kubernetes Dashboard and managing the Cluster using kubectl
How to install the Kubernetes Dashboard and manage the cluster after installation.
- Kubernetes Tutorials
Running Postgres in Kubernetes with a Persistent NFS Volume
How to create a Kubernetes persistent volume for Postgres long term storage of data using a NFS Volume
- Terraform & OpenTofu Tutorials
How to disable AWS instance destroy with Terraform?
Techniques to prevent infrastructure destroy in Terraform by protecting selected instances and resources from being accidentally destroyed.
- Terraform & OpenTofu Tutorials
How to programmatically use your public Internet IP address in Terraform?
Obtain your public IP address and use it in Terraform to create AWS Security Rules.
- Terraform & OpenTofu Tutorials
Creating AWS RDS Database with Terraform (4/5)
Tutorial and source code explaining how to create and manage MariaDB (or MySQL) RDS database with Terraform in AWS.
- Terraform & OpenTofu Tutorials
AWS Route 53, AMI Lookup and EC2 Creation with Terraform (3/5)
Tutorial and source code explaining how to manage AWS Route 53 DNS Service, create and register EC2 instances and find an AMI with Terraform.
- AWS Tutorials
Creating AWS EC2 Instances and Security Rules with Terraform (5/5)
Tutorial and source code explaining how to manage AWS EC2 Instances and Security with Terraform.
- Terraform & OpenTofu Tutorials
AWS VPC Subnets, Routing Tables and Internet Access using Terraform (2/5)
Tutorial and source code explaining how to create and manage AWS networking with Terraform.
- AWS Tutorials
AWS VPC, Route 53, RDS MariaDB, EC2 using Ansible and Terraform (1/5)
Tutorial and source code explaining how to provision and configure a VPC, Route 53, RDS MariaDB, Instances and security groups using Ansible and Terraform…
- Kubernetes Tutorials
Using a NodePort in a Kubernetes Cluster on top of VirtualBox
Kubernetes tutorial explaining how to use a NodePort to publish applications in a Kubernetes cluster running in VirtualBox with Vagrant and Ansible
- AWS Best Practices
AWS Basic VPC Elements
Best practices for naming and using AWS Infrastructure with Terraform and Ansible.
- Kubernetes Tutorials
Istio Patterns: Traffic Splitting in Kubernetes (Header/Cookie Based)
How to split traffic in Kubernetes with Istio based on request headers, tutorial, and examples with source code.
- AWS Tutorials
Create an AWS IAM User for Demos
How to create AWS IAM users for programmatic access to the AWS Cloud API, to be used with Terraform / OpenTofu and Ansible demos.
- AWS Tutorials
Create an AWS Account for Demos
In order to run the examples presented in IT Wonder Lab you will need accounts in different cloud providers.