Multiple App Services Per Cluster?

The Capella docs state:

  1. Each Cluster can have only a single App Service linked to it.
  2. Each App Service is linked to a single bucket and scope, neither of which can be changed after the App Service is created.

Problem

As a result of this, I can’t see how scopes are of any use. I’m building a Mac app that is backed by Capella and I originally planned to have a Cluster with a single bucket that contained two scopes:

  1. Production
  2. Training

The “training” scope would be for my client to use as a “scratch-pad” so that they could onboard new employees and let them learn the app without touching live, production data.

I planned to use one App Service for the Production scope and another for the Training scope (since each App Service can link to only one scope). But it appears this can’t be done; I’d have to spin up an entirely separate cluster?

Why can’t a single Cluster work with multiple App Services? I can see why a single Bucket or Scope must be linked to only one App Service, but why can’t the Cluster be linked to multiple App Services if each one targets a different Scope or Bucket?

TLDR:

If you need to use an App Service, there doesn’t seem to be much of a point to having Buckets or Scopes at all.

I think you’re confusing App Service and App Endpoint. App Endpoint are tied to a single bucket and scope, but you can have multiple App Endpoint for a single App Service.

If the documentation does state:

Each App Service is linked to a single bucket and scope, neither of which can be changed after the App Service is created.

Then that should be corrected. Can you please point to where this is stated in the docs?

1 Like

Ah, I see. So the endpoint can connect to a different scope in the same bucket that another endpoint is also using? That’ll work!

The docs I referenced show up while creating an App Service. There’s a small warning paragraph that says a Cluster can have only one linked App Service. The “can’t change linked bucket and scope” warning likewise appears while creating the endpoint, I believe. (I’d post screenshots, but I can’t currently create new App Services or Endpoints because we’re still developing on the free tier, so the option to create a second instance is not available.)