Deploy a game server
edgegap_deployLaunch a containerized game server near player locations and get a request ID. Pair with wait-for-deployment for connection details, and stop test instances after verifying.
Instructions
Start one containerized instance of an application version, placed near the players you specify. Returns immediately with a request_id; the server is still starting and has no connection details yet. Follow this call with edgegap_wait_for_deployment to get the address players connect to. Always stop deployments you started for testing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No | Environment variables for this deployment only. | |
| tags | No | Tags for filtering later, e.g. ["agent-test"]. Recommended. | |
| users | Yes | Where the players are. Exactly one of these two is required. | |
| version | Yes | Version name within the application. | |
| cpu_units | No | Override the version CPU. | |
| memory_mb | No | Override the version memory. | |
| application | Yes | Application name. |