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 MoreCategory: Oracle Cloud Infrastructure
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 MoreOracle 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 MoreOracle 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 MoreOracle Cloud Infrastructure CLI – How to fix sign.py:10: CryptographyDeprecationWarning
WSL2 is a game-changer for developers like me. I prefer Oracle Linux 8 for coding in Ansible, Terraform, and OCI-CLI. Setting up Oracle Linux 8.8 on WSL2 from the Microsoft Store was easy. With OCI CLI configured within the Linux environment, managing Oracle Cloud Infrastructure resources became effortless. WSL2 eliminates the need for additional virtualization software, providing a seamless Linux environment on Windows. This integration has significantly improved my development workflow, making tasks like deploying infrastructure and managing cloud resources more accessible. In conclusion, WSL2’s integration with Windows and support for various Linux distributions, including Oracle Linux, has transformed the way I work. If you’re a developer, I highly recommend giving WSL2 a try – it might just revolutionize your…
Read More