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,266 stars 315 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
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

DevOps & Infrastructure Featured

oraclecloud-reference-architecture

Standard 3-tier OCI reference architecture with VCN, subnets, gateways, load balancer, compute, and Autonomous DB. Use when designing a new OCI deployment, translating AWS/Azure patterns, or creating Terraform for OCI infrastructure. Trigger with "oraclecloud architecture", "oci reference design", "oci 3 tier", "oci vpc design".

2,266 Updated today
jeremylongshore
DevOps & Infrastructure Solid

aws-cloudformation-vpc

Provides AWS CloudFormation patterns for VPC foundations, including subnets, route tables, internet and NAT gateways, endpoints, and reusable outputs. Use when creating a new network baseline, segmenting public and private workloads, or preparing CloudFormation networking stacks for application deployments.

261 Updated 1 weeks ago
giuseppe-trisciuoglio
DevOps & Infrastructure Featured

oraclecloud-migration-deep-dive

Migrate workloads from AWS or Azure to OCI — IAM translation, networking mapping, compute image import, and data migration. Use when planning an AWS-to-OCI or Azure-to-OCI migration, translating cloud concepts, or importing custom images. Trigger with "oraclecloud migration", "aws to oci", "azure to oci", "oci migration deep dive".

2,266 Updated today
jeremylongshore
AI & Automation Featured

oraclecloud-core-workflow-a

Launch, manage, and scale OCI compute instances with capacity retry logic. Use when provisioning VMs, selecting instance shapes, or handling "out of capacity" errors. Trigger with "oci compute", "launch instance", "out of capacity", "instance shapes".

2,266 Updated today
jeremylongshore
Web & Frontend Solid

vpc-design

Design cloud-agnostic private networks — subnet layout, CIDR allocation, zone redundancy, routing, and bare-metal equivalent.

14 Updated 3 days ago
sawrus