Cloud Tutorials

Automate AWS, Azure, GCP, and other cloud platforms with Ansible. Infrastructure as Code tutorials.

49

Tutorials

19

Beginner

30

Advanced

Amazon.aws 11.4.0 Released - aws_ssm Connection Plugin Overhaul and RDS Active Directory Support

Amazon.aws 11.4.0 brings aws_ssm plugin improvements for Windows, rds_instance AD domain join support, and RFC-compliant docs.

Ansible Manage AWS Infrastructure End to End — Complete Guide

Complete AWS automation with VPC, EC2, RDS, S3, and IAM. Hands-on, tested examples and best practices for Ansible Manage AWS Infrastructure End to End.

Ansible Manage Kubernetes Resources — Complete Guide

Deploy pods, services, and deployments with Ansible k8s module. Tested on real machines with clear, copy-paste examples.

Ansible Playbook Example: Create an S3 Bucket with Encryption

Runnable Ansible playbook example for creating an encrypted, compliant S3 bucket, based on the AAP 2.7 Automation Portal 'Cloud - Create S3 Bucket' template.

Ansible Playbook Example: Provision an EC2 Instance with Standard Tags

Runnable Ansible playbook example for AAP 2.7's 'Cloud - Provision AWS EC2 Instance' template, spinning up an EC2 instance with standard tagging.

Ansible Playbook Example: Request an Azure Resource Group with RBAC

Runnable Ansible playbook example for provisioning an Azure resource group with RBAC role assignments, based on the AAP 2.7 self-service template gallery.

Ansible autoscaling_group Module — Manage AWS Auto Scaling Groups

Create and configure EC2 Auto Scaling groups for elastic workloads. Hands-on, tested examples and best practices for Ansible autoscaling_group Module.

Ansible azure_rm_networkinterface Module — Manage Azure Network Interfaces

Create and configure Azure VM network interfaces and IP configurations. Tested on real machines with clear, copy-paste examples.

Ansible azure_rm_resourcegroup Module — Manage Azure Resource Groups

Create and manage Azure resource groups for organizing cloud resources. Tested on real machines with clear, copy-paste examples.

Ansible azure_rm_securitygroup Module — Manage Azure Network Security Groups

Create NSG rules for Azure network traffic filtering with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible azure_rm_storageaccount Module — Manage Azure Storage Accounts

Create and configure Azure Storage accounts for blob, file, and table storage. With clear, copy-paste, step-by-step examples.

Ansible azure_rm_virtualmachine Module — Manage Azure Virtual Machines

Create, configure, and manage Azure VMs with Ansible automation. Tested on real machines with clear, copy-paste examples.

Ansible azure_rm_webapp Module — Manage Azure Web Apps

Deploy and configure Azure App Service web applications with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible cloudformation Module — Deploy AWS CloudFormation Stacks

Create, update, and delete AWS CloudFormation stacks with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible cloudwatch_metric_alarm Module — Manage AWS CloudWatch Alarms

Create metric alarms for monitoring AWS resources with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible ec2_security_group Module — Manage AWS Security Groups

Create and manage EC2 security group rules for network access control. Tested on real machines with clear, copy-paste examples.

Ansible ec2_vpc_net Module — Manage AWS VPC Networks

Create, modify, and delete Amazon VPC networks with Ansible automation. Hands-on, tested examples and best practices for Ansible ec2_vpc_net Module.

Ansible ec2_vpc_subnet Module — Manage AWS VPC Subnets

Create and configure VPC subnets across availability zones with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible ecr_repository Module — Manage AWS ECR Container Repositories

Create and manage Elastic Container Registry repositories with Ansible. Hands-on, tested examples and best practices for Ansible ecr_repository Module.

Ansible ecs_cluster Module — Manage AWS ECS Clusters

Create and manage Amazon ECS clusters for container orchestration. Hands-on, tested examples and best practices for Ansible ecs_cluster Module.

Ansible ecs_service Module — Manage AWS ECS Services

Deploy and manage ECS services with load balancing and auto-scaling. Hands-on, tested examples and best practices for Ansible ecs_service Module.

Ansible eks_cluster Module — Manage AWS EKS Kubernetes Clusters

Create and manage Amazon EKS clusters for Kubernetes workloads. Hands-on, tested examples and best practices for Ansible eks_cluster Module.

Ansible elb_application_lb Module — Manage AWS Application Load Balancers

Create and configure ALBs with target groups and listener rules. Hands-on, tested examples and best practices for Ansible elb_application_lb Module.

Ansible for Cloud Engineers — Complete Guide

Ansible cloud automation: multi-cloud provisioning, infrastructure as code, and hybrid deployments. With tested, real-world examples.

Ansible gcp_compute_instance Module — Manage GCP Compute Engine VMs

Create and manage Google Cloud virtual machine instances with Ansible. Hands-on, tested examples and best practices for Ansible gcp_compute_instance Module.

Ansible gcp_compute_network Module — Manage GCP VPC Networks

Create and configure Google Cloud VPC networks and subnets with Ansible. Hands-on, tested examples and best practices for Ansible gcp_compute_network Module.

Ansible gcp_storage_bucket Module — Manage GCP Cloud Storage Buckets

Create and configure Google Cloud Storage buckets with Ansible automation. Hands-on, tested examples and best practices for Ansible gcp_storage_bucket Module.

Ansible iam_policy Module — Manage AWS IAM Policies

Create, attach, and manage IAM policies for AWS access control with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible iam_role Module — Manage AWS IAM Roles

Create IAM roles with trust policies and permission boundaries using Ansible. With clear, copy-paste, step-by-step examples.

Ansible lambda Module — Manage AWS Lambda Functions

Deploy and configure serverless AWS Lambda functions with Ansible. Hands-on, tested examples and best practices for Ansible lambda Module.

Ansible rds_instance Module — Manage AWS RDS Database Instances

Create, modify, and manage Amazon RDS database instances with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible route53 Module — Manage AWS Route 53 DNS Records

Create and manage DNS records in Amazon Route 53 hosted zones. Hands-on, tested examples and best practices for Ansible route53 Module.

Ansible vs CloudFormation — Detailed Comparison

Ansible vs AWS CloudFormation: multi-cloud vs AWS-native, YAML differences, state management. Tested on real machines with clear, copy-paste examples.

Ansible vs Crossplane — Detailed Comparison

Compare Ansible and Crossplane for Kubernetes-native infrastructure management. With clear, copy-paste, step-by-step examples.

Ansible with ArgoCD GitOps — Complete Automation Guide

Integrate Ansible with ArgoCD for GitOps-driven infrastructure management. With clear, copy-paste, step-by-step examples.

Ansible with Cert Manager — Complete Automation Guide

Automate TLS certificate management with cert-manager and Ansible on K8s. With clear, copy-paste, step-by-step examples.

Ansible with Cloudflare — Complete Automation Guide

Manage Cloudflare DNS, WAF rules, page rules, and workers with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible with DigitalOcean — Complete Automation Guide

Provision and manage DigitalOcean droplets, databases, and networks with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible with Helm Charts — Complete Automation Guide

Deploy and manage Helm charts on Kubernetes clusters with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible with Hetzner Cloud — Complete Automation Guide

Automate Hetzner Cloud servers, networks, and load balancers with Ansible. Tested on real machines with clear, copy-paste examples.

Ansible with Istio Service Mesh — Complete Automation Guide

Deploy and configure Istio service mesh on Kubernetes with Ansible. Hands-on, tested examples and best practices for Ansible with Istio Service Mesh.

Ansible with Linode Akamai — Complete Automation Guide

Provision Linode instances, NodeBalancers, and object storage with Ansible. With clear, copy-paste, step-by-step examples.

Ansible with Longhorn Storage — Complete Automation Guide

Deploy Longhorn distributed block storage on Kubernetes with Ansible. Hands-on, tested examples and best practices for Ansible with Longhorn Storage.

Ansible with OpenStack — Complete Automation Guide

Manage OpenStack resources including instances, networks, and volumes with Ansible. With clear, copy-paste, step-by-step examples.

Ansible with Packer — Complete Automation Guide

Build machine images with Packer provisioned by Ansible playbooks. Follow clear, copy-paste examples and real-world usage notes for Ansible with Packer.

Ansible with Proxmox — Complete Automation Guide

Automate Proxmox VE virtual machines, containers, and storage with Ansible. Hands-on, tested examples and best practices for Ansible with Proxmox.

Ansible with Terraform Integration — Complete Automation Guide

Combine Terraform provisioning with Ansible configuration in hybrid IaC workflows. Tested, copy-paste examples included.

How to Use Ansible with AWS

Automate AWS infrastructure with Ansible using amazon.aws collection modules. Hands-on, tested examples and best practices for How to Use Ansible with AWS.

How to Use Ansible with VMware vSphere

Automate VMware virtual machines, networks, and storage with Ansible. Tested on real machines with clear, copy-paste examples.

Want to practice these tutorials?

Try the AI Playground for interactive learning with instant feedback.

Try AI Playground