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: docs/instanceprincipal.adoc
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,16 +32,16 @@ This section documents the use of {uri-oci-instance-principal}[instance_principa
32
32
33
33
=== Using instance_principal
34
34
35
-
==== Enabling instance_principal on the bastion host
35
+
==== Enabling instance_principal on the admin host
36
36
{uri-oci-instance-principal}[instance_principal] is an IAM service feature that enables instances to be authorized actors (or principals) to perform actions on service resources. Each compute instance has its own identity, and it authenticates using the certificates that are added to it. These certificates are automatically created, assigned to instances and rotated, preventing the need for you to distribute credentials to your hosts and rotate them.
37
37
38
38
Any user who has access to the instance (who can SSH to the instance), automatically inherits the privileges granted to the instance. Before you enable this feature, ensure that you know who can access it, and that they should be authorized with the permissions you are granting to the instance.
39
39
40
-
By default, this feature is *_disabled_*.
40
+
By default, this feature is *_enabled_*.
41
41
42
-
When you enable this feature, by default, the bastion has privileges to all resources in the compartment.
42
+
When you enable this feature, by default, the admin host has privileges to all resources in the compartment.
43
43
44
-
You can also turn on and off the feature at any time without impact on the bastion.
44
+
You can also turn on and off the feature at any time without impact on the admin host.
45
45
46
46
To enable, set enable_instance_principal to true:
47
47
@@ -55,7 +55,7 @@ and verify:
55
55
oci network vcn list --compartment-id <compartment-ocid>
56
56
----
57
57
58
-
==== Disabling instance_principal on the bastion host
58
+
==== Disabling instance_principal on the admin host
59
59
60
60
. Set enable_instance_principal to false in terraform.tfvars
61
61
@@ -74,5 +74,5 @@ terraform apply
74
74
==== Recommendations for using instance_principal
75
75
76
76
. Do not enable instance_principal if you are not using it
77
-
. Enable instance_principal *_if and only if_* you are using the bastion host to execute oci commands e.g. modifying dynamic groups, changing policies
77
+
. Enable instance_principal *_if and only if_* you are using the admin host to execute oci commands e.g. modifying dynamic groups, changing policies
78
78
. Disable instance_principal once the oci operation is done
Copy file name to clipboardExpand all lines: docs/prerequisites.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ Open a terminal and test:
77
77
[source,bash]
78
78
----
79
79
terraform -v
80
-
Terraform v0.12.8
80
+
Terraform v0.12.16
81
81
----
82
82
83
83
=== OCI API Keys
@@ -113,7 +113,7 @@ To obtain the compartment OCID:
113
113
114
114
=== Identity and Access Management Rights
115
115
116
-
If you are enabling notifications and instance_principal for the bastion, the Terraform user must have the rights to manage dynamic groups.
116
+
If you are enabling notifications for the bastion host or instance_principal for the admin server, the Terraform user must have the rights to manage policies and dynamic groups respectively.
|image id or NONE. If the value is set to NONE, an Oracle Platform image will be used instead. Set use_autonomous to _false_ if you want to use your own image.
|image_id or NONE. If the value is set to NONE, an Oracle Platform image will be used instead. Set use_autonomous to _false_ if you want to use your own image. For now, *do not use Autonomous for the admin host.*
249
+
|NONE
250
+
251
+
|enable_instance_principal
252
+
|Whether to enable instance_principal on the admin server. Refer to {uri-instance-principal-note}[instance_principal][instance_principal]
253
+
|true/false
254
+
|true
255
+
256
+
|admin_notification_enabled
257
+
|Whether to enable ONS notification for the admin host. *Do not enable for now*.
258
+
|true/false
259
+
|false
260
+
261
+
|admin_notification_endpoint
262
+
|The subscription notification endpoint. Email address to be notified. Only email is currently supported although ONS can also support Slack, Pagerduty among others.
263
+
|
264
+
|
265
+
266
+
|admin_notification_protocol
267
+
|The notification protocol used.
268
+
|EMAIL
269
+
|EMAIL
270
+
271
+
|admin_notification_topic
272
+
|The name of the notification topic
273
+
|
274
+
|admin
275
+
276
+
|admin_package_upgrade
277
+
|Whether to also upgrade the packages for the admin host.
278
+
|true/false
279
+
|true
280
+
281
+
|admin_shape
282
+
|The shape of admin instance.
283
+
|
284
+
|VM.Standard.E2.1
285
+
286
+
|admin_timezone
287
+
|The preferred timezone for the admin host. {uri-timezones}[List of timezones]
288
+
|
289
+
|Australia/Sydney
290
+
291
+
|admin_use_autonomous
292
+
|Whether to use Autonomous Linux or an Oracle Linux Platform image or custom image. Set to false if you want to use your own image id or Oracle Linux Platform image. *Do not use autonomous for now*
0 commit comments