oracle-cloud

Generates OCI infrastructure code, Terraform configurations, and deployment guidance for Oracle Cloud services.

3|1|Updated Apr 29, 2026
One-click install
npx skills add https://github.com/firstsun-dev/skills --skill oracle-cloud-firstsun-dev
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: oracle-cloud
Source: https://github.com/firstsun-dev/skills/tree/main/plugins/software-delivery/skills/oracle-cloud
Command: npx skills add https://github.com/firstsun-dev/skills --skill oracle-cloud-firstsun-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Designing and provisioning Oracle Cloud Infrastructure requires deep knowledge of compute shapes, VCN networking, IAM policies, database services, and Terraform provider patterns, which slows down cloud architecture and migration work. ## Core Features & Use Cases - Infrastructure as Code: Produces Terraform OCI provider configurations for compute instances, VCNs, subnets, security lists, load balancers, and Autonomous Databases. - Service-Specific Guidance: Covers compute, networking, storage, databases (Autonomous DB, MySQL, PostgreSQL, NoSQL), OKE Kubernetes, and IAM policy design with dynamic groups and compartments. - OCI CLI Operations: Provides command references for provisioning, monitoring, bulk operations, and troubleshooting across OCI services. - Use Case: When migrating an application to Oracle Cloud, use this Skill to generate a three-tier architecture with a public web subnet, private app and database subnets, autoscaling instance pools, and least-privilege IAM policies. ## Quick Start Ask the agent to design an OCI architecture with a VCN, autoscaling compute pool, and Autonomous Database using Terraform.

Frequently Asked Questions about oracle-cloud

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I provision OCI infrastructure with Terraform?▼

Configure the oracle/oci provider with tenancy OCID, user OCID, fingerprint, and private key, then define resources like oci_core_vcn, oci_core_instance, and oci_database_autonomous_database. Use remote state in OCI Object Storage and organize code into modules for compute, networking, and database tiers.

How to design a VCN with public and private subnets in OCI?▼

Allocate a /16 CIDR for the VCN and /24 blocks per subnet, placing load balancers and bastion hosts in public subnets with an internet gateway route, and databases in private subnets routing through a NAT gateway. Combine security lists for subnet-level rules with network security groups for fine-grained instance control.

What is the difference between security lists and network security groups in OCI?▼

Security lists apply rules to all VNICs in a subnet, while network security groups apply rules to specific VNICs regardless of subnet. Use security lists for broad subnet-level policies and NSGs for targeted rules like allowing database port 3306 only from the application tier NSG.

Does OCI Autonomous Database support auto scaling?▼

Yes, setting is_auto_scaling_enabled to true lets Autonomous Database scale CPU up to three times the base OCPU count based on utilization. Storage auto scaling can be enabled separately with is_auto_scaling_for_storage_enabled.

How do I write least-privilege IAM policies in OCI?▼

Grant groups only the verbs they need, such as inspect, read, use, or manage, scoped to specific compartments rather than the tenancy. Use dynamic groups with matching rules for compute instances and add conditions like network sources or tags to further restrict access.

Why does OCI CLI return authorization failed errors?▼

Authorization failures typically mean the compartment OCID is wrong or the user's group lacks a policy granting access to that resource type. Verify the compartment hierarchy, confirm the IAM policy statements, and test authentication with oci iam region list.