Alert when Azure Container Instance is down

Anonymous
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
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Eddie Neto 1,256 Reputation points
    2023-01-04T16:47:31.083+00:00

    HI @Anonymous 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

  2. vipullag-MSFT 26,522 Reputation points Moderator
    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.


Your answer

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