About services

A Fastly service is a user-defined set of caching rules and behaviors for a website or application. You might create new Fastly services to do things like:

  • add a new website under your control to your list of web properties
  • add a new domain to your growing list of existing domains already served by Fastly
  • isolate traffic metrics for specific digital assets, like a site's images

Every service tied to your account contains a unique ID that appears next to the name of your service on any page.

the location of the service ID

Once created, you can edit and activate new versions of your Fastly services that include refinements and updates to your configurations. The web interface also allows you to do other things with existing Fastly services, like compare them to each other, deactivate or reactivate them, and delete them.

Before you begin

Before you begin working with Fastly services, be sure you understand how caching and CDNs work. You'll also need to understand the Fastly web interface controls before using them to work with your Fastly services.

Understanding Fastly services and versions

When you create a service, before it will do anything, you need to configure it. This configuration will tell Fastly how to handle traffic through your service. Officially, a configuration for a service is called a version of that service. You'll notice that your new service has a single, initial version (all new services start their existence this way). The initial version of a service is an inactive blank slate, waiting for you to configure and activate it. Once you activate your first version, your service will begin handling traffic according to your configurations.

Your service can have many versions. Each version has its own status:

  • Draft is the status that every version starts with when it's first created. This status indicates that the version hasn't been activated and is still being edited. Only versions with draft status can be edited.
  • Active is the status displayed by a version after you activate it. When you activate a version, you are telling Fastly to use that configuration for your service's traffic. Only one version of a service can be active at a time. Once a service becomes active, it also becomes locked, so it can no longer be edited, only deactivated or reactivated.
  • Locked is the status displayed by a version after you deactivate it. This status primarily indicates that a version can't be edited. Active versions are also locked automatically when they first become active, but they display as active, not as locked.

Eventually, your service will probably have more versions displaying the locked status than any other. At some point, you may decide that one of these locked versions has a configuration you prefer to what is currently active. In that case, you can simply reactivate that version. Or, if some aspects of that version aren't viable anymore, you can clone it and make changes to the clone, which will have the draft status. Fastly maintains a complete record of the version history of your service to ensure that you can always roll a service back to any version.

Service creation limits

  • Accounts are limited to a set number of services. We set a limit on the number of services you can create per account by default based on your account type and any packaged offering you've purchased. Reach out to sales@fastly.com for details on how to increase this limit.
  • Each service is limited to a set number of domains. We set a limit on the number of domains you can create per service by default based on your account type and any packaged offering you've purchased. However, if you contact support, we may be able to adjust this number for you by working with you to set up and fine-tune domain handling in your service.

What's next

Once you understand how services and versions work and their limits, create your first CDN service or Compute service.

Was this guide helpful?

Do not use this form to send sensitive information. If you need assistance, contact support. This form is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.