No file in this repo provides production warranty!! It is just for fun, learning and demo purpose.
- First time user please check Oracle official site for Oracle Cloud Infrastructure Java SDK download, configure and install.
- Current SDK download page.
Config file ~/.oci/config
properties descriptions to run Jiu
:
[DEFAULT]
tenancy=<tenancy_ocid>
user=<iam_user_ocid>
fingerprint=<signing_key_fingerprint>
key_file=<signing_key_location>
region=<bmc_region_code>
compartment=<compartment_ocid>
namespace=<object_storage_namespace>
bastionseclist=<bastion_seclist_ocid>
connectiontimeout=6000
readtimeout=240000
public_key_file=<public_key_file_location_for_vm>
bastion_user_data=<file_location>
webserver_user_data=<file_location>
webserver0_user_data=<file_location>
webserver1_user_data=<file_location>
webserver2_user_data=<file_location>
[PHOENIX]
...
[ASHBURN]
...
-
Sample config file provided config-sample.
-
Edit
pom-sample.xml
to correct the<oci.jar.location>
property and rename it topom.xml
. -
mvn pacakge
-
Replace
PATH_TO
portions in sample run scriptrunJiu.sh
. -
Run
runJiu.sh
to show all utilities. -
Run
runJiu.sh [utility_name] -h
to show help messasge.