Service settings
api-gatewaypayments-coreChanges apply on the next deploy
Source
Where the service is built from and how it starts.
Used in URLs, logs and the CLI.
Pushes to the production branch deploy automatically.
Relative to the repository root.
Regions and scaling
Instances run in every selected region.
Volumes and the cron runner live here.
Currently 3 in iad1 and 3 in fra1.
Add an instance when CPU stays above 70% for 2 minutes.
Stop instances after 10 minutes without requests. Not for public APIs.
Health checks
New instances take traffic only after they pass.
What happens when the process exits.
Notifications
Sent to #payments-oncall in Slack and to PagerDuty for firing alerts.
For alerts marked critical.
Danger zone
These act on production immediately.
Stops all 6 instances. Requests to api.ledgerline.com return 503 until resumed.
Removes api-gateway, its 214 deployments and its variables. Volumes are kept for 7 days.