> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.ibee.co.in/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.ibee.co.in/docs/_mcp/server.

# Examples

> Working examples for every IBEE product with the Python SDK, TypeScript SDK, CLI, HTTP API, and Terraform provider.

The [IBEE examples repository](https://github.com/devs-ibee/examples) has complete, runnable examples for every product with a public API. Each example is a small, realistic workflow, such as creating a VM and deleting it, or putting a VM on a private network, written for the interfaces that support it.

```bash
git clone https://github.com/devs-ibee/examples.git
cd examples
export IBEE_TOKEN="ibee_prod_key_..."
export IBEE_WORKSPACE_ID="<workspace-id>"
python3 getting-started/main.py
```

## Compute

#### [Getting started](https://github.com/devs-ibee/examples/tree/main/getting-started)

Check your credentials and list sites, plans, images, and billing status.

#### [Cloud VMs](https://github.com/devs-ibee/examples/tree/main/cloud-vms)

Create, wait for, stop, start, and delete a VM.

#### [GPU VMs](https://github.com/devs-ibee/examples/tree/main/gpu-vms)

Create a GPU VM from a priced GPU plan.

#### [VM operations](https://github.com/devs-ibee/examples/tree/main/vm-operations)

Metrics, events, resize, SSH access, and a browser console.

#### [Snapshots and backups](https://github.com/devs-ibee/examples/tree/main/snapshots-and-backups)

Scheduled and on-demand backups, snapshots, and recovery points.

## Storage

#### [Object Storage](https://github.com/devs-ibee/examples/tree/main/object-storage)

Buckets, bucket-scoped S3 keys, boto3, and mounting a bucket with s3fs.

#### [Block Storage](https://github.com/devs-ibee/examples/tree/main/block-storage)

Create, attach, grow, detach, and delete a volume.

#### [Container Registry](https://github.com/devs-ibee/examples/tree/main/container-registry)

Push and pull images, publish from GitHub Actions, and deploy to Kubernetes.

## Networking and security

#### [VPC and NAT gateway](https://github.com/devs-ibee/examples/tree/main/vpc)

A private network with NAT egress and port forwarding.

#### [Virtual IPs](https://github.com/devs-ibee/examples/tree/main/virtual-ips)

A private address you choose, announced by MetalLB.

#### [Reserved IPs](https://github.com/devs-ibee/examples/tree/main/reserved-ips)

Reserve, attach, move, and release a public IP.

#### [Firewalls](https://github.com/devs-ibee/examples/tree/main/firewalls)

A web-server firewall group attached to a VM.

#### [Load Balancers](https://github.com/devs-ibee/examples/tree/main/load-balancers)

L7 HTTP with path routing, and L4 TCP.

#### [CDN](https://github.com/devs-ibee/examples/tree/main/cdn)

Serve a bucket with SPA routing, a custom domain, cache purges, and signed URLs.

#### [Secret Manager](https://github.com/devs-ibee/examples/tree/main/secret-manager)

Stores, versioned secrets, rollback, and AppRole identities.

## Terraform

#### [Terraform provider](/docs/api-reference/terraform)

Get started with the IBEE provider, create a VPC, and run a Terraform plan.

#### [Terraform stacks](https://github.com/devs-ibee/examples/tree/main/terraform)

Five complete stacks: a load-balanced web app, a private network, a static site on the CDN, storage with secrets, and a GPU worker.

## Interfaces

| Interface      | Install                                                                   | Reference                                                                                                                       |
| -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| Python SDK     | `pip install ibee`                                                        | [SDKs](/docs/api-reference/sdk-overview)                                                                                        |
| TypeScript SDK | `npm install ibee-sdk`                                                    | [SDKs](/docs/api-reference/sdk-overview)                                                                                        |
| CLI            | `pip install ibee-cli`                                                    | [CLI](/docs/api-reference/cli)                                                                                                  |
| HTTP           | `curl` and `jq`                                                           | [API Reference](/docs/api-reference)                                                                                            |
| Terraform      | Build from [source](https://github.com/devs-ibee/terraform-provider-ibee) | [Getting started](/docs/api-reference/terraform), [Terraform stacks](https://github.com/devs-ibee/examples/tree/main/terraform) |

Most examples create billable resources and delete them at the end. Set `KEEP=1` to keep what an example creates. Bare Metal Servers, SSH Keys, ISOs, and Email Service are managed in the portal and have no public API yet.