Category Archives: Oracle Cloud

RDP to windows host in cloud

This is the question I was always asked recently. Well, I assume you already get at least one bastion host in cloud to protect access to cloud resource. Then build SSH tunnel for RDP access on port 3389, it is … Continue reading

Posted in Oracle Cloud | Tagged , , , | Leave a comment

Automate stop database in Oracle Cloud

Say I wan to stop non-prod database in Oracle Cloud every night. One simple way is  schedule a script to run CLI command. while read line;do if [ “`echo $line|grep ^ocid1.dbnode`” != “” ];then ~/bin/oci –profile MY_CLI_PROFILE db node stop … Continue reading

Posted in Oracle Cloud, Uncategorized | Tagged | Leave a comment

Oracle Cloud – Install and configure the CLI – CentOS 7.6

The instruction is at https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/cliinstall.htm. I started it with “bash -c “$(curl -L https://raw.githubusercontent.com/oracle/oci-cli/master/scripts/install/install.sh)” then it croaked with following message. Collecting oci-cli Could not fetch URL https://pypi.python.org/simple/oci-cli/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed … Continue reading

Posted in Oracle Cloud, Uncategorized | Tagged , , , , , | Leave a comment