1. Lab objective
Alhamdulillah, I started exploring Oracle Cloud Infrastructure (OCI) as a possible platform for extending my Oracle E-Business Suite home lab. My objective was to build the initial network and administrative access using Always Free eligible resources, without additional expenditure. My existing VirtualBox home lab lets me test Oracle software locally; OCI gives me a way to explore cloud networking and infrastructure provisioning separately. This article documents the infrastructure phase, not a completed EBS installation.
2. Compartment and VCN
I created a dedicated compartment named EBS-OCI-LAB in the Hyderabad region and a VCN named EBS-OCI-VCN with CIDR 10.20.0.0/16. I kept the lab resources in their own compartment so I could track them separately.


3. Network architecture
The design separates the public administrative subnet (10.20.1.0/24) from the private application (10.20.2.0/24) and database (10.20.3.0/24) subnets. The application and database compute instances remain planned. An Internet Gateway supports public connectivity, a NAT Gateway supports outbound connectivity for private resources, and a Service Gateway provides access to supported Oracle services.






4. Security configuration
I configured network security groups and reviewed ingress and egress rules. The intended design restricts administrative SSH access and avoids public IP addresses on application and database servers. Private-tier connectivity has not yet been validated end to end.


5. Bastion compute
I provisioned EBS-BASTION-01 using Oracle Linux 9.8 on the AMD-based VM.Standard.E2.1.Micro shape and established SSH connectivity using MobaXterm. This is a self-managed jump host, not the OCI managed Bastion service. During initial testing, SSH returned a connection refused error and I used the boot console to investigate. SSH access was subsequently restored; the original cause of the refusal was not conclusively established.
ssh -i /path/to/private_key opc@<BASTION_PUBLIC_IP>
6. Linux memory troubleshooting
The small Bastion instance had approximately 498 MiB of OS-visible RAM in my earlier lab observations. I investigated the crashkernel reservation and backed up the boot configuration before making changes. The original before-change terminal output has not been recovered.
The following commands are the actual historical procedure from my shell history, not commands to repeat on an already configured host. Disabling kdump removes kernel crash dump capability and is a lab-specific decision.
Step 1: Disable kdump and back up the boot configuration
sudo systemctl disable --now kdump.serviceBACKUP_DIR="/root/grub_backup_$(date +%Y%m%d_%H%M%S)"sudo mkdir -p "$BACKUP_DIR"sudo cp -a /etc/default/grub "$BACKUP_DIR/"sudo cp -a /boot/loader/entries "$BACKUP_DIR/"sudo grubby --info=ALL | sudo tee "$BACKUP_DIR/grubby_info.txt" >/dev/null
Step 2: Remove the reservation from the default kernel and reboot
sudo grubby --update-kernel="$(sudo grubby --default-kernel)" --remove-args="crashkernel"sudo grubby --info=DEFAULTsudo reboot
Step 3: After reboot, remove the old reservation from the GRUB defaults
sudo sed -i 's/ crashkernel=1G-64G:448M,64G-:512M//g' /etc/default/grub
Step 4: Validate the running configuration
free -msudo cat /sys/kernel/kexec_crash_sizecat /proc/cmdlinesudo grep GRUB_CMDLINE_LINUX /etc/default/grubsystemctl is-active sshd systemd-journaldsystemctl is-enabled kdump.servicesystemctl is-active kdump.service
My subsequent validation returned the following memory output:
total used free shared buff/cache available
Mem: 945 328 532 0 221 617
Swap: 944 294 650
The crashkernel reservation was 0 bytes. Both the running kernel command line and GRUB defaults no longer contained the crashkernel reservation argument. SSH and systemd-journald were active, while kdump was disabled and inactive.
Even with the extra usable RAM from removing crashkernel, kernel logs showed 15 DNF out-of-memory kills between December 1 and 3, 2026. I added a second 2 GiB swap file on the existing boot volume, bringing total swap to 2,992 MiB. The next metadata refresh completed successfully in 10 minutes and 11 seconds without new OOM events. After configuring swap persistence, systemctl --failed listed zero failed units.
sudo cp -p /etc/fstab /etc/fstab.bak_$(date +%Y%m%d_%H%M%S)
I added /swapfile2 none swap sw 0 0 to /etc/fstab and reloaded systemd. Activation after reboot was not tested. The detailed DNF troubleshooting is a topic for a separate follow-up.
7. Terraform and Resource Manager
I created a Resource Manager stack and ran Terraform Plan successfully. The subsequent Apply failed during instance provisioning. The OCI Resource Manager job logs confirmed the exact error: 500-InternalError, Out of host capacity. The failure occurred during LaunchInstance in ap-hyderabad-1 on December 2, 2026, using OCI Terraform provider 9.15.0. The Plan succeeded in 48 seconds, while Apply failed after 43 seconds. This identifies a host capacity failure during provisioning.
8. Always Free capacity and architecture
On December 2, 2026 (IST), my attempts to provision VM.Standard.A1.Flex in Hyderabad AD-1 encountered insufficient host capacity, including attempts with different memory configurations and fault-domain selections. Although the shape was eligible for Always Free, I could not provision it during my attempts. Ampere A1 is ARM-based and should not be assumed compatible with a conventional EBS x86-64 deployment. I have not verified EBS certification on ARM, so I will use x86-64 for the planned EBS installation.


9. Cost considerations
On December 4, 2026 (IST), I reviewed OCI Cost Analysis for December 1–3 (UTC). No charges were recorded across Compute, Block Storage, Database, Telemetry and Virtual Cloud Network services. Usage reporting may be delayed by approximately 24 hours, and the invoice may differ from the estimate.
I also checked the failed Apply job’s Job resources tab, which displayed no items. A full compartment inventory has not yet been verified.
10. Conclusion
Alhamdulillah, the initial networking and administrative host were established. The Bastion was operational after crashkernel removal and additional swap, with zero failed services at the final check and no cloud charges recorded at the time of validation. The application and database tiers remain pending. For my next attempt, I would validate compute availability and EBS platform compatibility before investing more time in provisioning. In a future part, I intend to explore suitable compute options and validate private connectivity. Happy Learning!
Leave a Reply