Integrate Oracle Cloud Instance Management with Home Assistant

In this post, I’ll guide you through setting up a solution to manage Oracle Cloud Infrastructure (OCI) instances directly from Home Assistant using HTTP calls. By combining the power of the oci CLI and a Node.js server, you’ll be able to start, stop, and monitor your OCI instances effortlessly. Requirements Before starting, ensure you have the following: Home Assistant installed and running. A server with Node.js and OCI CLI installed. OCI CLI configured with the appropriate credentials. Your instance's OCID…

Continue ReadingIntegrate Oracle Cloud Instance Management with Home Assistant

How to setup a linux Virtual IP Failover (IP Floating) on Oracle OCI managed by pacemaker

Introduction In many environments, it is still essential to use infrastructures with an active/passive Linux cluster, which require the use of IP floating. In cloud infrastructures, the secondary IP address must be managed not only by the operating system but also by the cloud infrastructure. In this tutorial, we will see how the IP floating of a Linux cluster can be managed as an integrated resource by Pacemaker, in a simple manner and without custom code, as seen in several…

Continue ReadingHow to setup a linux Virtual IP Failover (IP Floating) on Oracle OCI managed by pacemaker

Establish a VPN with Oracle OCI with a dynamic public IP ADDRESS on CPE

Oracle Cloud Infrastructure (OCI) does not support the use of Domain Name System (DNS) for configuring the Customer Premises Equipment (CPE) as the VPN tunnel endpoint. This tutorial aims to enable small businesses that do not have access to a static public IP address to use the IPSec service even with a dynamic address. The strategy involves deploying a script capable of automatically generating a new OCI tunnel whenever the public IP of the Customer Premises Equipment (CPE) changes. In…

Continue ReadingEstablish a VPN with Oracle OCI with a dynamic public IP ADDRESS on CPE