Preparing the System |
If you have configured the Cluster Manager with the AWS Auto Scaling service and the Cluster Manager fails, AWS automatically launches a new instance of the Cluster Manager in the same subnet and assigns it a new IP address. If the Cluster Manager is located in a private subnet of your VPC, but the transfer nodes are located in a public subnet, the transfer nodes are unable to automatically retrieve the IP address of the new Cluster Manager instance.
In order to support the autoscaling feature, you must configure the Cluster Manager AMI to launch with a static IP address. You can use a custom script to set a static IP for the Cluster Manager. The custom script can be used to add either an internal IP or an Elastic IP. We provide an example script for both scenarios below.
The following instructions make use of the ability to run a custom script from the JSON user data before any firstboot scripts when launching an instance of the Cluster Manager AMI. There are three steps to configuring this instance:
Create the new IAM policy to grant the Cluster Manager permission to run the custom scripts.
Attach atc-ec2-private-vpc-policy to the atc-manager IAM role.
After attaching the policy to the atc-manager IAM role, finalize and launch the Cluster Manager with a custom script added to the user data. To review how to launch a cluster, see Launching the ATC Manager AMI. The following steps assume you are on the Configure Instance Details page of the launch process.