AWS health check and management

0 votes

I want to create a health check script to deploy on my VM, that I'll call over HTTP. After receiving the result of the script(say n number of failures) I'd want to stop and delete the VMs and then replace by some autoscaling group or create a replacement instance for the same. How should I go about achieving this?

Aug 20, 2018 in Other DevOps Questions by Atul
• 5,550 points

1 answer to this question.

0 votes

You can use Application Loadbalancer or AWS Classic Loadbalancer to perform health checks via http. Then you can use an auto scaler to use healthcheck for the load balancer. That way if a helathcheck states something unhealthy it will be replaced by the auto scaling group. You need to provide http endpoint which, if  the app is healthy return 200.

answered Aug 20, 2018 by DareDev
• 6,890 points

Related Questions In Other DevOps Questions

+1 vote
2 answers

When do we use Chef or Azure SDK to create VM and deploy in automation

The solution to the automated deployment in ...READ MORE

answered Aug 21, 2018 in Other DevOps Questions by Priyaj
• 58,140 points
+3 votes
6 answers

Devops and security

By using tools that are shared across the ...READ MORE

answered Oct 23, 2018 in Other DevOps Questions by Anvit
0 votes
1 answer

Start vNext build from Powershell and get artefacts

TFS 2015 comes with the new REST API, ...READ MORE

answered Jul 5, 2018 in Other DevOps Questions by Kalgi
• 52,370 points
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,140 points
+2 votes
1 answer
0 votes
1 answer

how to check runtime for chef-client executions?

 Chef doesn't have the mechanism to save ...READ MORE

answered Jul 6, 2018 in Other DevOps Questions by DareDev
• 6,890 points