Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Using Virtuozzo in the Microsoft Azure

15 bytes added, 22:47, 10 September 2015
no edit summary
#In VPC settings, select where your instance will be deployed: EC2 classic (recommended) or your personal Virtual Private Cloud. If the VPC network is selected, please make sure that your virtual network is configured to provide internet access to the instance is being deployed. The main differences between EC2-classic and VPC are described in [http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-vpc.html Amazon EC2 and Amazon Virtual Private Cloud (VPC)]. Find more information about VPC in the [http://aws.amazon.com/documentation/vpc/ Amazon VPC documentation].
#Select the default options or create a new Security Group based on seller settings. Pay special attention to the ports that are required for Plesk - see Knowledgebase article [http://kb.odin.com/en/391 KB391: Which ports need to be opened for all Plesk services to work with a firewall?]
#Select the Key Pair to be used for connection to the instance (an existing Key Pair is required for connection to the OpenVZ Virtuozzo instance). A Key Pair can be generated in the [https://console.aws.amazon.com/ec AWS Management Console].
#Click the Launch with 1-Click button.
By default, instances are deployed with small root storage (30 GB). It allows you deploy around 10 containers depends on container OS and installed packages. To deploy instances with bigger storage, use Manual Launch with EC2 console.
#Change other options if required, then click Next: Add Storage
#Add storage to your instance. It is recommended that you increase your disk storage from the default values - your disk will be automatically resized when the instance is deployed. To change disk storage after deployment, check the Amazon AWS documentation: [http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebs-expand-volume.html Expanding the Storage Space of a Volume]. You can also add more storages to your instance and change the storage volume types to increase performance. Find more information about the storage type and pricing in the Amazon AWS documentaion: [http://aws.amazon.com/ebs/details/ Amazon EBS Product Details]. Click Next: Tag Instance
#Add Tags for the instance. For example, you can define a tag with key = Name and value = openvzvirtuozzo. Learn more about tagging your Amazon EC2 resources. Click Next: Configure Security Group
#Configure the security group. A security group is a set of firewall rules that control the traffic for your instance. It is recommended that you configure the security group depending on services you are going to serve. You can find the basic recommendations here https://openvz.org/Setting_up_an_iptables_firewall. Click Next: Review Instance Launch
#Review your instance launch details. You can go back to edit changes for each section. Click Launch to assign a key pair to your instance and complete the launch process.
# ssh -i <path to private key> ec2user@<elastic or public IP>
To operate with OpenVZ Virtuozzo you need to enter sudo mode:
# sudo -i
#Click Associate.
Connect to your OpenVZ Virtuozzo instance via SSH.
Create example container:
==Configuring NAT on the instance==
If you do not want to attach multiple Elastic IPs to your instance you may also to configure internal NAT on your OpenVZ Virtuozzo instance. Please follow instructions in this article: https://openvz.org/Using_NAT_for_container_with_private_IPs
91
edits