pogi
Tutorials

First run

Start pogi, make one call on each cloud and see the calls in the console.

In about five minutes, you'll have pogi running and one call made on each cloud. You need pogi installed: see Install pogi.

1. Start pogi

pogi start

In a terminal, this opens the terminal screen (the TUI). It shows calls, resources, chaos rules and snapshots. Without a terminal, or with --headless, pogi prints plain logs instead. It is ready when the last line says Ready.:

Output
pogi 0.2.0  ·  355 services  ·  data ~/.pogi
  endpoint  http://127.0.0.1:7644
  console   http://127.0.0.1:7644/_pogi/
  env       eval "$(pogi env)"
Ready.

Scripts and CI can run pogi wait, which returns when pogi is ready:

pogi wait
Output
ready: http://localhost:7644

If pogi doesn't start, see Troubleshoot.

2. Point your tools at pogi

Open a second terminal. pogi env prints the settings that point the AWS, Google Cloud and Azure tools at pogi. Load them into your shell:

eval "$(pogi env)"

In fish, run pogi env --shell fish | source. In PowerShell, run pogi env --shell pwsh | Invoke-Expression. Connect your tools covers the other shells.

What pogi env sets:

CloudSettings
AWSAWS_ENDPOINT_URL, and test credentials (the key and secret are both test).
Google CloudSTORAGE_EMULATOR_HOST, PUBSUB_EMULATOR_HOST, FIRESTORE_EMULATOR_HOST, DATASTORE_EMULATOR_HOST, FIREBASE_AUTH_EMULATOR_HOST, and gcloud settings.
AzureThe Storage connection string, and the Cosmos DB and Key Vault settings.

Current AWS SDKs, the AWS CLI, gcloud and the Google Cloud client libraries read these settings.

3. Make a call on each cloud

Do one, two or all three.

AWS

aws s3 mb s3://demo
aws s3 ls
Output
make_bucket: demo
2026-10-23 12:09:49 demo

If you haven't loaded pogi env, run pogi aws s3 ls instead. It runs the AWS CLI with the right settings. You need the AWS CLI installed.

Google Cloud

gcloud pubsub topics create orders
gcloud pubsub topics list
Output
Created topic [projects/pogi/topics/orders].
---
name: projects/pogi/topics/orders
state: ACTIVE

The default Google Cloud project is pogi.

Azure

This stores a secret in Key Vault. pogi serves Key Vault over HTTPS on the main port. --cacert tells curl to trust pogi's own certificate authority (CA).

curl --cacert ~/.pogi/certs/ca.pem -X PUT \
  "https://localhost:7644/secrets/db-password?api-version=7.4" \
  -H "authorization: Bearer x" -H "content-type: application/json" \
  -d '{"value":"hunter2"}'
Response
{"attributes":{"enabled":true,"created":1792737603,"updated":1792737603,"recoveryLevel":"Recoverable+Purgeable","recoverableDays":90},"id":"https://localhost:7644/secrets/db-password/e0c0bceeee12d1f5a50761d397693937","value":"hunter2"}

Run pogi cert to see where the CA file is and how to trust it for your whole system.

Azure Blob, Queue and Table Storage use ports 10000 to 10002, the same as Azurite. The connection string from pogi env already points there.

4. See the calls

pogi logs -n 5
Output
00:59:16.741  aws   s3         CreateBucket                     200     0.1ms
00:59:17.305  aws   s3         ListBuckets                      200     0.2ms
00:59:18.177  gcp   pubsub     CreateTopic                      200     0.8ms
00:59:18.795  gcp   pubsub     ListTopics                       200     0.2ms
00:59:18.943  azure keyvault   SetSecret                        200     0.1ms

List the resources you made:

pogi ls s3
Output
s3 · Buckets (1)
  NAME  REGION     ACCOUNT       OBJECTS  SIZE  VERSIONING  CREATED
  demo  us-east-1  000000000000  0        0 B               2026-10-13 19:29:16

pogi ls shows times in UTC. The AWS CLI and pogi logs show your local time.

5. Open the console

open http://localhost:7644/_pogi/

The web console lists your calls under Activity, in the Requests view.

The pogi console's Activity page, Requests view, with the five calls above: CreateBucket, ListBuckets, CreateTopic, ListTopics and SetSecret

Next steps

On this page