# How to do run two okteto services with one \`okteto up\`?

**URL:** <https://community.okteto.com/t/how-to-do-run-two-okteto-services-with-one-okteto-up/890>\
**Category:** Not sure?\
**Created:** [June 24, 2023, 10:42pm UTC](https://community.okteto.com/t/how-to-do-run-two-okteto-services-with-one-okteto-up/890 "2023-06-24T22:42:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![seunggs](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/seunggs/32/267_2.png) [@seunggs](https://community.okteto.com/u/seunggs)\
**Post date:** [June 24, 2023, 10:42pm UTC](https://community.okteto.com/t/how-to-do-run-two-okteto-services-with-one-okteto-up/890/1 "2023-06-24T22:42:59Z")

</div>

Hi,

I have a local setup that requires running one node server and one python server - both of which need to be running at the same time:

```auto
context: aws
namespace: 8ba01b75-0228-432c-8ed1-9fc3429fe3af
dev:
  user-machine-node-svc:
    ...
  user-machine-python-svc:
    ...

```

When I do `okteto up`, it makes me choose which service to run. Can I use one `okteto up` to run both services at the same time or do I need two terminals open to run each service separately?

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![borja](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/borja/32/14_2.png) [@borja](https://community.okteto.com/u/borja)\
**Post date:** [June 26, 2023, 6:14am UTC](https://community.okteto.com/t/how-to-do-run-two-okteto-services-with-one-okteto-up/890/2 "2023-06-26T06:14:30Z")

</div>

Hi, @seunggs!

The `okteto up` command it’s individual per deployment, so you need to run it once per service in parallel.

Reference: [Okteto CLI | Okteto Documentation](https://www.okteto.com/docs/reference/cli/#up)

---

<div class="post-metadata">

**Author:** ![seunggs](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/seunggs/32/267_2.png) [@seunggs](https://community.okteto.com/u/seunggs)\
**Post date:** [June 27, 2023, 2:29am UTC](https://community.okteto.com/t/how-to-do-run-two-okteto-services-with-one-okteto-up/890/3 "2023-06-27T02:29:07Z")

</div>

I see - ok, got it thank you!

---

<div class="post-metadata">

**Author:** ![\_DT](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/_dt/32/62_2.png) [@\_DT](https://community.okteto.com/u/_DT)\
**Post date:** [June 28, 2023, 8:55pm UTC](https://community.okteto.com/t/how-to-do-run-two-okteto-services-with-one-okteto-up/890/4 "2023-06-28T20:55:11Z")

</div>

Hi @seunggs -

In addition, in the “dev:” block of your okteto.yaml file, there is “dev:\< service \>:command” where you specify what gets launched when you do `$ okteto up`. In our docs there are 2 examples on top of each other (link below). The API service just launches a shell in the remote container (for manual intervention or starting the service by hand) while the FRONTEND service launches the runtime automatically. One thing I’ve seen on that FRONTEND example is adding flags or specifying override config files that enable things like remote debugging or hot-reloading, etc. Things that are useful when the service is in “development” mode. Hope this helps. Happy Coding!

> **[Okteto Manifest | Okteto Documentation](https://www.okteto.com/docs/reference/manifest/#dev-object-optional)**
>
> Okteto's manifest for describing development environments
