Monitoring a Virtual Private Cloud (VPC) 2.0 network enables the management and verification of the network information. You can view attached instances and active route information by monitoring a VPC 2.0 network.
Follow this guide to monitor VPC 2.0 networks using the Vultr Customer Portal, API, or CLI.
Navigate to Products, expand the Network drop-down and select VPC 2.0 from the list of options.
Select your target VPC 2.0 network to open its management page.
Monitor the attached instances to your VPC 2.0 network within the Attached Nodes.
Send a GET
request to the List VPC 2.0 networks endpoint to view all VPC 2.0 networks in your Vultr account and note the target VPC 2.0 network's ID.
$ curl "https://api.vultr.com/v2/vpc2" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the Get a VPC 2.0 Network endpoint to view information about the target VPC 2.0 network.
$ curl "https://api.vultr.com/v2/vpc2/{vpc-id}" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
Send a GET
request to the Get a list of nodes attached to a VPC 2.0 network endpoint to view all instances attached to the VPC 2.0 network.
$ curl "https://api.vultr.com/v2/vpc2/{vpc-id}/nodes" \
-X GET \
-H "Authorization: Bearer ${VULTR_API_KEY}"
List all VPC 2.0 networks in your Vultr account and note the target VPC 2.0 network's ID.
$ vultr-cli vpc2 list
Get information about the VPC 2.0 network.
$ vultr-cli vpc2 get <VPC2 ID>
View all nodes attached to the VPC 2.0 network.
$ vultr-cli vpc2 nodes list <VPC2 ID>