user5126: I want to start a relay node not run the full cardano node.
There doesn't seem to be any tutorials for starting a relay node.
Anyone know how can i just a lightweight relay node so that I can run cardano-cli queries ?
Please note i only have 8 GB memory in docker so I can't afford to run a full node using docker or AWS/Google because they will cost a lot.
Thanks

user115: As the other answer says there is no real difference, a cardano-node is just configured to become a relay, its the same thing underneath.
If you build cardano-node from source, then you can control the number of threads used to compile with the standard -j flag, -j8 being 8 cores, more cores = more RAM needed.  https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/install.md/
Still, actually running cardano-node on 8GB might be a bit too small, RAM optimizations are coming.

user382: A relay is a full node. I thibk what you're asking is how can I have a light wallet like experience with cardano-cli and the answer to that is you can't; however you can use something like blockfrost API to get the same type of information cardano-cli can provide.

5126: <p>I want to start a relay node not run the full cardano node.</p>
<p>There doesn't seem to be any tutorials for starting a relay node.</p>
<p>Anyone know how can i just a lightweight relay node so that I can run cardano-cli queries ?</p>
<p>Please note i only have 8 GB memory in docker so I can't afford to run a full node using docker or AWS/Google because they will cost a lot.</p>
<p>Thanks</p>
 115: <p>As the other answer says there is no real difference, a cardano-node is just configured to become a relay, its the same thing underneath.</p>
<p>If you build cardano-node from source, then you can control the number of threads used to compile with the standard -j flag, -j8 being 8 cores, more cores = more RAM needed.  <a href="https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/install.md/" rel="nofollow noreferrer">https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/install.md/</a></p>
<p>Still, actually running cardano-node on 8GB might be a bit too small, RAM optimizations are coming.</p>
 382: <p>A relay is a full node. I thibk what you're asking is how can I have a light wallet like experience with cardano-cli and the answer to that is you can't; however you can use something like blockfrost API to get the same type of information cardano-cli can provide.</p>
