LOG IN SIGN UP
Documentation

Working with services

The Fastly web interface allows you to create new services or edit existing ones and then activate your changes once you have things configured. The web interface also allows you to do other things with existing services, like rename them, compare them to each other, deactivate or reactivate them, and delete them.

Creating a new service

To create a new service, follow the steps below:

  1. Log in to the Fastly web interface and click the Configure link.
  2. Click the Options button to open the Manage service menu and select Create. The Create a new service page appears.

    the Create a new service page

  3. Fill out the Create a new service page as follows:

    • In the Server address and port field, type the IP address (or hostname) and port number (usually 80) for your website's server.
    • In the Domain name field, type the domain name of your website. We need this information to properly route requests to your website.
    • In the Description field, type a human-readable description for the new service. You can change this description at any time.
  4. Click the Create button. The new service appears in the list of services available.

Editing and activating versions of services

Fastly locks versions of services you've already activated to make rollbacks safer and provide version control. You can duplicate ("clone") any existing service version, active or inactive, and edit that cloned version. You must "activate" new versions of services in order to deploy their configurations. Configuration changes are never automatically activated.

To make changes to a service and activate a new version, follow the steps below:

  1. Log in to the Fastly web interface and click the Configure link. The Configure page appears.

    The Configure page

  2. Click the Edit Configuration button. You can select Clone active to clone the active version of the service for editing, or you can select Edit latest to edit the latest draft of the service.

    The Edit Configuration button

    The service version page appears.

    Activate service

  3. Click Activate. The new version of the service is activated.

Other things you can do with services

In addition to creating or editing services, you can rename them, compare versions of them, deactivate or reactivate specific version of them, and delete them.

Renaming services

To rename your service, follow the steps below:

  1. Log in to the Fastly web interface and click the Configure link.
  2. From the service menu, select the appropriate service.
  3. Click the Options button to open the Manage service menu and select Rename.

    renaming a service

    The Rename your service pane appears.

    an editable service name

  4. Type the new service name and then click Rename. The new service name appears.

Comparing different service versions

To compare two versions of a service, follow the steps below:

  1. Log in to the Fastly web interface and click the Configure link.
  2. From the service menu, select the appropriate service.
  3. Click the Options button to open the Manage service menu and select Diff versions.

    selecting Diff versions from the Manage Service menu

    The Diff versions page appears. Removals are highlighted in red with a minus sign at the beginning of the line. Additions are highlighted in green with a plus sign at the beginning of the line.

    an example comparison of two service versions

You can change the compared service versions by selecting a different version number in the selection menus.

Deactivating a service

To deactivate a service, follow the steps below:

  1. Log in to the Fastly web interface and click the Configure link.
  2. From the service menu, select the appropriate service.
  3. Click the Options button to open the Manage service menu and select Deactivate.

    deactivate a service

You can also activate or deactivate a service via the API. Did you accidentally delete a service? We can help.

Reactivating a service

To reactivate a service, follow the steps below:

  1. Log in to the Fastly web interface and click the Configure link.
  2. From the service menu, select the appropriate service.
  3. Click the Edit configuration button and then select Clone active. The service version page appears.
  4. Click Activate. The service is reactivated.

Deleting a service

Fastly allows you to delete any service you create, along with all of its versions. Fastly does not offer a way to delete specific versions of a service, however. Service versions are meant to be an historic log of the changes that were made to a service. To undo changes introduced by a particular service version, you can always go back to a previous version and reactivate it or clone a new service version based on any old version.

To delete any service along with all of its versions, follow the steps below:

  1. Log in to the Fastly web interface and click the Configure link.
  2. From the service menu, select the appropriate service.
  3. Click the Edit configuration button and then select Clone active. The Domains page appears.
  4. In the Domains area, delete each domain associated with this service (you'll be asked to confirm each deletion).

  5. Click the Configure link at the top of the window.

  6. Click the Options button to open the Manage service menu and select Deactivate.

    deactivate a service

    The deactivate service warning appears.

    the Deactivate Service warning

  7. Click the Confirm and deactivate button to confirm you want to deactivate your service and acknowledge that you no longer want to serve traffic with it.

  8. Click the Options button again to open the Manage service menu and select Delete.

    delete a service

    The confirm delete window appears.

    the Confirm Delete window

  9. Click the Confirm and delete button to confirm that you want to delete the service.

Getting help with accidental service deletions

Services can be deactivated or deleted. Deactivated services can be reactivated at any time, but once they've been deleted you must contact Customer Support to have them restored. When sending your request, remember to include:

Customer Support will notify you when your service has been restored.


Back to Top