Alert when Azure Container Instance is down

David Gaulke 21 Reputation points
2020-07-14T14:02:58.077+00:00

I've looked into using Azure Monitor to send an alert when a container instance goes down, but have not been able to find a way to do this. I see triggers for resource usage and administrative events, but not the case where a container dies and needs to be restarted. Is there a way to do this?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
690 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. vipullag-MSFT 26,211 Reputation points
    2020-07-15T07:33:35.367+00:00

    @DavidGaulke-9508

    In container instance, you can always specify the restart policy which will manage the restart of the container in case that container process exits. You can read more about it here.

    Having said that, I would suggest to have alert on the basis of health url which will ensure your container is ready to serve traffic. Azure monitoring system provides ways to do that, please check this doc for details.

    Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.


  2. Eddie Neto 1,226 Reputation points Microsoft Employee
    2023-01-04T16:47:31.083+00:00

    HI @David Gaulke Lewis, Phil Igoni, Joshua

    Thanks for reaching Q&A.
    Perhaps what are you looking for is this [link][1].
    You can create alerts just like below.
    User's image

    Hope this helps. Please "Accept as Answer" if it helped, so that it can help others in the community looking for help on similar topics.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.