OCI Resource manager stack for IPsec VPN deployment.
Resource Manager is an Oracle Cloud Infrastructure service that allows you to automate the process of provisioning your Oracle Cloud Infrastructure resources. Using Terraform, Resource Manager helps you install, configure, and manage resources through the "infrastructure-as-code" model.
The stack help you to provision an OCI IPsec VPN with all advanced options available. It support both Static and BGP routing.
Here is a reference architecture diagram for the below deployment
You can deploy this stack with two modes of operation
- Deploy IPsec VPN with new resources
Create New Network (Virtual Cloud Network) as well as new DRG (Dynamic Routing Gateway)
- Deploy IPsec VPN with existing resource in the tenancy
You can use existing VCN (Virtual Cloud Network) and DRG (Dynamic Routing Gateway)
-
If you aren't already signed in, when prompted, enter the tenancy and user credentials. Cancel changes
-
Review and accept the terms and conditions.
-
Select the region where you want to deploy the stack.
-
Follow the on-screen prompts and instructions to create the stack. Supply the required values
-
After creating the stack, click Plan button.
-
Wait for the job to be completed, and review the plan.
To make any changes, return to the Stack Details page, click Edit Stack, and make the required changes. Then, run the Plan action again. (It's a best practice always plan and verify the action before apply)
-
If no further changes are necessary, return to the Stack Details page, click Apply.
Once the job finsihed sucessfully you will receive the Public IP and Pre-shared-Key for both the tunnels as an ouput. You can see the same from the logs as well as from the Output tab