oraclecloud-core-workflow-b

Featured

Build OCI networking from scratch — VCN, subnets, gateways, and security rules. Use when creating a new VCN, debugging connectivity issues, or setting up security lists and NSGs. Trigger with "oci networking", "vcn setup", "security list", "nsg rules", "oci subnet".

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

# OCI Networking — VCN, Subnets & Security Rules ## Overview Build a working OCI network from scratch using the Python SDK. OCI networking (VCN, subnets, security lists, NSGs, gateways) has more moving parts than AWS VPC. A misconfigured security list silently drops traffic with no error — just timeouts. This skill creates a complete network topology with public and private subnets, internet and NAT gateways, route tables, and Network Security Groups (NSGs). **Purpose:** Build a production-ready VCN with proper routing and security rules that actually works on first deploy. ## Prerequisites - **OCI Python SDK** — `pip install oci` - **Config file** at `~/.oci/config` with fields: `user`, `fingerprint`, `tenancy`, `region`, `key_file` - **IAM policy** — `Allow group Developers to manage virtual-network-family in compartment <name>` - **Python 3.8+** ## Instructions ### Step 1: Create the VCN ```python import oci config = oci.config.from_file("~/.oci/config") network = oci.core.VirtualNetworkClient(config) vcn = network.create_vcn( oci.core.models.CreateVcnDetails( compartment_id=config["tenancy"], display_name="app-vcn", cidr_blocks=["10.0.0.0/16"], dns_label="appvcn", ) ).data print(f"VCN created: {vcn.id}") ``` ### Step 2: Create Internet Gateway and NAT Gateway The internet gateway handles inbound/outbound traffic for public subnets. The NAT gateway gives private subnets outbound-only internet access. ```python # Internet...

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