Queries the Web management terminal URL of an ECS instance.


When you call this operation, note that:

  • A management terminal URL is only valid for 15 seconds. If a connection is not established within 15 seconds after a successful query, the URL expires and you must query it again.
  • The KeepAlive time of a management terminal connection is 60 seconds. If the user does not interact with the management terminal within 60 seconds, the management terminal will be automatically disconnected.
  • When the management terminal is disconnected, you can only reconnect to the management terminal up to 30 times a minute.
  • At the end of https://g.alicdn.com/aliyun/ecs-console-vnc/0.0.7/index.html?, add vncUrl=xxxx, instanceId=xxx, isWindows=True, isWindows=False, andpassword=XXXXXX. Connect these parameters with &. Where:
    • vncUrl: The value of vncUrl is returned after a successful query.
    • instanceId: the ID of instance.
    • isWindows: indicates whether the operating system of the instance is Windows. The value of true indicates the Windows system. The value of false indicates that it is not the Windows system.
    • password: Optional. The password to establish a remote connection from an instance. It must be 6 characters in length and can contain digits and uppercase and lowercase letters. You can use this parameter to eliminate the need to enter your password when the connection is being established.



You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Name Type Required Example Description
InstanceId String Yes i-AY121018033933eaxxxxxxx

The ID of the instance.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call the DescribeRegions operation to view the latest region list.

Action String No DescribeInstanceVncUrl

The operation that you want to perform. Set the value to DescribeInstanceVncUrl.

Response parameters

Name Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The request ID.

VncUrl String ws%3A%2F%2Fhz01-vncproxy.aliyun.com%2Fwebsockify%2F%3Fs%3DDvh%252FIA%252BYc73gWO48cBx2gBxUDVzaAnSKr74pq30mzqUYgeUMcB%252FbkNixDxdEA996

The management terminal URL.


Sample requests

&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

HTTP status code Error code Error message Description
403 IncorrectInstanceStatus The current status of the resource does not support this operation. The error message returned when the operation is not supported while the resource is in the current state.

View error codes