Hello,
Please check out my new streamlit dashboard built on U.S. census 2020 data.
-
Data for this dashboard was extracted from U.S. 2020 Census Bureau Demographic Profile.
-
Hosted on AWS EC2
Thank you!
Hello,
Please check out my new streamlit dashboard built on U.S. census 2020 data.
Data for this dashboard was extracted from U.S. 2020 Census Bureau Demographic Profile.
Hosted on AWS EC2
Thank you!
Do you have a link to instructions on how to deploy?
I followed the instructions from this medium article by Steven Munn.
Also, many thanks to @dataprofessor for all the tutorials and youtube videos. Very helpful!
Thank you!
There are some deployment options here: Deploy Streamlit apps - Streamlit Docs. I’m tring the Docker route + ECS + Fargate to take advantage of the autoscaling and easy updates.
@nstepka
Your All in one Data Analysis app is an awesome idea! Are you considering aws for your deployment? Please let me know if you need any help.
Thank you!
Hi Kumar,
Great data visualization app, congratulations on deploying it on AWS successfully with https. I have been attempting to do the same for my streamlit app https://putdebitspread.streamlit.app/ but to no avail. Do you think you could help me? Thank you
@POP,
Thank you for the kind note.
Sure. Will be glad to help. As I stated above in this thread, I followed the steps laid out in this medium article: Running Streamlit on Amazon EC2 with HTTPS | by Steven Munn | Medium.
I setup streamlit as a systemd service, used nginx with reverse proxy for web server, and https://letsencrypt.org/ for certs.
Please let me know if you have any questions.
Thank you!
Hi Kumar,
I am having issues with the Medium article you provided as it did not explain how to connect the streamlit app with the AWS server. I am not quite experienced with AWS and may require some additional guidance.
Would it be possible for you to walk me through the steps you took, perhaps on a call if you have time available?
Thank you
@POP,
Apologies, this is my nights/weekends endeavor. I really don’t have time to do a call/walk-through. But here are some resources that helped me quite a bit on my AWS journey.
AWS EC2 user guide: What is Amazon EC2? - Amazon Elastic Compute Cloud
Installing LAMP on AWS EC2 (I didnt use this LAMP stack, but found this very helpful): Install LAMP on Amazon Linux 2 - Amazon Elastic Compute Cloud
Architecting videos:AWS Power Hour: Architecting on Twitch
Hope this helps.
Thank you!
You can also look at using Cloudflare to host your domain name and then point it to your Streamlit app. It can manage the certificate for you.
Fun to browse through the data. I enjoyed checking out the data in different states.
I noticed that the Gender plot kept switching gender labels… sometimes the right side was male, sometimes female.
@shawngiese I’m currently using Namecheap shared hosting to host my domain name, I’m just having issues with pointing it to my Streamlit app.
You may need to get a fixed IP and then attach that to your EC2. Then I think you can change the A record of the DNS. I have my app behind an AWS application load balancer. No static IP address but it gives me a fixed A Record / domain name. I can load that into the cname record of DNS and so it can point to my load balancer and get to my app. I do not think that you have to host your domain name in Cloudflare to do this.
Thank you for the feedback @shawngiese. Appreciate it very much!
Updated the app to always show females on the left and males on the right. It was previously sorting by % values.
Please let me know if you are still seeing the gender labels switching.
@POP, are you trying to create a DNS record from Namecheap domain name to your app hosted on streamlit cloud? It might be possible to create a CNAME record: https://ns1.com/resources/cname. I’m not sure though.
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.
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.
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.
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.