大网数据广告活动
Windows Server 管理

Manage Windows Server on Amazon EC2 Using Windows Admin Center

· 52CE 我爱测

Learn how to use Windows Admin Center to connect and manage Windows Server on Amazon EC2.

By using Windows Admin Center, you can manage Windows Server machines running on Amazon EC2 in Amazon Web Services. In this article, you learn how to prepare and connect a Windows Server machine running on Amazon EC2 to Windows Admin Center by using a public IP address.

Prerequisites

  • Have a running Amazon EC2 instance.
  • Configure WinRM for HTTPS. WinRM HTTPS requires a server authentication certificate for a local computer, with a CN that matches the public name of your Windows Server Amazon EC2 instance. For more information, see How to configure WINRM for HTTPS.
  • Enable inbound connections for your Amazon EC2 instance. For more information, see the AWS documentation.
    • For Type, select WinRM-HTTPS. For the port range, enter 5986.
    • For Source, select IP Addresses, and then enter the source IP address that corresponds to your Windows Admin Center gateway.

Note: Alternatively, you can connect to your Amazon EC2 instance via HTTP by selecting WinRM-HTTP and entering 5985 as your port range. However, we recommend that you consider the security implications.

Prepare your machine

Configure your Windows Server Amazon EC2 instance by using the following steps:

  1. Enable WinRM access to your target Amazon EC2 instance by running the winrm quickconfig command in PowerShell on the target EC2 instance.

  2. Enable inbound connections to port 5986 for WinRM over HTTPS by running the following PowerShell script on the target EC2 instance: Set-NetFirewallRule -Name WINRM-HTTPS-In-TCP-PUBLIC -RemoteAddress Any. Alternatively, you can configure port 5985 for WinRM over HTTP.

Connect to your machine

Add your Windows Server Amazon EC2 instance as a connection in Windows Admin Center:

  1. In the Azure portal, open Windows Admin Center.

  2. On the Add or create resource menu, in the Servers section, select Add.

  3. For Server name, enter the public IPv4 address of your Amazon EC2 instance.

  4. Select Use another account for this connection and enter your Windows credentials.

Related content

Now that you've set up your Amazon EC2 instance with Windows Admin Center, learn how to manage it:

Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors (upstream author metadata: robinharwood). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Server documentation
适用范围
Windows Server · Source date 07/05/2023
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。