# Connect internal microservices, queues and workflows without AWS VPCs or Kafka/KEDA ops

Gregale Solutions · Microservices, security & async scale · Updated 2026-11-26

> Run Firecracker-isolated internal services over `.internal` DNS with zero-VPC caller allowlists, atomic release graphs, platform SSRF denylists, static egress IPs, zero-secret API relays, pull-queue workload identity, Kafka-lag scaling and durable workflows.

As backends grow past one service, teams usually get forced into Kubernetes, Istio service meshes, AWS VPC NAT Gateways, KEDA scalers and Temporal clusters just for basic internal reliability and security.

## What breaks vs. how Gregale solves it

| Problem without Gregale | How Gregale solves it |
|---|---|
| Internal service communication demands VPC peering, private hosted zones and manual mTLS certs. | Apps in the same account discover one another via `GREGALE_SERVICE_*_URL` and `.internal` aliases with target caller allowlists enforced before waking targets. |
| Partner IP allowlists or SSRF defense force expensive NAT Gateways and brittle firewall scripts. | Bind static egress IPs per app/region on demand while platform-wide egress denylists block `169.254.169.254`, RFC1918 and SMTP spam ports across every plan. |
| Scaling workers on queue lag or durable workflows means operating KEDA or Temporal. | Autoscale directly from zero on `queue_lag`, custom metrics or cron schedules, use workload-identity queue leases, and write resumable workflows in plain code or YAML. |

## Deep-dive guides

- [Stop microservice version drift with atomic project releases and release graphs](https://gregale.dev/articles/atomic-multi-service-releases.md): Preflight multi-service projects with `gregale deploy check --project`, pin compatible frontend, API, worker and queue versions with `X-Gregale-Release` and `__Host-gregale_release`, and opt into progressive whole-graph canaries.
- [Private service-to-service networking with caller allowlists and no VPC](https://gregale.dev/articles/private-microservice-networking-no-vpc.md): Apps in the same account reach one another privately by name (`GREGALE_SERVICE_*_URL` and `.internal`) with zero VPC setup, while target caller allowlists, path scopes, deadlines and default-deny PR preview rules run at the proxy before waking targets.
- [Static egress IP on scale-to-zero without a NAT Gateway](https://gregale.dev/articles/static-egress-ip-scale-to-zero.md): Bind a dedicated outbound static IP per app and region with `gregale app static-egress-ip set` so banks, payment processors and allowlisted databases see one stable IP even while compute scales to zero.
- [Default SSRF protection with platform egress denylists across every plan](https://gregale.dev/articles/ssrf-protection-egress-denylist-paas.md): Block `169.254.169.254` cloud metadata, RFC1918 private networks, IPv6 NAT64 bypasses, SMTP spam ports, SSH/RDP and mining pools automatically on every Gregale app without extra configuration.
- [Call Stripe, OpenAI and third-party APIs without API keys in your app](https://gregale.dev/articles/zero-secret-outbound-api-relay.md): Gregale outbound integrations (in preview per account on Hobby, Pro and Scale) inject sealed `Authorization` credentials outside your microVM at `$GREGALE_OUTBOUND_URL`, enforcing method/path allowlists, circuit breakers and daily request budgets.
- [Programmable edge rules and replayable trace testing without Nginx or Cloudflare](https://gregale.dev/articles/edge-rules-rate-limiting-trace-testing.md): Block scrapers, rate-limit routes, verify JWTs and validate JSON Schema requests at the gateway without waking idle VMs, then test rule sets deterministically with versioned `gregale edge rule trace` JSON scenarios.
- [Run SQS-style pull queue workers with zero-secret workload identity](https://gregale.dev/articles/pull-queue-workers-workload-identity.md): Long-running workers consume Gregale queues without an HTTP listener using `leases`, `ack`, `nack` and `extend`, preview SDK auto-heartbeating (`consumeQueue`), `queue_depth` autoscaling and `gregale:queues` workload tokens that block staging/preview code.
- [Autoscale containers from zero on Kafka lag, custom metrics and schedules](https://gregale.dev/articles/autoscale-from-zero-kafka-lag-custom-metrics.md): Scale Gregale apps up from zero on upstream Kafka/NATS/SQS `queue_lag`, API-pushed `custom` backlog metrics, or timezone-aware cron warm windows (`scaling.schedules`) with bounded saturation queues—without Kubernetes or KEDA.
- [Write durable workflows that sleep for months without a running VM](https://gregale.dev/articles/durable-code-workflows-scale-to-zero.md): Write durable retries, multi-day sleeps (30 days on Hobby, 90 on Pro, 365 on Scale), and event waits as plain async functions in Node, Python or Go that hold zero running VM while parked (in preview on Hobby and up).
- [Diagnose and recover failed stored workflows and missed schedules safely](https://gregale.dev/articles/stored-workflow-recovery-missed-schedules.md): Inspect failed DAG blockers with `gregale workflow diagnose`, resume mid-run preserving completed steps (`expected_resume_count`, up to 16 resumptions), opt into `catch_up: latest` schedules and run rate-limited recovery batches.
- [A microVM for every app](https://gregale.dev/articles/microvm-isolation.md): Gregale runs every app instance in its own Firecracker microVM, with its own kernel, network namespace, memory limit and jailed process. Your existing Dockerfile works unchanged.

## Documentation

- [Atomic project releases](https://gregale.dev/docs/project-releases.md)
- [Internal services](https://gregale.dev/docs/internal-services.md)
- [Static egress IP](https://gregale.dev/docs/static-egress-ip.md)
- [Blocked outbound destinations](https://gregale.dev/docs/egress-denylist.md)
- [Outbound integrations](https://gregale.dev/docs/outbound-integrations.md)
- [Pull-queue workers](https://gregale.dev/docs/queue-pull-leases.md)
- [Autoscaling policies](https://gregale.dev/docs/scaling-policy.md)
- [Workflow recovery](https://gregale.dev/docs/stored-workflows-recovery.md)

## Questions

### Do I need to configure VPC subnets or security groups for private microservice calls?

No. Private `.internal` routing and `GREGALE_SERVICE_*_URL` injection work across your account on every plan without configuring VPCs, and target caller allowlists plus default-deny PR preview rules run in the proxy before waking target VMs.

### How does Gregale isolate untrusted workloads compared to shared container clouds?

Every app runs in its own Firecracker microVM with an independent guest kernel, memory ceiling and jailed hypervisor boundary—never sharing a host kernel across tenants.

### Can workers authenticate to queues or call Stripe/OpenAI without storing long-lived keys?

Yes. Workers with workload identity (preview) fetch short-lived `gregale:queues` tokens on loopback (and block staging/preview reads against production queues), while outbound integrations (preview) inject sealed `Authorization` headers outside the container at `$GREGALE_OUTBOUND_URL`.

Canonical URL: https://gregale.dev/solutions/multi-service-networking

