Policies for Oracle Cloud Agent

Shows how to allow Disaster Recovery (DR) to execute scripts using Oracle Cloud Agent on compute instances that are part of the application stack.

Allow group group_name to manage instance-agent-command-family in compartment compartment_name

In addition to granting policy access for Disaster Recovery to execute workflow scripts, you may need to configure additional Identity and Access Management (IAM) policies for Oracle Cloud Agent to allow access to the Run Command feature. For additional details on the IAM policy configurations, refer Required IAM Policy.

To execute scripts or commands with Linux administrator (sudo) privileges, you may need additional configuration for a Linux instance. For more details about administrator privileges, refer Running Commands with Administrator Privileges.