# Run Streamlit remotely with AWS: need to use other systems like nginx?

**URL:** <https://discuss.streamlit.io/t/run-streamlit-remotely-with-aws-need-to-use-other-systems-like-nginx/10400>\
**Category:** Using Streamlit\
**Created:** [March 2, 2021, 7:12pm UTC](https://discuss.streamlit.io/t/run-streamlit-remotely-with-aws-need-to-use-other-systems-like-nginx/10400 "2021-03-02T19:12:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![blob123](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@blob123](https://discuss.streamlit.io/u/blob123)\
**Post date:** [March 2, 2021, 7:12pm UTC](https://discuss.streamlit.io/t/run-streamlit-remotely-with-aws-need-to-use-other-systems-like-nginx/10400/1 "2021-03-02T19:12:21Z")

</div>

Hi all,  
I used an AWS EC2 instance to deploy my Streamlit app … everything is running ok, but I thought this setup was enough to get my app available by anyone.  
I’m wondering whether I have to use other systems like nginx, to get my app publicly available ?

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [March 3, 2021, 7:14pm UTC](https://discuss.streamlit.io/t/run-streamlit-remotely-with-aws-need-to-use-other-systems-like-nginx/10400/2 "2021-03-03T19:14:31Z")

</div>

Hi @blob123 -

You don’t have to use nginx, but it can often make it more convenient. One thing to keep in mind for AWS is that by default, the firewall is set very restrictively so that you don’t accidentally leak your information out. So the first thing I would check here is that port `8501` is open to traffic.

Tools like Apache2 or nginx are helpful if you want to do port forwarding, such as when you want users to be able to come to `domain.com` instead of `domain.com:8501`. But it’s not strictly required.

Best,  
Randy

---

<div class="post-metadata">

**Author:** ![blob123](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@blob123](https://discuss.streamlit.io/u/blob123)\
**Post date:** [March 4, 2021, 7:52am UTC](https://discuss.streamlit.io/t/run-streamlit-remotely-with-aws-need-to-use-other-systems-like-nginx/10400/3 "2021-03-04T07:52:38Z")

</div>

Many thanks Randy for your reply.  
But does it mean I have to make sure the port 8501 is open on any recipient computer ?  
If yes, this seems super inconvenient…

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [March 4, 2021, 4:46pm UTC](https://discuss.streamlit.io/t/run-streamlit-remotely-with-aws-need-to-use-other-systems-like-nginx/10400/4 "2021-03-04T16:46:55Z")

</div>

No, you just need to allow incoming traffic to your server on port 8501.

---

<div class="post-metadata">

**Author:** ![blob123](https://avatars.discourse-cdn.com/v4/letter/b/ecc23a/32.png) [@blob123](https://discuss.streamlit.io/u/blob123)\
**Post date:** [March 4, 2021, 5:55pm UTC](https://discuss.streamlit.io/t/run-streamlit-remotely-with-aws-need-to-use-other-systems-like-nginx/10400/5 "2021-03-04T17:55:24Z")

</div>

> [@blob123](#):
>
> thanks Randy

Thanks so much Randy

---

<div class="post-metadata">

**Author:** ![randyzwitch](https://sea2.discourse-cdn.com/streamlit/user_avatar/discuss.streamlit.io/randyzwitch/32/58772_2.png) [@randyzwitch](https://discuss.streamlit.io/u/randyzwitch)\
**Post date:** [May 13, 2022, 8:56pm UTC](https://discuss.streamlit.io/t/run-streamlit-remotely-with-aws-need-to-use-other-systems-like-nginx/10400/6 "2022-05-13T20:56:14Z")

</div>


