You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Readme.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,30 +23,30 @@ Begin by [installing the Oracle Cloud Infrastructure CLI](https://docs.cloud.ora
23
23
24
24
In the OCI console under **Identity > Groups** click **Create Group** and create a new group called **GrafanaLoggingUserGroup**. Add the user configured in the OCI CLI to the newly-created group.
Under the **Policy** tab switch to the root compartment and click **Create Policy**. Create a policy allowing the group to read tenancy metrics. Add the following policy statements:
29
29
30
30
-`allow group GrafanaLoggingUserGroup to read log-groups in tenancy`
31
31
-`allow group GrafanaLoggingUserGroup to read log-content in tenancy`
### For compute-instance/VM on Oracle Cloud Infrastructure
36
36
#### Create Dynamic Group for your instance
37
37
Provision an Oracle Linux [virtual machine](https://docs.cloud.oracle.com/iaas/Content/Compute/Concepts/computeoverview.htm) in OCI connected to a [Virtual Cloud Network](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVCNs.htm) with access to the public internet. If you do not already have access to a Virtual Cloud Network with access to the public internet you can navigate to **Virtual Cloud Networks** under **Networking** and click **Create Virtual Cloud Network**. Choosing the `CREATE VIRTUAL CLOUD NETWORK PLUS RELATED RESOURCES` option will result in a VCN with an Internet Routing Gateway and Route Tables configured for access to the public internet. Three subnets will be created: one in each availability domain in the region.
38
38
39
39
After creating your VM, the next step is to create a [dynamic group](https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingdynamicgroups.htm) used to group virtual machine or bare metal compute instances as “principals” (similar to user groups).
40
40
You can define the dynamic group similar to below, where your instance is part of the compartment given in the definition of the dynamic group.
#### Create IAM policy for Dynamic Group for your instance
43
43
44
44
Next, create a [policy](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm) named “grafana_policy” in the root compartment of your tenancy to permit instances in the dynamic group to make API calls against Oracle Cloud Infrastructure services. Add the following policy statements:
45
45
46
46
*`allow dynamicgroup DynamicGroupForGrafanaInstances to read log-groups in tenancy`
47
47
*`allow dynamicgroup DynamicGroupForGrafanaInstances to read log-content in tenancy`
0 commit comments