oraclecloud-hello-world

Featured

Launch your first OCI compute instance with capacity retry logic. Use when creating a new compute instance, testing OCI connectivity, or hitting "Out of host capacity" errors on Always Free ARM shapes. Trigger with "oraclecloud hello world", "launch oci instance", "oci compute example", "out of capacity oci".

AI & Automation 2,940 stars 439 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Oracle Cloud Hello World ## Overview Launch, list, and manage your first OCI compute instance. The most common blocker for new OCI users is the `Out of host capacity` error when launching Always Free ARM shapes (VM.Standard.A1.Flex). This error means the data center has no available hosts — it is **not** a permissions issue. The solution is a retry loop that polls until capacity becomes available. **Purpose:** Get a running compute instance on OCI, including the capacity retry pattern that makes Always Free ARM shapes actually usable. ## Prerequisites - **Completed `oraclecloud-install-auth`** — valid `~/.oci/config` with API key authentication - **Python 3.8+** with `pip install oci` installed - A **subnet OCID** in your tenancy (VCN > Subnets in the Console, or use the default VCN) - An **image OCID** for your region (Compute > Custom Images, or list platform images via API) - An **SSH public key** at `~/.ssh/id_rsa.pub` (for instance access) ## Instructions ### Step 1: List Existing Instances ```python import oci config = oci.config.from_file("~/.oci/config") compute = oci.core.ComputeClient(config) instances = compute.list_instances(compartment_id=config["tenancy"]) for inst in instances.data: print(f"{inst.display_name:<30} {inst.lifecycle_state:<12} {inst.shape}") ``` ### Step 2: List Available Shapes and Images ```python # List shapes available in your tenancy shapes = compute.list_shapes(compartment_id=config["tenancy"]) for s in shapes.data: ocp...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category