# Move devices from OpenBalena to BalenaCloud

**URL:** <https://forums.balena.io/t/move-devices-from-openbalena-to-balenacloud/256342>\
**Category:** Product support\
**Tags:** raspberrypi4\
**Created:** [February 16, 2021, 12:50am UTC](https://forums.balena.io/t/move-devices-from-openbalena-to-balenacloud/256342 "2021-02-16T00:50:36Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![n42](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/n42/32/5009_2.png) [@n42](https://forums.balena.io/u/n42)\
**Post date:** [February 16, 2021, 12:50am UTC](https://forums.balena.io/t/move-devices-from-openbalena-to-balenacloud/256342/1 "2021-02-16T00:50:36Z")

</div>

Hi,

We are currently using OpenBalena and testing BalenaCloud.

We would like to understand how we can move our existing devices from OpenBalena to BalenaCloud. All of the devices are using the production version of the RPi4 image.

Older posts claim the only way to move is by logging into the CLI and replacing the config.json.

Is this still the only way to do it? (it sounds very ‘manual’ and risky)  
Or is there a new better way to do it?

Thanks!

---

<div class="post-metadata">

**Author:** ![Jazzagi](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@Jazzagi](https://forums.balena.io/u/Jazzagi)\
**Post date:** [February 16, 2021, 12:47pm UTC](https://forums.balena.io/t/move-devices-from-openbalena-to-balenacloud/256342/4 "2021-02-16T12:47:53Z")

</div>

Hi Rani

Thanks for your message. You can move a device from Openbalena to balenaCloud using `balena leave` and `balena join`, you can find instructions in our docs [here](https://www.balena.io/docs/reference/balena-cli/#join-deviceiporhostname).

Hope the testing is going well, let us know if we can assist with anything else.

Best,  
Jasmine

---

<div class="post-metadata">

**Author:** ![n42](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/n42/32/5009_2.png) [@n42](https://forums.balena.io/u/n42)\
**Post date:** [February 16, 2021, 8:13pm UTC](https://forums.balena.io/t/move-devices-from-openbalena-to-balenacloud/256342/6 "2021-02-16T20:13:53Z")

</div>

Just wanted to make sure I understand this correctly.

From older forum posts my understanding is that balena leave/join is only possible on development images.

Does it now also work on production images of balena or still only on dev images?

Thanks 😉

---

<div class="post-metadata">

**Author:** ![andrewnhem](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/andrewnhem/32/4284_2.png) [@andrewnhem](https://forums.balena.io/u/andrewnhem)\
**Post date:** [February 16, 2021, 8:33pm UTC](https://forums.balena.io/t/move-devices-from-openbalena-to-balenacloud/256342/7 "2021-02-16T20:33:40Z")

</div>

Great question! It depends.

Using join on a dev image will connect it to your balenaCloud dashboard under the application you specify. For leave you just specify the device IP address.

For production devices, you need to inject your SSH key into it first. Use [these instructions to do so](https://www.balena.io/docs/learn/manage/ssh-access/#using-balena-ssh-from-the-cli).
