How to Monitor a VPC 2.0 Network

Updated on November 27, 2024

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.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products, expand the Network drop-down and select VPC 2.0 from the list of options.

    Access VPC

  2. Select your target VPC 2.0 network to open its management page.

    Manage a VPC Network

  3. Monitor the attached instances to your VPC 2.0 network within the Attached Nodes.

    Monitor a VPC Network

  1. 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.

    console
    $ curl "https://api.vultr.com/v2/vpc2" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a GET request to the Get a VPC 2.0 Network endpoint to view information about the target VPC 2.0 network.

    console
    $ curl "https://api.vultr.com/v2/vpc2/{vpc-id}" \
        -X GET \
        -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  3. 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.

    console
    $ curl "https://api.vultr.com/v2/vpc2/{vpc-id}/nodes" \
       -X GET \
       -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. List all VPC 2.0 networks in your Vultr account and note the target VPC 2.0 network's ID.

    console
    $ vultr-cli vpc2 list
    
  2. Get information about the VPC 2.0 network.

    console
    $ vultr-cli vpc2 get <VPC2 ID>
    
  3. View all nodes attached to the VPC 2.0 network.

    console
    $ vultr-cli vpc2 nodes list <VPC2 ID>