https://github.com/jeevanjoseph/oci-theia-stack
https://github.com/jeevanjoseph/oci-theia-stack
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jeevanjoseph/oci-theia-stack
- Owner: jeevanjoseph
- License: upl-1.0
- Created: 2021-02-04T05:55:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-04T05:55:48.000Z (over 5 years ago)
- Last Synced: 2025-06-25T06:02:17.407Z (about 1 year ago)
- Language: HCL
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# oci-theia-micro
## Prerequisites
- Permission to `manage` the following types of resources in your Oracle Cloud Infrastructure tenancy: `vcns`, `internet-gateways`, `route-tables`, `security-lists`, `subnets` and `instances`.
- Quota to create the following resources: 1 VCN, 1 subnet, 1 Internet Gateway, and 1 compute instance (Theia CMS).
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
## 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-theia-mds.git
cd oci-arch-theia-mds
ls
```
### Prerequisites
First off, you'll need to do some pre-deploy setup. That's all detailed [here](https://github.com/cloud-partners/oci-prerequisites).
Create a `terraform.tfvars` file, and specify the following variables:
```
# Authentication
tenancy_ocid = ""
user_ocid = ""
fingerprint = ""
private_key_path = ""
# Region
region = ""
# Availablity Domain
availablity_domain_name = ""
````
### Create the Resources
Run the following commands:
terraform init
terraform plan
terraform apply
### Testing your Deployment
After the deployment is finished, you can access WP-Admin by picking theia_wp-admin_url output and pasting into web browser window. You can also verify initial content of your blog by using theia_public_ip:
````
theia_wp-admin_url = http://193.122.198.19/wp-admin/
theia_public_ip = 193.122.198.19
`````
### Destroy the Deployment
When you no longer need the deployment, you can run this command to destroy the resources:
terraform destroy
## Architecture Diagram
