macos远程桌面连接_如何在macOS中使用Microsoft远程桌面连接Amazon EC2
macos远程桌面连接
I created this guide because of an experience I had while teaching. My students needed to use an application that was only available on Windows OS but the students only had macOS.
我基于在教学中的经验创建了本指南。 我的学生需要使用仅在Windows OS上可用的应用程序,但学生仅具有macOS。
We will be touching on the technologies shown below:
我们将涉及以下技术:
- Amazon EC2: launch a Windows Server 2019 Amazon EC2:启动Windows Server 2019
- Microsoft Remote Desktop: macOS application to remote desktop connect (RDP) to EC2 Microsoft远程桌面:macOS应用程序到远程桌面的连接(RDP)到EC2
亚马逊EC2 (Amazon EC2)
启动Windows Server EC2实例 (Launching a Windows Server EC2 Instance)
-
Sign in to your AWS Management Console.
登录到您的AWS管理控制台 。
-
Choose Services, then EC2.
选择服务 ,然后选择EC2 。
-
In the sidebar, click Instances.
在边栏中,点击实例 。
4. Click Launch Instance.
4.单击启动实例 。
5. Scroll down and choose Microsoft Windows Server 2019 Base.
5.向下滚动并选择Microsoft Windows Server 2019 Base 。
6. At the bottom of the Choose Instance Type page, click Review and Launch. This will skip you to the Review page.
6.在“选择实例类型”页面的底部,单击“ 查看并启动” 。 这将使您跳至“审阅”页面。
7. In the Review page, click Launch. You'll be prompted to select an existing key pair or new key pair.
7.在Review页面中,单击Launch 。 系统将提示您选择现有的**对或新的**对。
If you choose Create a new key pair, you need to give the new key pair a name, then download the key pair. Then you'll be able to proceed to choose Launch Instance.
如果选择创建新**对 ,则需要给新**对命名,然后下载**对。 然后,您可以继续选择启动实例 。
If you choose Choose an existing key pair, you need to select a key pair and tick the checkbox to acknowledge the use of the key pair.
如果选择选择现有的**对 ,则需要选择一个**对,然后勾选复选框以确认使用了该**对。
8. Click the generated Instance ID.
8.单击生成的实例ID。
9. Find and save the following information:
9.查找并保存以下信息:
- Public DNS (IP Address) 公用DNS(IP地址)
- Username 用户名
- Password 密码
To get the IP Address, scroll to the right of your EC2 instance:
要获取IP地址,请滚动到EC2实例的右侧:
You can also find this in the Description tab below:
您也可以在下面的“说明”标签中找到此内容:
10. To get the username and password, choose the EC2 instance (tick the checkbox), click Actions, then Get Windows Password.
10.要获取用户名和密码,请选择EC2实例(选中复选框),单击“ 操作” ,然后单击“ 获取Windows密码” 。
You may encounter Password not available and you'll need to wait a couple of minutes.
您可能会遇到密码不可用的问题 ,需要等待几分钟。
11. Locate the existing key pair or the newly created key pair you have downloaded in your local machine. Click Choose File.
11.找到您在本地计算机上下载的现有**对或新创建的**对。 单击选择文件 。
12. After uploading the key pair, click Decrypt Password.
12.上传**对后,单击解密密码 。
13. Copy the following information and save it in a file or clipboard. Click Close when you are done.
13.复制以下信息,并将其保存在文件或剪贴板中。 完成后,单击“ 关闭” 。
Microsoft远程桌面 (Microsoft Remote Desktop )
安装应用程序并连接到EC2实例 (Installing the application and connecting to EC2 instance)
-
Open your App Store, then search for Microsoft Remote Desktop. Click Install (it shows UPDATE here as I already have installed).
打开您的App Store,然后搜索Microsoft远程桌面 。 单击“安装”(由于我已经安装,因此在此处显示“更新”)。
2. After installation, Open Microsoft Remote Desktop.
2.安装后,打开Microsoft远程桌面。
3. At the top, click the + Icon and choose Desktop.
3.在顶部,单击+图标,然后选择桌面 。
4. In the PC name, copy the EC2 Instance IP address, then click Add.
4.在PC名称中,复制EC2实例IP地址,然后单击添加 。
5. Copy the Administrator and Password from earlier and paste it here. Hit Continue.
5.复制以前的管理员和密码,并将其粘贴到此处。 点击继续 。
You are now connected to your Windows Server EC2 Instance.
现在,您已连接到Windows Server EC2实例。
Note: To avoid getting charged after you have used up the free tier for EC2, either click Stop to have a lower cost, or Terminate to remove the instance and not be charged.
注意:为避免用完EC2的免费套餐后再收费,请单击“ 停止”以降低成本,或单击“ 终止”以删除该实例而不收费。
You have access to this by selecting the instance and choosing Actions > Instance State > Stop/Terminate.
您可以通过选择实例并选择“ 操作”>“实例状态”>“停止/终止”来访问它 。
这是一个****: (Here's a video tutorial:)
Connect with me on LinkedIn here.
在此处通过LinkedIn与我联系。
翻译自: https://www.freecodecamp.org/news/ec2-with-microsoft-remote-desktop/
macos远程桌面连接