What's the benefit of doing this that outweighs the downside of restarts? If your DB has to communicate directly with something over wan there are other options
Can you please elaborate more on what other ways are you referring to? This particular way was used to communicate with the DB hosted on a different cloud provider from where it was being used. I would like to learn about different ways to accomplish the same securely. This was one of the ways I could find.