You can use the AWSSupport-ResetAccess document if:
Then, after you stop and start the instance, attach the instance back to the Auto Scaling group.įor more information, see Stop and start your instance.ĪWSSupport-ResetAccess is a Systems Manager Automation document that automates EC2Rescue offline password reset using AWS CloudFormation and AWS Lambda functions. If the instance is part of an Auto Scaling group, then first detach the instance from the Auto Scaling Group.If the instance shutdown behavior is set to Terminate, then the instance terminates when it stops.If this instance has an instance store volume, then any data on it is lost when the instance stops.If you're not using an Elastic IP address, then the public IP address releases when you stop the instance.Warning: Before you run the automation, be aware of the following: