HomeNetworkLoad BalancersHow to
Set up an S3 failover
Jump toUpdate content

How to set up an S3 failover

Reviewed on 13 November 2023 • Published on 21 February 2022

The S3 failover feature allows you to redirect users to a static website hosted on Scaleway Object Storage, in the case that none of your Load Balancer’s backends are available. This website could be a simple, single webpage or else something much more complex: you build it according to your own requirements. You can set up an S3 failover during creation of your Load Balancer, or at any point after creation.

Security & Identity (IAM):

You may need certain IAM permissions to carry out some actions described on this page. This means:

  • you are the Owner of the Scaleway Organization in which the actions will be carried out, or
  • you are an IAM user of the Organization, with a policy granting you the necessary permission sets
Requirements:

How to activate S3 failover during creation of your Load Balancer

  1. Follow the instructions for creating a Load Balancer.
  2. Click the +Advanced Settings button after step 5 of the creation wizard.
  3. Slide the «Toogle Icon» toggle to activate S3 failover, and enter a Scaleway Object Storage Bucket Website URL in the S3 link box. Note that the URL of the bucket endpoint is not sufficient, the bucket website URL is specifically required (e.g.https://my-bucket.s3-website.nl-ams.scw.cloud).
    Note:

    The S3 failover feature is only available for Load Balancers using the HTTP protocol on their backend.

  4. Click Create a Load Balancer to finish.

How to activate or deactivate S3 failover after creation of your Load Balancer

  1. Click Load Balancers in the Network section of the Scaleway console side menu. The list of your Load Balancers displays.
  2. Click the Load Balancer you wish to set up an S3 failover for. The Load Balancer’s Overview page displays.
  3. Click the Backends tab. The list of your backends displays.
  4. Click the «Edit Icon» icon next to the backend you wish to set up an S3 failover for. A pop-up displays.
  5. Click the + Advanced Settings button.
  6. Slide the «Toogle Icon» toggle to activate or deactivate S3 failover as required.
    Note:

    The S3 failover feature is only available for Load Balancers using the HTTP protocol on their backend.

  7. Enter a Scaleway Object Storage Bucket Website URL in the S3 link box, if activating the feature. Note that the URL of the bucket endpoint is not sufficient, the bucket website URL is specifically required (e.g.https://my-bucket.s3-website.nl-ams.scw.cloud).
  8. Click Edit backend to finish.

How to create a static website for S3 failover

See our dedicated documentation to learn how to create a static website with Scaleway Object Storage.

See Also