/oci-oracledb-developer

A playground for Oracle Cloud Infrastructure with Oracle Database for Developers

Primary LanguageJavaScript

OCI OracleDB Developer

A playground for Oracle Cloud Infrastructure with Oracle Database for Developers

## Architecture

This project will deploy an Autonomous Database Shared and a compute instance with sqlcl installed on Oracle Cloud Infrastructure.

SQLcl FAQ SQLcl Docs

## Deploy infrastructure

cd scripts/ && npm install && cd ..
zx scripts/setenv.mjs

Answer the Compartment name where you want to deploy the infrastructure. Root compartment is the default.

zx scripts/tfvars.mjs
cd terraform
terraform init
terraform plan --auto-approve
terraform apply --auto-approve

Run the command from the terraform output compute.

The first time you connect with ssh (command above), SSH will ask you to confirm you want to add the fingerprint.

Answer yes.