The CREATE command in the ArcGIS Enterprise Cloud Builder Command Line Interface for Amazon Web Services (AWS) utility creates a base ArcGIS Enterprise deployment with the option of creating one additional federated machine for each ArcGIS Server licensing role. This utility also creates stand-alone ArcGIS Server sites with the option to register an enterprise geodatabase.
Note:
Before running the CREATE command, verify that your AWS organization has enough available resources for the deployment to create the new machines. The command will fail if the new deployment exceeds your organization's limit.
You can open a copy of one of the Esri sample JSON files from the CreateSamples folder and modify it to include your parameters. For example, to build a deployment optimized for raster analytics, choose the baseenterpriseallinonewithra.json file.
Alternatively, you can use a summary JSON file you downloaded from the ArcGIS Enterprise Cloud Builder for AWS app as a template for new deployments. However, you cannot use the ArcGIS Enterprise Cloud Builder CLI for AWS to add to the deployments created using the ArcGIS Enterprise Cloud Builder for AWS app.
You must complete several steps in the AWS Management Console before executing the CREATE command. You'll use the results of these steps as parameter settings in your JSON file.
- Sign in to the AWS Management Console using the same account you specified when preparing the deployment. Be sure you are in the same region you specified with the "AWSRegion" parameter in the previous section.
- For single-machine base ArcGIS Enterprise deployments and the ArcGIS GeoEvent Server machine, allocate a new Elastic IP address in AWS for an Amazon Virtual Private Cloud (VPC). Copy the corresponding Allocation ID, which will be in the format eipalloc-xxxxxxxx. In your JSON file, paste the ID as the value for the EIPAllocationID parameter under BaseEnterprise.
If you're creating a single-machine base ArcGIS Enterprise deployment, proceed to step 5.
- ArcGIS Server and the highly available ArcGIS Enterprise deployments each require a load balancer. You can create the load balancers as described below or use existing load balancers. If you want to use existing load balancers, proceed to step 4.
Create the load balancer using an Esri sample AWS CloudFormation template (the recommended option) or create one in AWS Management Console. If you purchased a domain name outside AWS, you must map the domain to the load balancer before you create your deployment using the utility. If you create a load balancer using AWS Management Console, be sure you use the same VPC as your deployment and configure the load balancers with an HTTPS listener.
The ArcGIS Enterprise Cloud Builder CLI for AWS utility can use the load balancer you created with the CloudFormation template or in AWS Management Console.
Once you create the load balancers, note the resulting DNS names, which will end in *.elb.amazonaws.com. You need this information for the next step.
- Map the DNS names of your load balancers to your domain. If you’re using the AWS Route 53 service, browse to that page; register a domain if you have not already done so and create a record set with your desired site domain name. If you use a different service for DNS mapping, browse to that site. In either case, set the base deployment site name’s type to CNAME and paste the DNS name you acquired in step 2 as the value. Repeat this to map each load balancer’s DNS name to each ArcGIS Server site.
For example, if you are building a deployment optimized for raster analysis, you need to map the DNS name of the load balancer you created for your raster analysis server to your ArcGIS Image Server site.
- Add the site domain names (such as base.domain.com and raster.domain.com) to the JSON file as the values for the "SiteDomain" parameter in the appropriate section of the file, and add the load balancer DNS name value of the load balancer to your JSON file as the values for ELBDNSName in the RasterAnalytics section.
For example, when modifying the baseenterpriseallinonewithra.json sample file, the VPC ID value is set in the "Default" section. The other values are set in the "BaseEnterprise" and "RasterAnalytics" sections, as follows:
"Default" :{ "NetworkStackName": "arcgis-vpc", "KeypairName": "Your_Keypair_Name", "InstanceType": "m5.2xlarge", "InstanceDriveSize": "100", "FileserverInstanceType": "m5.2xlarge", "FileserverInstanceDriveSize": "200", "ServerInstances": "2", "ServerLicenseFileKeyName": "resources/licenses/109/server/Your_Server_License.prvc", "PortalLicenseFileKeyName": "resources/licenses/109/portal/Your_Portal_License.json", "UserLicenseTypeID": "creatorUT", "ConfigStoreType": "CloudStore", "SiteadminUserName": "admin", "SiteadminUserPassword": "changeit", "arcgisUserPassword": "changeit", "SSLCertificateFileKeyName": "resources/sslcerts/wildcard_yourdomain_com.pfx", "SSLCertificatePassword": "changeit" }, "BaseEnterprise":{ "Type": "AllInOne", "EIPAllocationID": "eipalloc-12345bc89", "SiteDomain": "baseenterprise.yourdomain.com", "PortalWebadaptorName": "portal", "ServerWebadaptorName": "server" }, "RasterAnalytics":{ "ServerLicenseFileKeyName": "resources/licenses/109/rasteranalytics/Your_RasterAnalytics_Server_License.prvc", "SiteDomain": "ra.yourdomain.com", "ELBDNSName": "your_ELB_DNS_name", "ServerWebadaptorName": "rasteranalytics", "Federate":true, "CloudStoreS3BucketPath": "your_s3_bucket_name/racloudstore" }
- Create a key pair in AWS. Add the key pair name to your JSON file as the value for the "KeypairName" parameter.
- In your JSON file, modify the remaining parameters as needed. Refer to the full parameter list for the ArcGIS Enterprise Cloud Builder CLI for AWS for descriptions.
- Save your modified JSON file. Return to your Command Prompt console and run the CREATE command: cloudbuilder.exe CREATE -j <createfilename.json>
The utility creates an output file in the ArcGIS Enterprise Cloud Builder CLI for AWS Output folder, inside a subfolder named for your DeploymentName parameter. Each time you run the CREATE command for the same ArcGIS Enterprise deployment, output files are placed in the corresponding deployment's subfolder. The files are named <DeploymentName>_<batchID>.json, where the batchID string contains a file creation time stamp. The utility never deletes old output files.
Log files are created in a Logs folder in the directory to which you extracted ArcGIS Enterprise Cloud Builder for Amazon Web Services.
The following is an example of the contents of an output file generated when you run the CREATE command to create a base deployment, and ArcGIS GeoAnalytics Server, raster analysis server, ArcGIS GIS Server, and ArcGIS GeoEvent Server sites:
"BaseEnterprise":{ "PortalURL": "http://enterprise.yourdomain.com/portal/home", "ServerURL": "http://enterprise.yourdomain.com/server/manager" }, "GeoAnalytics":{ "ServerURL": "http://geoanalytics.yourdomain.com/geoanalytics/manager" }, "RasterAnalytics":{ "ServerURL": "http://rasteranalytics.yourdomain.com/rasteranalytics/manager" }, "Server":{ "ServerURL": "http://server.yourdomain.com/gisserver/manager" }, "GeoEvent":{ "ServerURL": "http://geoevent.yourdomain.com/geoevent/manager", "GeoEventServerURL": "http://geoevent.yourdomain.com:6143/geoevent/manager" }
Note that the contents of the output file will vary depending on what information you provided in the configuration JSON file.