# AWS S3 complication

**URL:** <https://forum.rasa.com/t/aws-s3-complication/31736>\
**Category:** Rasa Open Source\
**Created:** [July 23, 2020, 2:32pm UTC](https://forum.rasa.com/t/aws-s3-complication/31736 "2020-07-23T14:32:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kchahid](https://avatars.discourse-cdn.com/v4/letter/k/ac8455/32.png) [@kchahid](https://forum.rasa.com/u/kchahid)\
**Post date:** [July 23, 2020, 2:32pm UTC](https://forum.rasa.com/t/aws-s3-complication/31736/1 "2020-07-23T14:32:04Z")

</div>

Hello all, so i have deploy a model in s3 aws when i use the api and train a model, i can’t save it in s3 but the path of the new model is /tmp/xxxx/nlu-xxxx ? any help to save model in s3 after train the model with api rasa ?

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [July 25, 2020, 4:35am UTC](https://forum.rasa.com/t/aws-s3-complication/31736/2 "2020-07-25T04:35:22Z")

</div>

Hi Kamal,

The `rasa train` command cannot write to S3. You would have to use the S3 api or cli to move a model to an S3 bucket.

Greg

---

<div class="post-metadata">

**Author:** ![kchahid](https://avatars.discourse-cdn.com/v4/letter/k/ac8455/32.png) [@kchahid](https://forum.rasa.com/u/kchahid)\
**Post date:** [July 25, 2020, 4:32pm UTC](https://forum.rasa.com/t/aws-s3-complication/31736/3 "2020-07-25T16:32:43Z")

</div>

ok i see thank s a lot but can u do it from the config file ? like add config about where the model will be stored ? like stroage: aws ? or think like that ? i have already save the model in local and use sdk aws to put model in s3 but i wanna do it directly with rasa ? i just wanna know if it s possible or not @stephens

---

<div class="post-metadata">

**Author:** ![kchahid](https://avatars.discourse-cdn.com/v4/letter/k/ac8455/32.png) [@kchahid](https://forum.rasa.com/u/kchahid)\
**Post date:** [July 25, 2020, 4:33pm UTC](https://forum.rasa.com/t/aws-s3-complication/31736/4 "2020-07-25T16:33:29Z")

</div>

i use api rasa and not the line command for training

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [July 26, 2020, 5:46am UTC](https://forum.rasa.com/t/aws-s3-complication/31736/5 "2020-07-26T05:46:25Z")

</div>

You can read the model from S3 using the `--remote-storage aws` option along with setting the related environment variables shown [here](https://rasa.com/docs/rasa/user-guide/cloud-storage/#id1)
