In this 4 part article we take a look at how to deploy a single node all-in-one OpenStack cloud on an Azure VM. This has been possible because of the availability of Azure VMs that support nested virtualization. Needless to say this is purely for evaluation/learning purposes only.
OpenStack distribution: Red Hat OpenStack Platform 10
OpenStack upstream release: Newton
Operating System: Red Hat Enterprise Linux 7.3
Azure VM size: D4s_v3
- An active Azure subscription (a trial can be obtained for 30 days)
- Red Hat OpenStack Platform subscription (a trial can be obtained for 60 days)
- An ssh client, for windows putty would do
Create an Azure VM that supports nested virtualization and runs Red Hat Enterprise Linux 7.x.
NOTE: The Dv3 & the Ev3 series virtual machines support nested virtualization.
Creating an Azure VM with Red Hat Enterprise Linux 7.3
- Login to Azure portal, click + Create Resource, in the search box type Red Hat 7.3 and press Enter to search.
- Select Red Hat Enterprise Linux 7.3 from the list under Compute category.
- Ensure the deployment model is set to Resource Manager and click Create to begin the process.
- In the Basics blade enter/select the following information:
Name for the VM
Set VM disk type to SSD
Provide a Username
Set Authentication type – for simplicity Password based authentication is selected here
Select Create new Resource group and provide a name
Choose a Location closer to where you are
Leave any other parameter not mentioned above to defaults and click Ok to move to the next blade.
- In the Choose a size blade select D4s_v3 as the virtual machine size, click Select to move to the next blade.
- In the Settings blade select/change the below:
Set Network Security Group to Basic
Under Select public inbound ports check HTTP, HTTPS, SSH from the drop down
Rest of the settings can be left as it is, if needed disable the Enable auto-shutdown and Boot diagnostics (leaving it enabled could add cost)
Click Ok to proceed.
- In the Summary blade ensure the Validation passed message and click Create to provision the VM.
- Successful provisioning of the VM loads the VM details blade. Copy the Public IP address of the VM for use later.
In Part-2 of this article we will prepare the virtual machine for RHOSP installation by installing some pre-requisites such as kvm (for virtualization), registering the machine with Red Hat Satellite for subscription attachment, disabling & enabling the required repositories and updating the machine.