How to Reboot your instance automatically when site goes down

In this article, I have shown how you can reboot your instance automatically when your server goes down. Like saving tips for devops.

Reboot your instances automatically when server goes down

First create an instance.

After that, create a health check in Route53

Then create an Alarm for that health check

Create a lambda function to reboot instance

Then Create a subscription in that SNS which triggers that newly created lambda.

Leave a Comment

Your email address will not be published.