Administer your Amazon EC2 instance with Windows Remote Desktop Connection
Once you build a site with ArcGIS Server Cloud Builder on Amazon Web Services or you launch an Amazon EC2 instance running ArcGIS Server, you can log in and begin configuring data and services on the instance. The instructions below explain how to log in to a Windows instance using Remote Desktop Connection.
Before you attempt to log in using Remote Desktop Connection, you must open port 3389 on the Amazon security group used by your instance. For instructions, see Open an Amazon security group for ArcGIS Server. You should also confirm with your system administrator that your computer is allowed to make Remote Desktop connections to machines outside your organization's firewall—specifically, machines on the Amazon subnets.
- Log in to the AWS Management Console and click Instances.
- Find your instance in the list and make sure it is started.
- In the instances list, click your instance and examine the detailed information that appears below it. Note or copy the name given for Public DNS.
Depending on how you created your EPC-VPC instance, it may not have a public DNS. For example, instances created by ArcGIS Server Cloud Builder on Amazon Web Services do not have a public DNS. If there is no public DNS for your instance, allocate an Amazon Elastic IP and associate it with your instance. Record the Elasitc IP. You will use the Elastic IP instead of the DNS to connect to your instance later in this workflow.
- Right-click your instance and click Get Windows Password.
- Click Choose File and browse to the key pair file (.pem) that you specified when you created the instance.
- Click Decrypt Password and save or note the password in a secure place.
- Right-click your instance and click Get System Log. This page shows the status of your instance. You should not continue with the remaining steps until about 5 minutes after the message Windows is ready to use appears in this log. If you used Cloud Builder to build your site, you should also wait until your site appears in Cloud Builder's list of running sites.
Note the following about using the system log to look for the Windows is ready to use message:
- You may have to repeatedly open the log to check for this message.
The time it takes for this message to appear can vary based on the responsiveness of Amazon EC2. Factors affecting response time may include the time of day, your location, and the health of the Amazon zone and region you are using. Expect to wait at least 10 minutes.
- If the message does not appear after a long period of time (for example, 30 minutes), Amazon is experiencing a problem starting the instance. Consider terminating the instance and launching a new one.
- About 5 minutes after the Windows is ready to use message appears in the system log, open All Programs > Accessories > Remote Desktop Connection.
- In the Computer text box, enter the public DNS name or Elastic IP that you copied or wrote down previously and click Connect.
- Choose to connect using the Administrator account.
- Type the administrator password you retrieved earlier in these steps.
You are now logged in to the instance and should see the Windows desktop.
- Change your Administrator password.
- In Windows, open User Accounts.
- Click Manage User Accounts.
- Choose the Administrator account in the list and click Reset Password.
- Type the new password twice to confirm, and click OK.
It is strongly recommended that you follow the above steps to change the initial Administrator password.
Your randomly generated Administrator password is not always going to be available for retrieval through the AWS Management Console. After stopping and starting the instance, Get Windows Password no longer shows the password retrieval dialog box. Instead, a message box appears informing you that no password was found.
- Authorize ArcGIS for Desktop.
- Start ArcGIS Administrator.
- Click the Desktop folder and choose a licensing option. If you choose a Concurrent Use license, supply the address of a license manager that is visible to the instance. If you choose a Single Use license, click Authorize Now and proceed through the wizard.
There is no separate step to authorize ArcGIS for Server, since you were already required to supply your license information when you launched the instance.
- Open ArcGIS Server Manager and choose to create a new site. You can now create a site, move data to your instance, and begin publishing services.