Provision a Service
A 5-step recipe with Fastly. We can help you get access.
Recipe · 5 steps
Provision a Service
with Fastly
Stand up a new Fastly VCL service end to end and activate it.
- Create the new VCL service that will hold the configuration.
- Open a new draft version on the freshly created service.
- Attach an origin backend to the draft version.
- Associate the public domain with the draft version.
- Activate the draft version so the configuration goes live.
What you'll need to have ready
- apiToken: The Fastly API token used to authenticate requests.
- serviceName: The name for the new service.
- serviceComment: An optional comment describing the service.
- backendAddress: The hostname or IP address of the origin backend.
- backendName: A name for the backend (defaults to the address if omitted).
- domainName: The public domain name to associate with the service.
For your developer
Arazzo workflow fastly:provision-service, 5 operations: createService → createServiceVersion → createBackend → createDomain → activateServiceVersion. Specs on APIs.io.