https://github.com/oracle-quickstart/oci-arch-atp-private
ATP Private Endpoint
https://github.com/oracle-quickstart/oci-arch-atp-private
oracle-led
Last synced: 12 days ago
JSON representation
ATP Private Endpoint
- Host: GitHub
- URL: https://github.com/oracle-quickstart/oci-arch-atp-private
- Owner: oracle-quickstart
- License: upl-1.0
- Archived: true
- Created: 2020-05-12T14:17:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-12-10T09:27:55.000Z (over 3 years ago)
- Last Synced: 2025-02-19T21:12:51.633Z (2 months ago)
- Topics: oracle-led
- Language: HCL
- Size: 689 KB
- Stars: 3
- Watchers: 7
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oci-arch-atp-private
Deploy Private Endpoint for Autonomous Database to take advantage of the fully managed, preconfigured database environment of Oracle Autonomous Database in private subnets of Oracle Cloud Infrastructure. This reference architecture deploys Autonomous Private Endpoint and Flask-based Webserver on Oracle Cloud Infrastructure.
For details of the architecture, see [_Deploy Private Endpoints for Autonomous Database_](https://docs.oracle.com/en/solutions/autonomous-db-private-endpoint/index.html)
## Prerequisites
- Permission to `manage` the following types of resources in your Oracle Cloud Infrastructure tenancy: `vcns`, `internet-gateways`, `route-tables`, `network-security-groups`, `subnets`, `autonomous-database-family`, and `instances`.
- Quota to create the following resources: 1 VCN, 2 subnets, 1 Internet Gateway, 1 NAT Gateway, 2 route rules, 1 ATP database instance, and 1 compute instance.
If you don't have the required permissions and quota, contact your tenancy administrator. See [Policy Reference](https://docs.cloud.oracle.com/en-us/iaas/Content/Identity/Reference/policyreference.htm), [Service Limits](https://docs.cloud.oracle.com/en-us/iaas/Content/General/Concepts/servicelimits.htm), [Compartment Quotas](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcequotas.htm).
## Deploy Using Oracle Resource Manager
1. Click [](https://cloud.oracle.com/resourcemanager/stacks/create?region=home&zipUrl=https://github.com/oracle-quickstart/oci-arch-atp-private/releases/latest/download/oci-arch-atp-private-stack-latest.zip)
If you aren't already signed in, when prompted, enter the tenancy and user credentials.
2. Review and accept the terms and conditions.
3. Select the region where you want to deploy the stack.
4. Follow the on-screen prompts and instructions to create the stack.
5. After creating the stack, click **Terraform Actions**, and select **Plan**.
6. Wait for the job to be completed, and review the plan.
To make any changes, return to the Stack Details page, click **Edit Stack**, and make the required changes. Then, run the **Plan** action again.
7. If no further changes are necessary, return to the Stack Details page, click **Terraform Actions**, and select **Apply**.
## Deploy Using the Terraform CLI
### Clone the Module
Now, you'll want a local copy of this repo. You can make that with the commands:git clone https://github.com/oracle-quickstart/oci-arch-atp-private.git
cd oci-arch-atp-private
ls### Set Up and Configure Terraform
1. Complete the prerequisites described [here](https://github.com/cloud-partners/oci-prerequisites).
2. Create a `terraform.tfvars` file, and specify the following variables:
```
# Authentication
tenancy_ocid = ""
user_ocid = ""
fingerprint = ""
private_key_path = ""# Region
region = ""# Compartment
compartment_ocid = ""# AD
availablity_domain_name = "" # for example GrCH:US-ASHBURN-AD-1# ATP password
ATP_password = ""
````### Create the Resources
Run the following commands:terraform init
terraform plan
terraform apply### Destroy the Deployment
When you no longer need the deployment, you can run this command to destroy the resources:terraform destroy
## Architecture Diagram
