Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gotsysdba/oci-bcs-fn-vault

Oracle Backup Cloud Service with Serverless Fn
https://github.com/gotsysdba/oci-bcs-fn-vault

Last synced: 12 days ago
JSON representation

Oracle Backup Cloud Service with Serverless Fn

Awesome Lists containing this project

README

        

# oci-bcs-fn-vault

[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=gotsysdba_oci-bcs-fn-vault&metric=security_rating)](https://sonarcloud.io/summary/new_code?id=gotsysdba_oci-bcs-fn-vault) [![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=gotsysdba_oci-bcs-fn-vault&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=gotsysdba_oci-bcs-fn-vault) ![Verification](https://github.com/gotsysdba/oci-bcs-fn-vault/actions/workflows/push.yml/badge.svg)

## Oracle Backup Cloud Service with Serverless Fn for Vaulting

This IaC sets up a Proof-of-Concept (PoC) for the Oracle Backup Cloud Service to provide "Tape Vaulting" functionality via a Serverless Fn.

## Architecture

The PoC architecture includes a Virtual Cloud Network (VCN), an OCI Database System (DBCS), and Object Storage Buckets. It is not compatible with Always Free tenancies.

![OCI Architecture](architecture/architecture.drawio.png "OCI Architecture")

## Assumptions

* An existing OCI tenancy (this IaC POC is not Always Free Eligible).
* No quota/limit restrictions to provision the above architecture.

## Architecture Deployment

There are two main ways to deploy this Architecture:

* Cloud Shell
* Terraform Client (Advanced)

Deployment takes approximately 30 minutes.

### **Cloud Shell**

Using [Cloud Shell](https://docs.oracle.com/en-us/iaas/Content/API/Concepts/cloudshellintro.htm) is, by far, the easiest way to manually install this Architecture.

1. Log into your tenancy and launch Cloud Shell
2. Clone this repository: `git clone https://github.com/gotsysdba/oci-bcs-fn-vault`
3. `cd oci-bcs-fn-vault`
4. `source ./cloud-shell.env`
5. (Recommended) To install into a specific compartment, change the TF_VAR_compartment_ocid variable (default root)
* `export TF_VAR_compartment_ocid=ocid1.compartment....e7e5q`
6. Deploy
* `cd terraform`
* `terraform init`
* `terraform apply`
7. Configure Oracle Cloud Backup Service on the DBCS
* `cd ..`
* `./bcs-installer.ksh`

### **Terraform Client**