see cloudmesh.cloud
We provide the Oracle Cloud Compute interfaces
TBD
Add the following entry to you cloudmesh.yaml file:
cloudmesh:
compute:
oracle:
cm:
active: true
heading: ORACLE
host: cloud.oracle.com
label: oracle
kind: oracle
version: TBD
service: compute
default:
image: ami-0f65671a86f061fcd
size: t2.micro
credentials:
user : TBD
fingerprint : TBD
key_file : ~/.oci/oci_api_key.pem
pass_phrase : TBD
tenancy : TBD
compartment_id : TBD
region : us-ashburn-1
TBD. describe how we use cloudmesh config
design an entry
In prg you use
config = Config["cloudmesh.cloud.oracle"]
to get oracle configuration from cloudmesh.yaml
point to example prg examples/flavors.py use cloidmesh.yaml
point to example prg examples/images.py use cloidmesh.yaml
point to example prg examples/vms.py use cloidmesh.yaml
point to example prg examples/boot.py use cloidmesh.yaml
Naturally you nee to deal with keys and secgroups also
...
- https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/
- https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/core/client/oci.core.ComputeClient.html
- https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/pythonsdk.htm
- https://github.com/oracle/oci-python-sdk
- https://github.com/oracle/oci-python-sdk/blob/main/examples/launch_instance_example.py
- https://github.com/cloudmesh-community/fa19-516-162/blob/main/project/report.md