In this recipe, we will create a virtual machine and network interface using the public IP we created in the recipe, Working with public IP addresses. After creating a virtual machine with the public network interface, we will log into it using SSH. We have already seen how to create a virtual machine in the recipe, Creating an Azure virtual machine. We will also learn how this Ansible task differs from what we learned in the first recipe, Creating an Azure virtual machine.
Using public IP addresses with network interfaces and virtual machines
Get Ansible 2 Cloud Automation Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.