---
domain: "digitalmarketplace.service.gov.uk"
maintenance_mode: live
instances: 5

router:
  instances: 3
  rate_limiting_enabled: enabled
  routes:
    - dm-router-{env}.cloudapps.digital
    - dm-router-{env}.cloudapps.digital/_metrics
    - www.digitalmarketplace.service.gov.uk
    - api.digitalmarketplace.service.gov.uk
    - search-api.digitalmarketplace.service.gov.uk
    - antivirus-api.digitalmarketplace.service.gov.uk
    - assets.digitalmarketplace.service.gov.uk

api:
  memory: 2GB
  instances: 8

user-frontend:
  instances: 2

admin-frontend:
  instances: 2
  memory: 1GB

antivirus-api:
  instances: 4

buyer-frontend:
  memory: 1G

search-api:
  memory: 1G

supplier-frontend:
  instances: 8
  memory: 2GB

---
domain: "digitalmarketplace.service.gov.uk"
maintenance_mode: live
instances: 5

router:
  instances: 3
  rate_limiting_enabled: enabled
  routes:
    - dm-router-{env}.cloudapps.digital
    - dm-router-{env}.cloudapps.digital/_metrics
    - www.digitalmarketplace.service.gov.uk
    - api.digitalmarketplace.service.gov.uk
    - search-api.digitalmarketplace.service.gov.uk
    - antivirus-api.digitalmarketplace.service.gov.uk
    - assets.digitalmarketplace.service.gov.uk

api:
  memory: 2GB
  instances: 8

user-frontend:
  instances: 2

admin-frontend:
  instances: 2
  memory: 1GB

antivirus-api:
  instances: 4

buyer-frontend:
  instances: 8
  memory: 1G

search-api:
  instances: 8
  memory: 1G

supplier-frontend:
  instances: 8
  memory: 2GB

Scale app servers for G12
Scale app servers for G12

- We had more crashes of buyerFE and searchAPI, despite the traffic hasn’t really been ramping up. So it seems the strategy of scaling up servers is not very effective (at least for those apps). Let’s try scaling out.
- See https://trello.com/c/cfMyItQs

Signed-off-by: Paula Valenca <3888b8beb24542cff0f1226ced951cefd1d4e0ba@digital.cabinet-office.gov.uk>
