filmov
tv
Build your first Azure Instances with Ansible - Step by Step Tutorial

Показать описание
In this video, I'm going to show you how to build your first Azure Instances using Ansible. We're going to use a Ubuntu 20 VM as our Ansible control node, and use Ansible to automate the entire process.
By the end of this tutorial, you'll be able to build a simple Azure VM using Ansible, and be able to manage it using Ansible playbooks. This is a great way to learn Ansible, and start automating your tasks on an Azure instance!
As far as I could see, there is no one document that does what I’m about to show you. It’s split across 3-4 docs and you need to go back and forth to setup your server, credentials and ansible to create a VM.
The most important part of this video isn’t building the VM, it’s setting up your credentials to be able to connect to Azure using Ansible. Building the VM just gives this demo some meaning.
There are a few Steps to this so I’ll start at the beginning, showing you all the steps to successfully build a VM and login to it via SSH.
• Setup a [free] account on Azure (You need to do this yourself).
• Install Ansible, python3-pip, the Azure Ansible modules.
• Install Azure CLI and login to your account.
• Create a service principal and a assign role.
• Get the account details for azure and create a credentials file:
o SubscriptionID, tenant, ClientID & Password.
• Test Ansible connectivity
• Create a Resource group
• Write a playbook to create a VM in Azure.
• Then delete the resource group
Remember: Always Read the documentation!
#azure #ansible #automation
By the end of this tutorial, you'll be able to build a simple Azure VM using Ansible, and be able to manage it using Ansible playbooks. This is a great way to learn Ansible, and start automating your tasks on an Azure instance!
As far as I could see, there is no one document that does what I’m about to show you. It’s split across 3-4 docs and you need to go back and forth to setup your server, credentials and ansible to create a VM.
The most important part of this video isn’t building the VM, it’s setting up your credentials to be able to connect to Azure using Ansible. Building the VM just gives this demo some meaning.
There are a few Steps to this so I’ll start at the beginning, showing you all the steps to successfully build a VM and login to it via SSH.
• Setup a [free] account on Azure (You need to do this yourself).
• Install Ansible, python3-pip, the Azure Ansible modules.
• Install Azure CLI and login to your account.
• Create a service principal and a assign role.
• Get the account details for azure and create a credentials file:
o SubscriptionID, tenant, ClientID & Password.
• Test Ansible connectivity
• Create a Resource group
• Write a playbook to create a VM in Azure.
• Then delete the resource group
Remember: Always Read the documentation!
#azure #ansible #automation
Комментарии