{"id":18802302,"url":"https://github.com/oracle-quickstart/oci-bastion-dbaas","last_synced_at":"2026-01-05T02:30:17.751Z","repository":{"id":106379895,"uuid":"303448252","full_name":"oracle-quickstart/oci-bastion-dbaas","owner":"oracle-quickstart","description":null,"archived":false,"fork":false,"pushed_at":"2021-10-14T16:57:19.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-12-29T20:16:01.923Z","etag":null,"topics":["oracle-led"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"upl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oracle-quickstart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-12T16:20:55.000Z","updated_at":"2022-01-10T12:10:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"25ae92ed-b117-4de3-8b61-e68cca0c9ab0","html_url":"https://github.com/oracle-quickstart/oci-bastion-dbaas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-bastion-dbaas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-bastion-dbaas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-bastion-dbaas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oracle-quickstart%2Foci-bastion-dbaas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oracle-quickstart","download_url":"https://codeload.github.com/oracle-quickstart/oci-bastion-dbaas/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239735262,"owners_count":19688262,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["oracle-led"],"created_at":"2024-11-07T22:27:23.696Z","updated_at":"2026-01-05T02:30:17.710Z","avatar_url":"https://github.com/oracle-quickstart.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# oci-bastion-dbaas \n\nThis solution provides a Network Architecture deployment to spin up a bastion server and database instance.\n\n\n## Quickstart Deployment\n\n1. Clone this repository to your local host. The `oci-bastion-dbaas` directory contains the Terraform configurations for a sample topology based on the architecture described earlier.\n    ```\n    $ git clone https://github.com/oracle-quickstart/oci-bastion-dbaas.git\n    ```\n\n2. Install Terraform. See https://learn.hashicorp.com/terraform/getting-started/install.html.\n\n3. Setup tenancy values for terraform variables by updating **env-vars** file with the required information. The file contains definitions of environment variables for your Oracle Cloud Infrastructure tenancy.\n    ```\n    $ source env-vars\n    ```\n\n4. Create **terraform.tfvars** from *terraform.tfvars.sample* file with the inputs for the architecture that you want to build. A running sample terraform.tfvars file is available below. The contents of sample file can be copied to create a running terraform.tfvars input file. Update db_admin_password with actual password in terraform.tfvars file.\n\n\n5. Deploy the topology:\n\n-   **Deploy Using Terraform**\n    \n    ```\n    $ terraform init\n    $ terraform plan\n    $ terraform apply\n    ```\n    When you’re prompted to confirm the action, enter yes.\n\n    When all components have been created, Terraform displays a completion message. For example: Apply complete! Resources: 14 added, 0 changed, 0 destroyed.\n\n6. If you want to delete the infrastructure, run:\n    run the following command\n    ```\n    $ terraform destroy\n    ```\n    When you’re prompted to confirm the action, enter yes.\n\n\n## Inputs required in the terraform.tfvars file\n*Sample terraform.tfvars file to create bastion-database architecture*\n\n```\n# CIDR block of Primary VCN to be created\nvcn_cidr_block = \"192.168.0.0/16\"\n\n# DNS label of VCN to be created\nvcn_dns_label = \"drvcn\"\n\n# Compute shape for bastion server\nbastion_server_shape = \"VM.Standard2.1\"\n\n# Database System display name\ndb_system_display_name = \"ActiveDBSystem\"\n\n# Database name\ndb_name = \"ORCLCDB\"\n\n# Compute shape for Database server\ndb_system_shape = \"VM.Standard2.2\"\n\n# DB admin password for database\ndb_admin_password = \"YourPwd__111\"\n\n# path to public ssh key to set as the authorized key on the bastion host\nssh_public_key_file  = \"~/.ssh/id_rsa.pub\"\n\n# path to private ssh key to access the bastion host\nssh_private_key_file = \"~/.ssh/id_rsa\"\n```\n\n\n### End","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-quickstart%2Foci-bastion-dbaas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foracle-quickstart%2Foci-bastion-dbaas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foracle-quickstart%2Foci-bastion-dbaas/lists"}