The Google Cloud console displays detailed information about the
selected zone, including a list of machines present in that zone.
gcloud
Use the gcloud edge-cloud container machines list command:
gcloud edge-cloud container machines list \
--project=PROJECT_ID \
--location=REGION
Replace the following:
PROJECT_ID: the ID of the target Google Cloud project.
REGION: the Google Cloud region in which the
target Distributed Cloud Edge zone has been created.
API
Make a GET request to the projects.locations.machines.list method:
GET /v1/PROJECT_ID/locations/REGION?filter=FILTER&pageSize=PAGE_SIZE&orderBy=SORT_BY&pageToken=PAGE_TOKEN
Replace the following:
PROJECT_ID: the ID of the target Google Cloud project.
REGION: the Google Cloud region in which the
target Distributed Cloud Edge zone has been created.
FILTER: an expression that constrains the returned
results to specific values.
PAGE_SIZE: the number of results to return per page.
SORT_BY: a comma-delimited list of field names by which
the returned results are sorted. The default sort order is ascending; for
descending sort order, prefix the desired field with ~.
PAGE_TOKEN: a token received in the response to the
last list request in the nextPageToken field in the response. Send this
token to receive a page of results.
Get information about a machine
To get information about a Distributed Cloud Edge machine in a
Distributed Cloud Edge zone, complete the steps in this section.
To complete this task, you must have the
Edge Container Viewer role
(roles/edgecontainer.viewer) in your Google Cloud project.
Console
In the Google Cloud console, go to the Edge Zones page.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-29 UTC."],[[["\u003cp\u003eThis page explains how to manage Google Distributed Cloud Edge machine resources within a Distributed Cloud Edge zone.\u003c/p\u003e\n"],["\u003cp\u003eYou can list all machines within a specific zone through the Google Cloud console, the \u003ccode\u003egcloud\u003c/code\u003e command-line tool, or by making a direct API request.\u003c/p\u003e\n"],["\u003cp\u003eTo obtain detailed information about a specific machine, you can navigate through the Google Cloud console, or use the \u003ccode\u003egcloud\u003c/code\u003e command-line tool, or by sending a targeted API request.\u003c/p\u003e\n"],["\u003cp\u003eTo perform these tasks, you must have the Edge Container Viewer role in your Google Cloud project.\u003c/p\u003e\n"]]],[],null,["# Manage machines\n\nThis page describes how to manage Google Distributed Cloud Edge machine\nresources in a Distributed Cloud Edge zone.\n\nFor more information about Distributed Cloud Edge machines, see\n[How Distributed Cloud Edge\nworks](/distributed-cloud/edge/1.6.0/docs/how-it-works).\n| **Note:** The Google Cloud CLI instructions on this page assume that you are using [Cloud Shell](/shell/docs) or another environment with `bash` installed.\n\nList machines in a zone\n-----------------------\n\nTo list the Distributed Cloud Edge machines in a\nDistributed Cloud Edge zone, complete the steps in this section.\n\nTo complete this task, you must have the\n[Edge Container Viewer role](/distributed-cloud/edge/1.6.0/docs/permissions#edge-viewer)\n(`roles/edgecontainer.viewer`) in your Google Cloud project. \n\n### Console\n\n1. In the Google Cloud console, go to the **Edge Zones** page.\n\n [Go to Edge Zones](https://console.cloud.google.com/distributed-cloud/edgezones/list)\n\n \u003cbr /\u003e\n\n2. Click the desired zone.\n\n The Google Cloud console displays detailed information about the\n selected zone, including a list of machines present in that zone.\n\n### gcloud\n\nUse the `gcloud edge-cloud container machines list` command: \n\n```\ngcloud edge-cloud container machines list \\\n --project=PROJECT_ID \\\n --location=REGION\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the ID of the target Google Cloud project.\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: the Google Cloud region in which the target Distributed Cloud Edge zone has been created.\n\n### API\n\nMake a `GET` request to the `projects.locations.machines.list` method: \n\n```\nGET /v1/PROJECT_ID/locations/REGION?filter=FILTER&pageSize=PAGE_SIZE&orderBy=SORT_BY&pageToken=PAGE_TOKEN\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the ID of the target Google Cloud project.\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: the Google Cloud region in which the target Distributed Cloud Edge zone has been created.\n- \u003cvar translate=\"no\"\u003eFILTER\u003c/var\u003e: an expression that constrains the returned results to specific values.\n- \u003cvar translate=\"no\"\u003ePAGE_SIZE\u003c/var\u003e: the number of results to return per page.\n- \u003cvar translate=\"no\"\u003eSORT_BY\u003c/var\u003e: a comma-delimited list of field names by which the returned results are sorted. The default sort order is ascending; for descending sort order, prefix the desired field with `~`.\n- \u003cvar translate=\"no\"\u003ePAGE_TOKEN\u003c/var\u003e: a token received in the response to the last list request in the `nextPageToken` field in the response. Send this token to receive a page of results.\n\nGet information about a machine\n-------------------------------\n\nTo get information about a Distributed Cloud Edge machine in a\nDistributed Cloud Edge zone, complete the steps in this section.\n\nTo complete this task, you must have the\n[Edge Container Viewer role](/distributed-cloud/edge/1.6.0/docs/permissions#edge-viewer)\n(`roles/edgecontainer.viewer`) in your Google Cloud project. \n\n### Console\n\n1. In the Google Cloud console, go to the **Edge Zones** page.\n\n [Go to Edge Zones](https://console.cloud.google.com/distributed-cloud/edgezones/list)\n\n \u003cbr /\u003e\n\n2. Click the desired zone.\n\n The Google Cloud console displays detailed information about the\n selected zone, including a list of machines present in that zone.\n3. In the list of machines, click the desired machine.\n\n The Google Cloud console displays detailed information about the\n selected machine.\n\n### gcloud\n\nUse the `gcloud edge-cloud container machines describe` command: \n\n```\ngcloud edge-cloud container machines describe MACHINE_ID \\\n --location=REGION \\\n --project=PROJECT_ID\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003eMACHINE_ID\u003c/var\u003e: the ID of the target machine resource.\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: the Google Cloud region in which the target Distributed Cloud Edge zone has been created.\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the ID of the target Google Cloud project.\n\n### API\n\nMake a `GET` request to the `projects.locations.machines.get` method: \n\n```\nGET /v1/PROJECT_ID/locations/REGION/machines/MACHINE_NAME\n```\n\nReplace the following:\n\n- \u003cvar translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: the ID of the target Google Cloud project.\n- \u003cvar translate=\"no\"\u003eREGION\u003c/var\u003e: the Google Cloud region in which the target Distributed Cloud Edge zone has been created.\n- \u003cvar translate=\"no\"\u003eMACHINE_NAME\u003c/var\u003e: the name of the target machine resource.\n\nWhat's next\n-----------\n\n- [Deploy workloads on Distributed Cloud Edge](/distributed-cloud/edge/1.6.0/docs/deploy)\n- [Manage zones](/distributed-cloud/edge/1.6.0/docs/zones)\n- [Manage clusters](/distributed-cloud/edge/1.6.0/docs/clusters)\n- [Manage node pools](/distributed-cloud/edge/1.6.0/docs/nodepools)\n- [Manage VPN connections](/distributed-cloud/edge/1.6.0/docs/vpn-connections)\n- [Manage virtual machines](/distributed-cloud/edge/1.6.0/docs/virtual-machines)\n- [Manage GPU workloads](/distributed-cloud/edge/1.6.0/docs/gpu)"]]