Just started a Microsoft AD environment on Amazon Web Services to test some ITGlue Auto Documentation PowerShell scripts.
Found that you need to pay attention to auto scaling settings. After my last session I shut down all the EC2 instances to avoid charges when I wasn't working on it and discovered the autoscaling group will terminate the instance of Remote Desktop Gateway Host you stop and then launch a new EC2 instance
I'm not too conversant with the minutiae of AutoScalingGroups so I have just added all the available options to the Suspended Processes field to stop the ASG from launching a new EC2 instance when I stop the Remote Desktop Gateway. This seems to allow a shutdown and restart without the ASG stepping in front of what I'm trying to achieve
If hindsight was foresight...
0 Comments