question

rfazley avatar image
1 Vote"
rfazley asked SatishBoddu-MSFT commented

How would I implement high availability across regions for Azure IOT hub?

I'm looking into what our high availability options are for our IOT hubs on azure, specifically cross-region as discussed in this article:

https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-ha-dr

Cross-region HA would give us the quickest RTO (recovery time objective) but I’m struggling to find pertinent tutorials, guidelines on implementation.

So far I think these are our options: i) Go down the route of using a mediator/listener in a load balanced configuration across regions ii) setup a secondary connection on the devices?

Could anyone help with advising on a typical approach, possibly reference an article we can use as an example?

azure-iot-hub
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SatishBoddu-MSFT avatar image
1 Vote"
SatishBoddu-MSFT answered SatishBoddu-MSFT commented

Hello @rfazley This is a great question and very helpful.

You are right about the ways to implement the cross-region HA.

The technology used in IoT subsystems have different failover and cross-region support characteristics. For IoT applications this can result in requiring hosting of duplicate services and duplicating application data across regions depending on acceptable failover downtime and data loss.

Because cloud solutions are composed of multiple services, it is important to consider what is necessary to achieve HA/DR for the individual services or components of the solution, instead of thinking about one approach for the entire solution.

Also please refer to this 2018 dated published IoT Architecture reference guide which may help in some areas, I did not see a new version as of now, so I will keep you posted if I find any. Read the section which talks about [High Availability and Disaster Recovery (HA/DR)]

One of the recommended ways is to have an application that serves as a concierge service, Point '1' of your initial question.
"The concierge service can be a web application that is replicated and kept reachable using DNS-redirection techniques".

138638-image.png


138717-image.png


Please comment in the below section for further help in this matter, happy to help.




image.png (92.1 KiB)
image.png (242.3 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Not sure how this applies to my question?

Could anyone help with advising on a typical approach, possibly reference an article we can use as an example?



0 Votes 0 ·

Tagging: @SandervandeVelde42 and @MatthijsvdVeer @asergaz @AshokPeddakotla-MSFT Experts from Azure IoT Area to help us over here.

1 Vote 1 ·

Hello @SatishBoddu-MSFT , @rfazley,

as described above, HA/DR is either done by Microsoft automatically or you can do it by hand.

It would be great if this could be automated with custom logic using eg. the REST API so it becomes more flexible for users.

I searched for this API but I found only this GitHub issue at this moment. A gentle reminder is added.

1 Vote 1 ·
Show more comments