# Configure/scale service cpu/memory differently between racks

**URL:** <https://community.convox.com/t/configure-scale-service-cpu-memory-differently-between-racks/819>\
**Category:** Rack (Version 3)\
**Created:** [June 29, 2021, 11:49am UTC](https://community.convox.com/t/configure-scale-service-cpu-memory-differently-between-racks/819 "2021-06-29T11:49:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhys](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.convox.com/rhys/32/136_2.png) [@rhys](https://community.convox.com/u/rhys)\
**Post date:** [June 29, 2021, 11:49am UTC](https://community.convox.com/t/configure-scale-service-cpu-memory-differently-between-racks/819/1 "2021-06-29T11:49:50Z")

</div>

Hello,

I want to change my services memory/cpu allocation between racks (i.e staging and prod). I have tried scaling like so:

```auto
convox scale backend --cpu=1024

```

But this doesn’t change the output when I run `convox scale`.

I have also tried setting environment variables and using them in the convox.yml like so, but with no success.

```auto
...
environment:
  FRONTEND_CPU=256
  FRONTEND_MEMORY=256
...
    scale:
      cpu: ${FAKTORY_CPU}
      memory: ${FAKTORY_MEMORY}

```

Is there a way to have different memory/cpu scaling between racks?
