Skip to content

Commit 5299b9d

Browse files
authored
Merge pull request #6 from oracle-quickstart/ebs-v1
Dashboard deployment example
2 parents 583f718 + 175a299 commit 5299b9d

File tree

9 files changed

+10305
-0
lines changed

9 files changed

+10305
-0
lines changed

README.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,58 @@
11
# oci-o11y-solutions
22
Oracle Observability and Management Solution Templates
3+
4+
This is an example on how to deploy dashboards in Logging Analytics.
5+
## Deploy Using the Terraform CLI
6+
7+
### Clone the Module
8+
Now, you'll want a local copy of this repo. You can make that with the commands:
9+
10+
git clone https://github.com/oracle-quickstart/oci-o11y-solutions.git
11+
cd oci-o11y-solutions
12+
ls
13+
14+
### Prerequisites
15+
First off, you'll need to do some pre-deploy setup for Docker and Fn Project inside your machine:
16+
17+
```
18+
sudo su -
19+
yum update
20+
yum install yum-utils
21+
yum-config-manager --enable *addons
22+
yum install docker-engine
23+
groupadd docker
24+
service docker restart
25+
usermod -a -G docker opc
26+
chmod 666 /var/run/docker.sock
27+
exit
28+
curl -LSs https://raw.githubusercontent.com/fnproject/cli/master/install | sh
29+
exit
30+
```
31+
32+
### Set Up and Configure Terraform
33+
34+
1. Complete the prerequisites described [here](https://github.com/cloud-partners/oci-prerequisites).
35+
36+
2. Create a `terraform.tfvars` file, and specify the following variables:
37+
38+
```
39+
# Authentication
40+
tenancy_ocid="<tenancy_ocid>"
41+
auth_type="user"
42+
# Config file is ~/.oci/config
43+
config_file_profile="DEFAULT"
44+
45+
# Region
46+
region = "<oci_region>"
47+
48+
# Compartment
49+
compartment_ocid = "<compartment_ocid>"
50+
51+
### Create the Resources
52+
Run the following commands:
53+
54+
terraform init
55+
terraform plan
56+
terraform apply
57+
58+

0 commit comments

Comments
 (0)