OCI:Create account: Difference between revisions

From DISI
Jump to navigation Jump to search
(asdf)
 
No edit summary
Line 21: Line 21:
https://cloud.oracle.com/identity/compartments?region=us-ashburn-1
https://cloud.oracle.com/identity/compartments?region=us-ashburn-1


click on "create compartment"
click on "create compartment", select your root compartment as the parent compartment (this is the default)


name: slurm-autoscaling  (does not matter, any name will work)
name: slurm-autoscaling  (does not matter, any name will work)
description: molecular docking work (does not matter)
description: molecular docking work (does not matter)


create compartment.  
When finished creating, click on the compartment in the menu to view details. Copy the compartment OCID for later use.


== create dynamic group ==
== create dynamic group ==


hamburger -> identity and security -> Dynamic Groups -> Create dynamic group
Add the following policy to the Dynamic Group:
<nowiki>Any {instance.compartment.id = '<your compartment OCID>'}</nowiki>


== policies ==  
== policies ==  
Line 40: Line 45:
description:  molecular docking policy (actual value does not matter)
description:  molecular docking policy (actual value does not matter)


 
<nowiki>
 
Allow dynamic-group SlurmDynamicGroup to read app-catalog-listing in tenancy
 
Allow dynamic-group SlurmDynamicGroup to use tag-namespace in tenancy
Allow dynamic-group SlurmDynamicGroup to manage compute-management-family in compartment SlurmAutoScaling
Allow dynamic-group SlurmDynamicGroup to manage instance-family in compartment SlurmAutoScaling
Allow dynamic-group SlurmDynamicGroup to use virtual-network-family in compartment SlurmAutoScaling
Allow dynamic-group SlurmDynamicGroup to use volumes in compartment SlurmAutoScaling
Allow any-user to manage all-resources in compartment SlurmAutoScaling
allow service compute_management to use tag-namespace in tenancy
allow service compute_management to manage compute-management-family in tenancy
allow service compute_management to read app-catalog-listing in tenancy</nowiki>





Revision as of 19:54, 22 March 2023

create a free account

https://www.oracle.com/cloud/

"Try OCI for free"

"Start for free"

Once you create the account, get to the "dashboard"

You want US East (Ashburn) https://cloud.oracle.com/?region=us-ashburn-1

create compartment

create a compartment slurm autoscaling in the create dynamic group

hamburger -> identity and security -> compartments ->

so you are now here: https://cloud.oracle.com/identity/compartments?region=us-ashburn-1

click on "create compartment", select your root compartment as the parent compartment (this is the default)

name: slurm-autoscaling (does not matter, any name will work) description: molecular docking work (does not matter)

When finished creating, click on the compartment in the menu to view details. Copy the compartment OCID for later use.

create dynamic group

hamburger -> identity and security -> Dynamic Groups -> Create dynamic group

Add the following policy to the Dynamic Group:

Any {instance.compartment.id = '<your compartment OCID>'}

policies

now go to Identity -> Policies select root compartment create policy

name: slurm-autoscaling-policy. (does not matter) description: molecular docking policy (actual value does not matter)

Allow dynamic-group SlurmDynamicGroup to read app-catalog-listing in tenancy
Allow dynamic-group SlurmDynamicGroup to use tag-namespace in tenancy
Allow dynamic-group SlurmDynamicGroup to manage compute-management-family in compartment SlurmAutoScaling
Allow dynamic-group SlurmDynamicGroup to manage instance-family in compartment SlurmAutoScaling
Allow dynamic-group SlurmDynamicGroup to use virtual-network-family in compartment SlurmAutoScaling
Allow dynamic-group SlurmDynamicGroup to use volumes in compartment SlurmAutoScaling
Allow any-user to manage all-resources in compartment SlurmAutoScaling
allow service compute_management to use tag-namespace in tenancy
allow service compute_management to manage compute-management-family in tenancy
allow service compute_management to read app-catalog-listing in tenancy