# Using AWS S3 as the registry storage for OpenBalena

**URL:** <https://forums.balena.io/t/using-aws-s3-as-the-registry-storage-for-openbalena/265674>\
**Category:** openBalena\
**Created:** [March 3, 2021, 9:38pm UTC](https://forums.balena.io/t/using-aws-s3-as-the-registry-storage-for-openbalena/265674 "2021-03-03T21:38:09Z")\
**Posts on this page:** 1\
**Showing post:** 38

<div class="post-metadata">

**Author:** ![fisehara](https://sea2.discourse-cdn.com/balena/user_avatar/forums.balena.io/fisehara/32/6290_2.png) [@fisehara](https://forums.balena.io/u/fisehara)\
**Post date:** [August 11, 2022, 4:48pm UTC](https://forums.balena.io/t/using-aws-s3-as-the-registry-storage-for-openbalena/265674/38 "2022-08-11T16:48:24Z")

</div>

Hello @embewe,

First of all, welcome to the balena forums!

As I understand the solution, a miss configured environment was causing the problem.  
The environment for OPENBALENA\_S3\_BUCKETS and OPENBALENA\_REGISTRY2\_S3\_BUCKET needs to be set. I’m linking you the respective code location here  
[open-balena/make-env at 4a0f9c9db15888b90660a66b58acf6f82124f859 · balena-io/open-balena · GitHub](https://github.com/balena-io/open-balena/blob/4a0f9c9db15888b90660a66b58acf6f82124f859/scripts/make-env#L51) and here [open-balena/make-env at 4a0f9c9db15888b90660a66b58acf6f82124f859 · balena-io/open-balena · GitHub](https://github.com/balena-io/open-balena/blob/4a0f9c9db15888b90660a66b58acf6f82124f859/scripts/make-env#L69)

Please also double check with this forums thread: [Configure to use AWS S3 and RDS](https://forums.balena.io/t/configure-to-use-aws-s3-and-rds/32030)

Can you also please share more details about the issue that you’re facing?  
Runtime logs of the open-balena-api as mentioned `docker exec -it <name or ID> journalctl -u open-balena-api -f`

Have you double checked that you have set all environment variables to use AWS S3 from the open-balena deployment?

Thanks for sharing more details and best regards  
Harald

---

_[View the full topic](https://forums.balena.io/t/using-aws-s3-as-the-registry-storage-for-openbalena/265674)._
