-
Permission to
manage
the following types of resources in your Oracle Cloud Infrastructure tenancy:vcns
,internet-gateways
,route-tables
,security-lists
,subnets
andinstances
. -
Quota to create the following resources: 1 VCN, 1 subnet, 1 Internet Gateway, and 1 compute instance (Nextcloud CMS).
If you don't have the required permissions and quota, contact your tenancy administrator. See Policy Reference, Service Limits, Compartment Quotas.
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-nextcloud-mds.git
cd oci-arch-nextcloud-mds
ls
First off, you'll need to do some pre-deploy setup. That's all detailed here.
Create a terraform.tfvars
file, and specify the following variables:
# Authentication
tenancy_ocid = "<tenancy_ocid>"
user_ocid = "<user_ocid>"
fingerprint = "<finger_print>"
private_key_path = "<pem_private_key_path>"
# Region
region = "<oci_region>"
# Availablity Domain
availablity_domain_name = "<availablity_domain_name>"
Run the following commands:
terraform init
terraform plan
terraform apply
After the deployment is finished, you can access WP-Admin by picking nextcloud_wp-admin_url output and pasting into web browser window. You can also verify initial content of your blog by using nextcloud_public_ip:
nextcloud_wp-admin_url = http://193.122.198.19/wp-admin/
nextcloud_public_ip = 193.122.198.19
When you no longer need the deployment, you can run this command to destroy the resources:
terraform destroy