Provision your VPN with Infrastructure as Code manner

Island
Island Member Posts: 2

Hi Guys,
I've built a tool for myself to easily backup and provision the VPN. The basic idea is to recursively GET all config from a VPN and write it down into a single JSON file, and you can do it reversely to provision the VPN (event after you modified the JSON file).

Please access https://github.com/flyisland/sempv2 to get this tool, hope it could be useful for you too!

Feedbacks are welcome (in here or in the github issues).

Tagged:

Comments

  • Hi Island, I did a similar thing in the past but I've changed my view on it. My preference now is to write the JSONs individually to the filesystem in the same structure as our SEMPv2 URIs. That's important because it makes your provisioning code a much simpler recursive call, with less soecial-case handling.