# AWX cpu/memory optimization or moving on from docker-compose to  openshift

**URL:** <https://forum.ansible.com/t/awx-cpu-memory-optimization-or-moving-on-from-docker-compose-to-openshift/38348>\
**Category:** AWX Project\
**Tags:** windows, awx\
**Created:** [August 17, 2023, 6:56pm UTC](https://forum.ansible.com/t/awx-cpu-memory-optimization-or-moving-on-from-docker-compose-to-openshift/38348 "2023-08-17T18:56:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hulya\_kayikci1](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@hulya\_kayikci1](https://forum.ansible.com/u/hulya_kayikci1)\
**Post date:** [August 17, 2023, 6:56pm UTC](https://forum.ansible.com/t/awx-cpu-memory-optimization-or-moving-on-from-docker-compose-to-openshift/38348/1 "2023-08-17T18:56:00Z")

</div>

Hello,

AWX version 21.6.0 is running on our virtual redhat 8 server.  
It provides service through 4 containers built with docker-compose.  
We want to stand up this environment completely in our openshift environment.  
We want to run jobs on more than 200 servers at the same time, but the resources in our current AWX are not enough, sometimes our jobs are pending.

We want to move to openshift to eliminate these problems or can you give us suggestions about docker-compose resource utilization?

Thanks a lot in advance for your help.

[Translated with DeepL](https://www.deepl.com/translator?utm_source=windows&utm_medium=app&utm_campaign=windows-share)

---

<div class="post-metadata">

**Author:** ![golakiyaalice](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/golakiyaalice/32/1046_2.png) [@golakiyaalice](https://forum.ansible.com/u/golakiyaalice)\
**Post date:** [August 18, 2023, 3:40am UTC](https://forum.ansible.com/t/awx-cpu-memory-optimization-or-moving-on-from-docker-compose-to-openshift/38348/2 "2023-08-18T03:40:29Z")

</div>

Spin up multiple AWX task containers.

---

<div class="post-metadata">

**Author:** ![hulya\_kayikci1](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@hulya\_kayikci1](https://forum.ansible.com/u/hulya_kayikci1)\
**Post date:** [August 18, 2023, 6:21am UTC](https://forum.ansible.com/t/awx-cpu-memory-optimization-or-moving-on-from-docker-compose-to-openshift/38348/3 "2023-08-18T06:21:46Z")

</div>

Hi ,

Hello,

How do I add a container for an already running service?  
I also want to move our environment to openshift, how should I design in openshift environment for best practice usage, is there any sample usage?

Thanks for your help.

BR  
Hulya

---

<div class="post-metadata">

**Author:** ![hulya\_kayikci1](https://avatars.discourse-cdn.com/v4/letter/h/3ab097/32.png) [@hulya\_kayikci1](https://forum.ansible.com/u/hulya_kayikci1)\
**Post date:** [August 18, 2023, 1:44pm UTC](https://forum.ansible.com/t/awx-cpu-memory-optimization-or-moving-on-from-docker-compose-to-openshift/38348/4 "2023-08-18T13:44:31Z")

</div>

Hi ,

Can you help us ?

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [August 25, 2023, 5:08pm UTC](https://forum.ansible.com/t/awx-cpu-memory-optimization-or-moving-on-from-docker-compose-to-openshift/38348/5 "2023-08-25T17:08:09Z")

</div>

Hi!

The only supported deployment for production is on openshift/kubernetes, deployed via the awx operator. Docker-compose is really intended for development purposes. Using the operator, you can easily scale up the web and task pods to meet your needs. You can also utilize remote execution nodes to further expand your playbook running capacity.

see this readme for deploying awx via operator [https://github.com/ansible/awx-operator#install-and-configuration](https://github.com/ansible/awx-operator#install-and-configuration)

AWX Team
