Steps to "Reload" "highAvailability.json" file:
- Create an AWS bucket and place on it the "highAvailability.json" file. See Examples below.
- Download the file to the CSC. Run Command "AWS-RunShellScript" on the CSC and do command:
wget <Your bucket file URL> -O /usr/local/etc/mhb-csc/highAvailability.json |
- Run Document "MHB-CSC-Reload-High-Availability" to apply the changes.
Example with 1 Route Table
{ "highAvailability": { "haEnable": true, "haIamRole": "arn:aws:iam::544690173127:instance-profile/csc-ha-aws-role", "haSnsMessageArn": "arn:aws:sns:us-east-1:544690173127:AWS-Zscaler-Notification", "haInstanceIdOtherCsc": "i-08f80bd2952ff13ed", "haVPC": "vpc-0f32a676", "haRouteTables": [ { "routeTableId": "rtb-d090c8a8" } ] } } |
Example with more than one Route Table
{ "highAvailability": { "haEnable": true, "haIamRole": "arn:aws:iam::544690173127:instance-profile/csc-ha-aws-role", "haSnsMessageArn": "arn:aws:sns:us-east-1:544690173127:AWS-Zscaler-Notification", "haInstanceIdOtherCsc": "i-0074fd6a8978f1cbf", "haVPC": "vpc-0f32a676", "haRouteTables": [ { "routeTableId": "rtb-d090c8a8" }, { "routeTableId": "rtb-0994dbce551a782f0" } ] } } |