In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Editor to share with you the method of querying the Web management terminal address of an ECS instance, I believe most people do not know much about it, so share this article for your reference. I hope you will gain a lot after reading this article. Let's learn about it together.
DescribeInstanceVncUrl
Query the Web management terminal address of an ECS instance.
Description
When calling this interface, you need to be aware of:
The management terminal address is valid for 15 seconds. If the link is not used within 15 seconds after the API is successfully called, the URL address automatically expires. You need to query it again.
The persistent link (KeepAlive) time of a single management terminal link is 60 seconds, and the connection is automatically disconnected when there is no interaction in your management terminal window within 60 seconds.
If the connection is interrupted, you cannot reconnect more than 30 times per minute.
You need to link to https://g.alicdn.com/aliyun/ecs-console-vnc/0.0.7/index.html? Add vncUrl=xxxx, instanceId=xxx and isWindows=True, isWindows=False and password=XXXXXX at the end, and use & concatenation between parameters. Where:
Parameter vncUrl: the value of VncUrl that will be returned after the API is successfully called.
Parameter instanceId: your instance ID.
Parameter isWindows: whether the operating system of this instance is a Windows system. A value of true indicates that it is a Windows system, and a value of false means that it is not a Windows system.
(optional) Parameter password: the remote connection password of the instance, consisting of 6 digits or uppercase and lowercase letters. When using this parameter, you no longer need to enter a password at the connection management terminal.
Example:
Index.html?vncUrl=ws%3A%2F%xxx&instanceId=i-wz9hhwq5a6tmxxxxxxx&isWindows=true
Or
Index.html?vncUrl=ws%3A%2F%xxx&instanceId=i-wz9hhwq5a6tmxxxxxxx&isWindows=true&Password=111111
Request parameter
Return parameters
Example
Request example
Https://ecs.aliyuncs.com/?Action=DescribeInstanceVncUrl&RegionId=cn-qingdao&InstanceId=AY121018033933eaxxxxxxx&
Return the example
XML format
1450F2D7-5435-4420-BBC9-49C5xxxxxxxx ws%3A%2F%2Fhz01-vncproxy.aliyun.com%2Fwebsockify%2F%3Fs%3DDvh%252FIA%252BYc73gWO48c Bx2gBxUDVzaAnSKr74pq30mzqUYgeUMcB%252FbkNixDxdEA996
JSON format
{"RequestId": "1450F2D7-5435-4420-BBC9-49C514B0157E", "VncUrl": "ws%3A%2F%2Fhz01-vncproxy.aliyun.com%2Fwebsockify%2F%3Fs%3DDvh%252 FIA%252BYc73gWO48cBx2gBxUDVzaAnSKr74pq30mzqUYgeUMcB%252FbkNixDxdEA996"}
Error code
The following are the error codes specific to this API. For more error codes, please visit the API error Center.
The above is all the contents of the method of querying the Web management terminal address of an ECS instance. Thank you for your reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.