# Questions regarding GatewayST and Integration with Nextcloud

**URL:** <https://forum.storj.io/t/questions-regarding-gatewayst-and-integration-with-nextcloud/21458>\
**Category:** Product Discussions\
**Tags:** nextcloud, s3-gateway\
**Created:** [February 18, 2023, 5:33am UTC](https://forum.storj.io/t/questions-regarding-gatewayst-and-integration-with-nextcloud/21458 "2023-02-18T05:33:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mitexleo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mitexleo/32/1132_2.png) [@mitexleo](https://forum.storj.io/u/mitexleo)\
**Post date:** [February 18, 2023, 5:33am UTC](https://forum.storj.io/t/questions-regarding-gatewayst-and-integration-with-nextcloud/21458/1 "2023-02-18T05:33:28Z")

</div>

Hi,  
I have multiple application running in the same server and I wanna use dedicated bucket for each one of them.

How can I do this with GatewayST (Self hosted S3 Gateway) ?

Another question, Can I use two storj account at the same time ? One for my Mastodon, Pixelfed etc. Public instances and another one for my personal stuff ?

If I wanna use Storj Bucket as a primary storage for nextcloud do I need to run the gateway in website mode ?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 18, 2023, 6:39am UTC](https://forum.storj.io/t/questions-regarding-gatewayst-and-integration-with-nextcloud/21458/2 "2023-02-18T06:39:17Z")

</div>

> [@mitexleo](#):
>
> How can I do this with GatewayST (Self hosted S3 Gateway) ?

the same way - create another bucket and use it. Or may be I do not understand a problem?  
Your Gateway-ST is configured to use an access grant, any access grant allows you to have more than a one bucket. Just all objects will be encrypted with the encryption phrase used in the access grant.

> [@mitexleo](#):
>
> Can I use two storj account at the same time ?

Accordingly [Terms of Service | Storj](https://www.storj.io/terms-of-service#:~:text=(e)%20register%20for%20more%20than%20one%20Account%20per%20Satellite) - No.

> [@mitexleo](#):
>
> If I wanna use Storj Bucket as a primary storage for nextcloud do I need to run the gateway in website mode ?

no, you even can configure Nextcloud to use a native integration instead: [Implementing Nextcloud Using Storj - Storj Docs](https://docs.storj.io/dcs/nextcloud-with-storj-dcs)

---

<div class="post-metadata">

**Author:** ![mitexleo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mitexleo/32/1132_2.png) [@mitexleo](https://forum.storj.io/u/mitexleo)\
**Post date:** [February 18, 2023, 1:29pm UTC](https://forum.storj.io/t/questions-regarding-gatewayst-and-integration-with-nextcloud/21458/3 "2023-02-18T13:29:37Z")

</div>

Thanks…

Could you please tell me what does this mean ? I didn’t see this message before …

 ![SmartSelect_20230218-192834_Vivaldi Browser](https://storj-s3.bcdn.literatehosting.net/original/2X/6/640aaa255a0b88e78a816be23e0a907e738c47d6.jpeg)

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 18, 2023, 1:39pm UTC](https://forum.storj.io/t/questions-regarding-gatewayst-and-integration-with-nextcloud/21458/4 "2023-02-18T13:39:06Z")

</div>

if you run the Gateway-ST in the cloud provider (I.e. Amazon), you will pay for egress traffic from this VM to hundreds nodes across the globe, because it’s an egress traffic for the said provider. And you will pay for egress from the Storj network, when you download.  
The worse case is to have load in one cloud provider, and run Gateway-ST in another - you will pay for egress to your first provider when you upload data (because it’s egress to your second provider), pay for egress to your second provider (because it’s egress outside their network) and pay for egress from Storj when you download your data back, and for egress to your second provider (because it’s now egress to your first provider).

There are exclusions: if you use a [Storj-hosted S3-compatible Gateway](https://docs.storj.io/dcs/api-reference/s3-compatible-gateway) or if you conclude a [partnership with StorjLabs](https://www.storj.io/partners).

---

<div class="post-metadata">

**Author:** ![mitexleo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mitexleo/32/1132_2.png) [@mitexleo](https://forum.storj.io/u/mitexleo)\
**Post date:** [February 19, 2023, 12:33am UTC](https://forum.storj.io/t/questions-regarding-gatewayst-and-integration-with-nextcloud/21458/5 "2023-02-19T00:33:56Z")

</div>

Got it ! I run GatewayST on the same machine.

---

<div class="post-metadata">

**Author:** ![mitexleo](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/mitexleo/32/1132_2.png) [@mitexleo](https://forum.storj.io/u/mitexleo)\
**Post date:** [February 26, 2023, 3:42pm UTC](https://forum.storj.io/t/questions-regarding-gatewayst-and-integration-with-nextcloud/21458/6 "2023-02-26T15:42:25Z")

</div>

Is it possible to use Storj Bucket as primary storage on Nextcloud without setting up GatewayST? I wanna use GatewayMT instead. Do I need any specific setup ?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [February 27, 2023, 2:58am UTC](https://forum.storj.io/t/questions-regarding-gatewayst-and-integration-with-nextcloud/21458/7 "2023-02-27T02:58:15Z")

</div>

Yes, you can use GatewayMT instead - [generate an S3 credentials using the same encryption phrase](https://docs.storj.io/dcs/getting-started/satellite-developer-account/access-grants#q4gYg) and update your config with these credentials and endpoint.
