Create VMware virtual machines on your Private Cloud¶
To create virtual machines on your Private Cloud, begin by accessing the CloudSimple portal from the Azure portal.
Sign in to the Azure portal¶
Sign in to the Azure portal at https://portal.azure.com.
Access the CloudSimple portal¶
- Select All services.
- Search for CloudSimple Services.
- Select the CloudSimple service on which you want to create your Private Cloud.
From the Overview page, click Go to the CloudSimple portal to open a new browser tab for CloudSimple portal. If prompted, sign in with your Azure sign in credentials.
Launch vCenter web-ui¶
You can now launch vCenter to set up virtual machines and policies.
To access vCenter, start from the CloudSimple portal. On the Home page, under Common Tasks, click Launch vSphere Client. Select the Private Cloud and then click Launch vSphere Client on the Private Cloud.
Upload an ISO or vSphere template¶
For ISO upload, use the vSphere HTML5 client. Using Flash client may result in an error.
- Obtain the ISO or vSphere template that you want to upload to vCenter to create a VM and have it available on your local system.
In vCenter, click the Disk icon and select vsanDatastore. Click Files and then click New Folder.
Create a folder entitled ‘ISOs and Templates’.
Navigate to the ISOs folder in ISOs and Templates, and click Upload Files. Follow the on-screen instructions to upload the ISO.
Create a Virtual Machine in vCenter¶
In vCenter, click the Hosts and Clusters icon.
Right-click Workload and select New Virtual Machine.
Select Create new virtual machine and click Next.
Name the machine, select the Workload VM's location, and click Next.
Select the Workload compute resource and click Next.
Select vsanDatastore and click Next.
Keep the default ESXi 6.5 compatibility selection and click Next.
Select the guest OS of the ISO for the VM that you are creating and click Next.
Select hard disk and network options. For New CD/DVD Drive, select Datastore ISO file. If you want to allow traffic from the Public IP address to this VM, select the network as vm-1.
A selection window opens. Select the file you previously uploaded to the ISOs and Templates folder and click OK.
Review the settings and click OK to create the VM.
The VM is now added to the Workload compute resources and is ready for use.
The basic setup is now complete. You can start using your Private Cloud similar to how you would use your on-premises VM infrastructure.
The following sections contain optional information about setting up DNS and DHCP servers for Private Cloud workloads and modifying the default networking configuration.
Add Users and Identity Sources to vCenter (Optional)¶
CloudSimple assigns a default vCenter user account with username firstname.lastname@example.org. No additional account setup is required for you to get started. CloudSimple normally assigns administrators the privileges they need to perform normal operations. Set up your on-premises active directory or Azure AD as an additional identity source on your Private Cloud.
Create a DNS and DHCP Server (Optional)¶
Applications and workloads running in a Private Cloud environment require name resolution and DHCP services for lookup and IP address assignment. A proper DHCP and DNS infrastructure is required to provide these services. You can configure a virtual machine in vCenter to provide these services in your Private Cloud environment.
A distributed port group with VLAN configured
Route setup to on-premises or Internet-based DNS servers
Virtual machine template or ISO to create a virtual machine
The following links provide guidance on setting up DHCP and DNS servers on Linux and Windows.
Linux-Based DNS Server Setup¶
Linux offers various packages for setting up DNS servers. Here is a link to instructions for setting up an open-source BIND DNS server.
These Microsoft topics describe how to set up a Windows server as a DNS server and as a DHCP server.
Windows Server as DNS Server
Customize Networking Configuration (Optional)¶
The Network pages in the CloudSimple portal allow you to specify the configuration for firewall tables and public IP addresses for VMs.
Allocate public IPs¶
- Navigate to Network > Public IP in the CloudSimple portal.
- Click Allocate Public IP.
- Enter a name to identify the IP address entry.
- Keep the default location.
- Use the slider to change the idle timeout if desired.
- Enter the local IP address for which you want to assign a public IP address.
- Enter an associated DNS name if desired.
The task of allocating the public IP address begins. You can check the status of the task on the Activity > Tasks page. When allocation is complete, the new entry is shown on the Public IPs page.
The VM to which this IP address must be mapped needs to be configured with the local address specified above. The procedure to configure an IP address is specific to the VM operating system. Consult the documentation for your VM operating system for the correct procedure.
For example, here are the details for Ubuntu 16.04.
Add the static method to the inet address family configuration in the file
/etc/network/interfaces. Change the address, netmask, and gateway values. For this example, we are using the eth0 interface, internal IP address 192.168.24.10, gateway address 192.168.24.1, and netmask 255.255.255.0.
sudo vi /etc/network/interfaces
Update the following section in the
auto eth0 iface eth0 inet static address 192.168.24.10 netmask 255.255.255.0 gateway 192.168.24.1 dns-nameservers 126.96.36.199 dns-domain acme.com dns-search acme.com
Disable the interface.
sudo ifdown eth0
Enable the interface again.
sudo ifup eth0
By default, all incoming traffic from the Internet is denied. If you would like to open any other port, create a firewall table.
After configuring an internal IP address as the static IP address, verify that you can reach the Internet from within the virtual machine.
Verify that you can reach the virtual machine from the Internet using the public IP address.
Ensure that any firewall (iptable) rules on the virtual machine are not blocking port 80 inbound.
netstat -an | grep 80
Start an http server that listens on port 80.
python2.7 -m SimpleHTTPServer 80
python3 -m http.server 80
Start a browser on your desktop and point it to port 80 for the public IP address to browse the files on your virtual machine.
Default CloudSimple firewall rules for public IP¶
- VPN traffic: All traffic between (from/to) the VPN and all the workload networks and management network is allowed.
- Private Cloud internal traffic: All east-west traffic between (from/to) workload networks and the management network (shown above) is allowed.
- Internet traffic:
- All incoming traffic from the Internet is denied to workload networks and the management network.
- All outgoing traffic to the Internet from workload networks or the management network is allowed.
You can also modify the way your traffic is secured, using the Firewall Rules feature. For more information, see Set up firewall tables and rules.
Install solutions (optional)¶
You can install solutions on your CloudSimple Private Cloud to take full advantage of your Private Cloud vCenter environment. You can set up backup, disaster recovery, replication, and other functions to protect your virtual machines. Examples include VMware Site Recovery Manager (VMware SRM) and Veeam Backup & Replication.
To install a solution, you must request additional privileges for a limited period. See Escalate privileges.
- Consume VMware virtual machines on Azure
- Connect to on-premises network using Azure ExpressRoute
- Set up VPN gateways on CloudSimple network