Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/gotsysdba/oci-bcs-fn-vault
- Owner: gotsysdba
- License: upl-1.0
- Created: 2022-06-06T08:26:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-26T16:52:00.000Z (about 2 years ago)
- Last Synced: 2023-04-25T15:45:00.777Z (over 1 year ago)
- Language: HCL
- Size: 156 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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**