Skip to content

Latest commit

 

History

History
87 lines (70 loc) · 3.44 KB

File metadata and controls

87 lines (70 loc) · 3.44 KB

oci-enterprise-scale-baseline-landing-zone-sandbox-mode

The sandbox mode can be used for development or demonstration purposes. It adds a unique suffix for all the tenancy level resources which will allow multiple instances of the stack within the same tenancy.

Sandbox Mode limits the number of inputs by adding safe defaults. This includes:

  • One workload
  • Disabling Budgeting
  • Disabling the Public Subnet
  • Disabling the Shared Services Subnet
  • Setting safe defaults for VCN and Subnet configuration
  • Enabling the Cloud Guard
  • Enabling the Vulnerability Scanning Service
  • Disabling the IPSEC Tunnel
  • Disabling the FastConnect Virtual Circuit
  • Disabling the Bastion Service
  • Setting the default of Advanced Logging Option (including Flow Logging and Audit Logging) to NONE. Users can enable either or both by changing the variable option.

Requirements

Usage

An tfvars file is included and will be required for the implementation. All the variables are set to safe defaults.

The required inputs are:

  • Enable Advance Logging: This option allows you to enable Audit Logging and/or VCN Flow Logs

Deploy Using Oracle Resource Manager

  1. From the home page of the OCI Console, under the Oracle Quickstarts, look for the "Deploy a baseline landing zone".
  2. Review the deployment summary, and then select “Continue” to begin the deployment.
  3. Enter the inputs and then select "Start deployment".

Destroy Resources Using Oracle Resource Manager

  1. If audit log bucket was provisioned, delete this bucket manually.
  2. If flow logs were provisioned, delete these logs manually.
  3. Go to the Stack Details page, then click Destroy.
  4. A pop-up confirmation dialog page will appear. Click Destroy again.
  5. Clean up leftover compartments in the OCI console.

Deploy Using the Terraform CLI

Clone the Module

Clone the source code from using the following command:

git clone ADD_URL_HERE
cd repository_name

Running Terraform

Before running terraform apply, rename the file from example directory to terraform.tfvars and save it in the outermost directory.

cp examples/terraform.tfvars.sandbox.example terraform.tfvars

Run the stack using the following commands:

terraform init
terraform plan
terraform apply

Destroy Resources Using the Terraform CLI

  1. If audit log buck was provisioned, delete this bucket manually.
  2. If flow logs were provisioned, delete these logs manually.
  3. Run the following commands to delete the stack:
terraform init
terraform destroy
  1. Wait for Terraform to finish destroying resources.
  2. Clean up leftover compartments in the OCI console.

Terraform Variables

A complete listing of the Terraform variables used in this stack are referenced here. This document is automatically generated using the terraform-docs with the following command:

terraform-docs markdown table --sort-by required --show inputs --show outputs . > VARIABLES.md

The Team

This repository was developed by the Oracle OCI Product Solution Engineering Development team.

How to Contribute

Interested in contributing? See our contribution guidelines for details.

License

This repository and its contents are licensed under UPL 1.0.