Once you have launched an ArcGIS Server or ArcGIS Enterprise instance on Amazon Web Services, you can log in to authorize software (if necessary) or perform other ArcGIS administrative tasks.
- Log in to the AWS Management Console and open the instance list for your account and region.
- Make sure your instance is running.
- Choose your instance from the list and examine its Description information. Note or copy the name given for Public DNS.
- Add a rule to your security group that opens port 22 (the SSH port) to your network. See Open an Amazon EC2 security group for ArcGIS for instructions.
- Open any SSH client.
- Locate your private key file that you specified when you created the instance, for example, arcgisserver.pem.
- Use chmod to make sure your key file isn't publicly viewable; otherwise, SSH won't work:
chmod 400 arcgisserver.pem
- Connect to your AWS instance using its public DNS or Elastic IP.
To perform ArcGIS tasks—such as authorizing ArcGIS Server or Portal for ArcGIS, creating a site, or upgrading ArcGIS software—connect as the arcgis user. To perform operating system-level tasks, such as starting the web server, connect as the ubuntu user.
The following example makes an ssh connection as the arcgis user to an instance with an Elastic IP of arcgis-50-16-11-231.compute-1.amazonaws.com using the key file arcgisserver.pem:
ssh –i arcgisserver.pem firstname.lastname@example.org
- If you launched your instance from the Amazon Management Console rather than ArcGIS Server Cloud Builder on Amazon Web Services or an Esri AWS CloudFormation template, you need to authorize the software. Both ArcGIS Server and Portal for ArcGIS contain an authorizeSoftware script in their tools directory. Run the script and reference an Esri license file appropriate to the product you want to authorize. You must also provide an email address when your run the script.
The following example authorizes ArcGIS Server using the ArcGIS_Server.prvc license file and the email email@example.com.
arcgis@ip-10-82-222-58:$ cd /arcgis/server/tools/ arcgis@ip-10-82-222-58:/arcgis/server/tools$ ./authorizeSoftware ArcGIS_Server.prvc firstname.lastname@example.org
- Once your software is authorized, you can create a site or portal. Steps are the same for on-premises and cloud deployments, so follow the instructions in the ArcGIS Server or Portal for ArcGIS help.