Skip to content

OCI Resource manager stack for IPsec VPN deployment

Notifications You must be signed in to change notification settings

balus7891/OCI-vpn-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCI IPsec VPN setup Stack

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.

Project description

The stack help you to provision an OCI IPsec VPN with all advanced options available. It support both Static and BGP routing.

Topology Diagram

Here is a reference architecture diagram for the below deployment

Functionality of the Stack

You can deploy this stack with two modes of operation

  1. Deploy IPsec VPN with new resources

Create New Network (Virtual Cloud Network) as well as new DRG (Dynamic Routing Gateway)

  1. Deploy IPsec VPN with existing resource in the tenancy

You can use existing VCN (Virtual Cloud Network) and DRG (Dynamic Routing Gateway)

How to use code ?

Deploy Using Oracle Resource Manager

  1. Click Deploy to Oracle Cloud

    If you aren't already signed in, when prompted, enter the tenancy and user credentials. Cancel changes

  2. Review and accept the terms and conditions.

  3. Select the region where you want to deploy the stack.

  4. Follow the on-screen prompts and instructions to create the stack. Supply the required values

  5. After creating the stack, click Plan button.

  6. 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)

  7. If no further changes are necessary, return to the Stack Details page, click Apply.

OCI Resource Manager Stack Output

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

I hope the VPN stack helps you :) Thank you !!!