Hi, I’m new to StreamLit. I have created a basic app to read and update data from a RedShift table using StreamLit and data_editor. I want to host this app on AWS Amplify for internal users to use.
I tried zipping the app.py file and requirements.txt file into a zip, and tried hosting it on AWS Amplify using manual deployment. The deployment is successful and it creates a domain, however when I click on the domain link, it says “This site can’t be reached - DNS_PROBE_FINISHED_NXDOMAIN”
What am I missing here? Any leads would be appreciated. Thank you!
It seems to be a DNS issue on the cloud server. I would recommend to dive into the AWS Amplify documentation (https://docs.aws.amazon.com/amplify/) or forum on specific information on troubleshooting the DNS configuration of the deployed app.
Thanks for your response. I’m not using any custom domain and seeking support from my org’s cloud support team regarding DNS issue.
Meanwhile, do I need to have any other file (build file) excluding app.py file and requirements.txt to Amplify for hosting? How does Amplify know how to run my streamlit application? Thank you!
The Streamlit Docs has a dedicated section with several tutorials for deploying on various cloud platforms. Unfortunately, there’s not a specific one on AWS Amplify, though I’d recommend to have a look at several of these to identify which one is most similar to your cloud computing environment.
Please note that Amplify hosting service can only host static frontend application such as React, Angular, Vue, Next, etc. Amplify doesn’t spin up an application server to host long running instances. Thus Amplify hosting cannot be used directly to host Python application/files.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
Hello there 👋🏻
Thanks for stopping by! We use cookies to help us understand how you interact with our website.
By clicking “Accept all”, you consent to our use of cookies. For more information, please see our privacy policy.
Cookie settings
Strictly necessary cookies
These cookies are necessary for the website to function and cannot be switched off. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms.
Performance cookies
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us understand how visitors move around the site and which pages are most frequently visited.
Functional cookies
These cookies are used to record your choices and settings, maintain your preferences over time and recognize you when you return to our website. These cookies help us to personalize our content for you and remember your preferences.
Targeting cookies
These cookies may be deployed to our site by our advertising partners to build a profile of your interest and provide you with content that is relevant to you, including showing you relevant ads on other websites.