Open main menu

OpenVZ Virtuozzo Containers Wiki β

Using Virtuozzo in the Microsoft Azure

Revision as of 22:54, 10 September 2015 by Vporokhov (talk | contribs)

Release Notes

To allow customers to familiarize themselves with improved containers technology of OpenVZ 7 and to maximize Azure instance utilization along with security and isolation we introduce OpenVZ 7 image for Microsoft Azure.

OpenVZ 7 image is shipped in one edition: OpenVZ 7.

Steps to Deploy

Log into the Azure Virtual Machine Marketplace http://azure.microsoft.com/en-us/marketplace/virtual-machines/, search for the image from Odin, then click the selected product. Check the product description to verify it suits your needs. Then click the "Create the Virtual Machine" button. Click Create button again. Enter all required information like hostname, user and password, choose authentication type, pricing tier and other properties. Click Create button. Login to Azure Management Portal https://manage.windowsazure.com. Login to just created VM: Click Virtual Machines in left menu; Click on your OpenVZ VM; Click the Dashboard and see VM's PUBLIC VIRTUAL IP (VIP) ADDRESS; Connect to the VM via ssh:

# ssh <username>@<Public VIP Address>

To operate with OpenVZ you need to enter sudo mode:

# sudo -i

How access your container from the Internet

Azure allows to have only two external IPs per VMs network adapter: Virtual IP (VIP) and instance-level public IP address (PIP). Please see more details regarding Azure IPs: http://blogs.msdn.com/b/cloud_solution_architect/archive/2014/11/08/vips-dips-and-pips-in-microsoft-azure.aspx Some Azure Tiers allow to have multiple NICs per VM. More details: https://azure.microsoft.com/en-us/blog/multiple-vm-nics-and-network-virtual-appliances-in-azure/. But you can not attach multiple IPs to these NICs. Thus in most cases you need to use NAT to give your containers access to external networks. Please follow instructions in this article: https://openvz.org/Using_NAT_for_container_with_private_IPs