Using Oracle Linux 8.10 in WSL for Oracle Cloud Infrastructure Ansible Collection

In this blog post, we will guide you through the process of setting up Oracle Linux 8.10 in Windows Subsystem for Linux (WSL) to effectively work with the Oracle Cloud Infrastructure (OCI) Ansible Collection. We’ll cover installation, necessary packages, OCI CLI setup, and a test of the setup. One of the great features of WSL is its seamless integration with Visual Studio Code (VS Code). This powerful code editor provides excellent support for remote development, allowing you to edit files, run commands, and manage your environment directly within the editor. Table of Contents Installing Oracle Linux 8.10 from the Windows Store How to install WSL: https://learn.microsoft.com/en-us/windows/wsl/install Installing Missing OS Packages After launching Oracle Linux for the first time, you may…

Read More

Oracle Cloud Infrastructure – Cleanup Vulnerability Scan Reports

Sometimes it’s hard to cleanup old unused compartments. There are a lot of resources still available, and some of them like the CSS scans from Vulnerability Scanning are not visible in Oracle Cloud Infrastructure console. But for most of them, there is a command-line solution available for OCI command-line tool or you can solve it with some line of codes in Python. And when using the OCI Cloud Console, you can execute the code immediately without provisioning any additional server. The Case – Compartment Delete Workflow failed When verifying the workflow, we see the deletion is failed according some resource leftovers. We must delete them all before the compartment deletion workflow runs well. There are other resources like Management Dashboard…

Read More

Oracle Cloud Infrastructure – Configuring Network Access with Access Control Rules (ACLs)

When running Autonomous Databases (ADB) in Oracle Cloud Infrastructure (OCI), it’s crucial to prioritize security, even for development and test environments. Allowing unrestricted public access (0.0.0.0/0) is not a secure solution and should be avoided. To ensure that only trusted sources can access your databases, you can restrict access to specific IP addresses and Virtual Cloud Networks (VCNs). To enhance security, I configured my ADB to allow access only from specified IP addresses and VCNs. This approach ensures that only authorized users can connect to the database. My next step was to add the public IP address of my workstation to the ADB’s access control rules, so I can securely manage the database from my current location. While the OCI…

Read More

Oracle Cloud Infrastructure – Resource Scheduler First Release

A long waiting functionality is now available in Oracle Cloud Infrastructure: the Resource Scheduler. Now you can control the start and stop of OCI resources like Compute Instances and Autonomous Databases in OCI directly. This saves money and makes previous solutions with tags, cron commands by OCI-CLI, functions or 3rd-party tools unnecessary. The scheduler is located at tenancy level and can handle static or dynamic resources based on search criteria. As this is the First Release, sometime the schedule creation fails but the error box is empty, even when all required text field are filled out, creation was not possible. But again, for the first release not so bad. I miss actually the functionality to create more than one action…

Read More

Oracle Cloud Infastructure – Enable Multipath for Ultra High Performance UHP Storage

The Oracle Cloud Infrastructure Block Volume service leverages NVMe-based storage for consistent performance and offers flexible and elastic performance options. You only need to provision the required capacity, and the performance scales according to the selected performance level, up to the service limits. There are four performance levels available who have a direct impact at performance. Four Levels of Performance Ultra High Performance: Ideal for workloads with the highest I/O demands, offering the best possible performance. This level allows you to purchase between 30 and 120 VPUs per GB/month. Higher Performance: Suitable for workloads with high I/O requirements that do not need the peak performance of the Ultra High Performance level. This level provides 20 VPUs per GB/month. Balanced: The…

Read More