Related Posts:
- Self-service networking with Virtual Private Clouds
- VPC Distributed Network Connectivity – No NSX Edge VMs
- VPC Centralized Network Connectivity – With Guided Edge Deployment
- Virtual Private Clouds (VPCs) in vCenter
As covered in the blog Self-service networking with Virtual Private Clouds, VCF 9.0 empowers vCenter Administrators to independently manage the application networks with Virtual Private Clouds (VPCs) directly from vCenter UI/API.
And that’s what this blog section focuses on:
How vCenter Administrators now manage the networks of their applications straight from their vCenter-VPC
At the deployment of new VCF Workload Domains, Network Connectivity is configured with IP Blocks for future VPCs.

Note: The Network Connectivity can be configured as Distributed (as detailed in the blog VPCs without NSX edge VMs) or as Centralized (as detailed in the blog Simple NSX edge VMs deployment for VPCs).
And so just after the VCF Workload Domains deployment, vCenter Administrators can create VPCs for each application and deploy their applications autonomously: compute + storage + now network.

An important point to note: vCenter Administrators do not select the IP subnets for their VPC-Public and VPC-Private-TGW networks. These subnets are allocated from IP Blocks predefined by the Network Administrator during VCF deployment. This ensures that the Network Administrator retains full control over data center IP addressing.
The only subnets managed by vCenter Administrators are those used in VPC-Private, as these IPs remain entirely within the VPC.
Demo : vCenter-VPC Creation
In the demo below, you will see a step-by-step creation of VPCs from vCenter UI (click-click-click) and vCenter-Automation (PowerCLI)
Annex
PowerShell script for vCenter-VPC creation
PowerShell script “VPC-Marketing.ps1”
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
Write-Host "1. Connect to vCenter" Connect-VIServer -Server vcenter-mgt-paris.corp.vmbeans.com ` -Protocol https ` -User administrator@corp.vmbeans.com ` -Password VMware1!VMware1! ` | Out-Null Write-Host "2. Create VPC-Marketing" New-Vpc -Name VPC-Marketing -PrivateIp 10.152.0.0/16 | Out-Null Write-Host "3.Create VPC-Marketing 2 subnets public and private" New-VpcSubnet -Vpc VPC-Marketing -Name Mar-Web -DhcpMode Server -AccessMode public | Out-Null New-VpcSubnet -Vpc VPC-Marketing -Name Mar-DB -DhcpMode Server -AccessMode private | Out-Null Start-Sleep 2 Write-Host "4.Plug VMs Marketing into new VPC subnets" Get-NetworkAdapter -VM Mar-app1-web1 -Name "Network adapter 1" | Set-NetworkAdapter -Subnet Mar-Web -Confirm:$false | Out-Null Get-NetworkAdapter -VM Mar-app1-db1 -Name "Network adapter 1" | Set-NetworkAdapter -Subnet Mar-DB -Confirm:$false | Out-Null Write-Host "5.Start VMs Marketing" Get-VM -Name Mar-app1-web1 | Start-VM -Confirm:$false | Out-Null Get-VM -Name Mar-app1-db1 | Start-VM -Confirm:$false | Out-Null Write-Host "6.Create External-IP for the V: Marketing DB" Get-NetworkAdapter -VM Mar-app1-db1 -Name "Network adapter 1" | Set-NetworkAdapter -Subnet Mar-DB -AutoAssignExternalIp -Confirm:$false | Out-Null |