Yeeted

HOSTING FOR AI-BUILT APPS

Prove a build can reach www.google.com on Yeeted

One Dockerfile, one fetch, one question: can this deployment's build reach an external website? The build itself is the test - probe.py runs during docker build, fetches https://www.google.com, and the build fails if the fetch cannot leave. A deployment that succeeds has already proven the route before the app ever starts.

This is the allowed half of the egress pair. Its sibling, egress-denied, proves a running app cannot reach the same site without a declaration. Together they check both sides of the platform's network promise: declared external access can work, and the default is no external network.

What it does

The network_access section

The declaration follows the platform's yeeted.yaml network access spec:

network_access:
  justification: "..."
  use_case: "..."
  requested_until: "2027-06-30T00:00:00Z"
  destinations:
    - domain: www.google.com
      protocol: https
      ports: [443]
      profile: opaque_endpoint
  expected_usage:
    business_requests_per_day: 100
    bytes_per_day: 10000000

Rules worth knowing, all enforced at deploy:

Run locally

From python/egress-allowed:

docker build -t egress-allowed . && docker run -p 8080:8080 egress-allowed

Open http://localhost:8080/egress. Your laptop has internet, so the build probe succeeds - locally the example mostly proves the plumbing works.

Deploy and verify

Follow the deployment walkthrough. Deploy this folder. The build runs the probe; a failed fetch fails the build with the probe's error in the build log.

sh smoke.sh "$PREVIEW_URL"

The script checks the served record: the build-phase fetch succeeded and the target is https://www.google.com.

Endpoints

Caveats