Recycle IIS app pools in EC2 instance on application load balances (Powers-hell script)
This is a power shell script which has written for recycle Windows IIS app pools in ec2 instances in load balances in aws.
Basically script will recycle the windows iis app pool by
This script is doing multiple tasks and this can be use .
1. By giving the server names , script can be covert names into instance ID's ( server-name will be in EC2 tags )
2. Script will record the instance ID and load balance name , before it has taken out of the ALB
3 . Script will remove specified servers from load balance and recycle specified app pool. then it will ask to leave the server as it is or put it back to the ALB.
3 . Script will remove specified servers from load balance and recycle specified app pool. then it will ask to leave the server as it is or put it back to the ALB.
Comments
Post a Comment