Skip to main content
Version: 4

Creating Virtual Network (VNet)

A virtual network (VNet) enables secure internal communication between AKS, MySQL, and the Jump Host VM.

  1. Go to https://portal.azure.com/ and log in with your Azure credentials.

  2. In the portal search bar, search for Virtual networks and select Virtual networks service.

  3. Click Create to open the Create virtual network screen.

  4. In the Basics tab, enter the following details:

    1. Subscription: Select your Azure subscription name.
    2. Resource group: Select the resource group in which you want to create the virtual network.
    3. Virtual network name: Provide a name for the virtual network.
    4. Region: Select the same region that you selected while creating the resource group. 
  5. Select the IP addresses tab and do the following:

    1. Enter any usable private IP address between the IP range 10.0.0.0 to 10.0.255.255, and set the size to /20. This size provides enough IPs for all required subnets.

    2. Create three subnets, each for AKS, MySQL database, and Jump Host respectively by following the steps below:

      WarningCreating a subnet for Jump Host is required only when you want to use the Jump Host for connecting to the Cluster instead of a local Windows system.
      1. Click Add a subnet.

      2. On the Add a subnet panel, provide a name for the subnet, for example, Subnet_for_AKS.

      3. Select a size for the  subnet.

        Success

        The required sizes for AKS, MySQL database, and the Jump Host are given below:

        • AKS: 22
        • MySQL database: 27
        • Jump Host: 26
      4. Click Add to add the subnet to the VNet.

      5. Repeat the same steps to create the remaining subnets.

  6. Select the R****eview + Create tab to review the configurations.

  7. Click Create at the bottom to complete the creation of the virtual network and subnets into it.

After you have created the virtual network and the subnets, create the AKS Cluster.