# Node and Relay on the same PC

**URL:** <https://forum.cardano.org/t/node-and-relay-on-the-same-pc/52094>\
**Category:** Setup a Stake Pool\
**Created:** [6 March 2021 01:12 UTC](https://forum.cardano.org/t/node-and-relay-on-the-same-pc/52094 "2021-03-06T01:12:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Henrique\_CaRioCa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/henrique_carioca/32/29230_2.png) [@Henrique\_CaRioCa](https://forum.cardano.org/u/Henrique_CaRioCa)\
**Post date:** [6 March 2021 01:12 UTC](https://forum.cardano.org/t/node-and-relay-on-the-same-pc/52094/1 "2021-03-06T01:12:43Z")

</div>

please help me!

I have an octacore pc with 16 gb of ram !!!is it possible to have a producer node and a relay on this same PC?

I’m at the beginning of this tutorial, it teaches how to make the producer node and the Relay on the same machine?  
[https://cardano-foundation.gitbook.io/stake-pool-course/lessons/introduction](https://cardano-foundation.gitbook.io/stake-pool-course/lessons/introduction)

I have a stable connection of 25 mbps download and 10 mbps upload! to use?

I read that they recommend an internet to be able to transmit or receive 1 GBPS !!, which in my calculations is equivalent to 2.2 mbps! is this right ??

a producer node and a relay uses more download or more upload ??

---

<div class="post-metadata">

**Author:** ![tomdx](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tomdx/32/44498_2.png) [@tomdx](https://forum.cardano.org/u/tomdx)\
**Post date:** [6 March 2021 06:35 UTC](https://forum.cardano.org/t/node-and-relay-on-the-same-pc/52094/2 "2021-03-06T06:35:33Z")

</div>

Sure, you can run the relay and the block producer on the same box as long as the BP is sufficiently isolated at the network level (i.e. not publicly reachable).

Perhaps you’d like to have a look at [docker compose](https://tdiesler.gitbook.io/cardano/v/iohk/docker-compose/cardano-compose). It allows you to spin up both nodes with one command.

```auto
docker-compose -f nix/compose/docker-compose.yaml up --detach

Creating compose_relay ... done
Creating compose_bprod ... done

```

The compose definition that provides the above network isolation is [here](https://github.com/tdiesler/nessus-cardano/blob/master/nix/compose/docker-compose.yaml).

You would not have to build the nodes from source. A topology updater and monitoring is builtin. It works on x86\_64 and arm64.

In case you’re not too familiar with Docker, it may be best to start [here](https://tdiesler.gitbook.io/cardano/v/iohk/plain-docker/running-the-nodes) before adding the orchestration layer with compose.

You can monitor issue [[#2360](https://github.com/input-output-hk/cardano-node/issues/2360)] to track whether and when this tech becomes available upstream.

---

<div class="post-metadata">

**Author:** ![comozo](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/comozo/32/38963_2.png) [@comozo](https://forum.cardano.org/u/comozo)\
**Post date:** [6 March 2021 06:46 UTC](https://forum.cardano.org/t/node-and-relay-on-the-same-pc/52094/3 "2021-03-06T06:46:53Z")

</div>

Wow the docker compose is pretty cool.  
Thanks for sharing

---

<div class="post-metadata">

**Author:** ![tomdx](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/tomdx/32/44498_2.png) [@tomdx](https://forum.cardano.org/u/tomdx)\
**Post date:** [6 March 2021 07:13 UTC](https://forum.cardano.org/t/node-and-relay-on-the-same-pc/52094/4 "2021-03-06T07:13:13Z")

</div>

@comozo UR welcome

---

<div class="post-metadata">

**Author:** ![Henrique\_CaRioCa](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/henrique_carioca/32/29230_2.png) [@Henrique\_CaRioCa](https://forum.cardano.org/u/Henrique_CaRioCa)\
**Post date:** [13 March 2021 19:50 UTC](https://forum.cardano.org/t/node-and-relay-on-the-same-pc/52094/5 "2021-03-13T19:50:29Z")

</div>

Thanks for the answer tomdx !!!

about bandwidth

use more upload or more download?

and the use of 1 GB per hour is constant or is it only at the beginning when downloading the database?

---

<div class="post-metadata">

**Author:** ![ThePoolGuy](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/thepoolguy/32/48307_2.png) [@ThePoolGuy](https://forum.cardano.org/u/ThePoolGuy)\
**Post date:** [14 March 2021 13:25 UTC](https://forum.cardano.org/t/node-and-relay-on-the-same-pc/52094/6 "2021-03-14T13:25:04Z")

</div>

Some pools have links to their monitoring system, showing memory usage, cpu and network usage on their relay nodes and BP nodes and from I’ve seen the network bandwidth looks hardly anything.

Although, I haven’t checked a pool that’s producing blocks. I assume they will be using more bandwidth. I also don’t think its about throughput but more about the quality of the connection, such as delay, jitter etc

ThePoolGuy

---

<div class="post-metadata">

**Author:** ![CRYP70KN19H7](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/cryp70kn19h7/32/59794_2.png) [@CRYP70KN19H7](https://forum.cardano.org/u/CRYP70KN19H7)\
**Post date:** [29 November 2024 03:47 UTC](https://forum.cardano.org/t/node-and-relay-on-the-same-pc/52094/7 "2024-11-29T03:47:45Z")

</div>

I’m looking at installing relay and BP on 2 BEELINK SER 5 mini PCs, running in docker containers in PROXMOX server. The docker compose link (2021) / page is no-longer there and probably outdated anyways. any suggestions for a replacement?
