Overcast is alpha — behaviour and APIs may change between releases. Pin your version and read the changelog before upgrading.

overcast

Networking and host-based addressing

One port, one process, and one question: what name does a caller use, and does that name resolve for them? The landing page for hostnames, VPC networks and egress.

Overcast listens on a single port (default 4566) and dispatches every request to the same process, whichever service it is for. Everything here follows from one question: what name does a caller use, and does that name resolve for them?

PageAnswers
Host-routed addressingWhich subdomain forms route where: API Gateway, Lambda URL, AppSync and S3 hostnames
Hostnames that resolve for every callerA name that will not resolve, or resolves from your shell but not from a container
What host and port a URL carriesA port that differs depending on who asks
Data-plane endpointsAn RDS, Aurora or ElastiCache endpoint that will not connect
The Docker networks Overcast usesThe data plane, the control plane, the per-VPC bridges, and how to join them
How a VPC is backed by a Docker networkThe bridge behind a VPC, what an internet gateway does to it, and overlapping CIDRs
Egress modesWhether a container reaches the internet: open, none, and what each isolates
routed: egress from your route tablesPer-subnet egress, and the address pool it draws on
Lambda, ECS and VPCsA Lambda that cannot reach a database, and what a VpcConfig takes away
Network state verificationA Docker network that is not as you configured it, and what overcast network reset does
Networking troubleshootingSomething failing right now: symptom, cause and fix

Three settings decide almost all of it:

SettingDefaultDecides
OVERCAST_HOSTNAMEthe host you called Overcast onthe name in every URL Overcast hands out. Set it to localhost.overcast.sh and one URL works from your shell and from inside a container
OVERCAST_NETWORKovercastthe Docker network resources reach each other on
OVERCAST_VPC_EGRESSopenwhether the containers Overcast starts reach anything outside your machine