Introduction and Directions to get Connected to GCP as a student. Then an example of how to publish your app.
This material uses Polars and focuses Streamlit and dash boarding to introduce the data science app development process.
You must have a Google Account to use education credits. If you don't have a Google Account, you can create one.
I will send a message from as follows (except the link will work).
Dear Students,
Here is the URL you will need to access in order to request a Google Cloud coupon. You will be asked to provide your school email address and name. An email will be sent to you to confirm these details before a coupon is sent to you.
[Student Coupon Retrieval Link]()
* You will be asked for a name and email address, which needs to match your school domain. A confirmation email will be sent to you with a coupon code.
* You can request a coupon from the URL and redeem it until: 1/8/2026
* Coupon valid through: 9/8/2026
* You can only request ONE code per unique email address.
Thanks,
Mr. John Hathaway
After you click on the link, you will get a second email with the code.
Dear
Jimmy,
Here is your Google Cloud Coupon Code:
0EV1-U46r-DRTF-F1V6
Click
[here]()
to redeem.
Course/Project Information
Instructor Name:
Email Address:
School:
Brigham Young University-Idaho
Course/project:
Big Data Programming
Activation Date:
9/8/2025
Redeem By:
1/8/2026
Coupon Valid Through: 9/8/2026
If you have any questions, please contact your course instructor as listed above.
Thanks,
Google Cloud Education Programs Team
After clicking the here link, you can enter the coupon code to get the credits assigned to your account.
Cloud Run is a managed compute platform that enables stateless containers which are web accessible. Cloud Run is serverless which allows us to more cost effectively handle infrastructure management (in time and money).
The developer workflow in Cloud Run can be done using VS Code:
- Containerize an app using Docker and run the container with Docker Desktop
- Build and test the app locally
- Push the image to Google Artifact Registry
- Deploy the containerized app to Cloud Run
With Cloud Run, you can use two types of workflow: container-based workflow or a source-based workflow.[^1] We will be using the container-based workflow.
- Push your Docker established repository to Github
- After logging into your account go to the GCP Console.
- Select
Cloud Runfrom the hamburger menu on the top left (see picture). - Now you can
Deploy a Web ServiceusingConnect repository (Github) - Select your options and connect your repo.
- Let it build (this can take a few minutes)
You can see this repository's app hosted on Cloud Run here (assuming I still have some free credits).
You can use Managing Extensions in Visual Studio Code to learn how to install extensions. Managing Extensions in Visual Studio Code provides more background on extensions if needed. We will use the following extensions;
- Python - Visual Studio Marketplace extension heavily.
- Container Tools
- Dev Container
- docker
- Dockerfile is the build script for our Docker Image
- docker-compose.yml provides an easy way to start our docker container. Docker Compose is 'the key to unlocking a streamlined and efficient development and deployment experience.'
- requirements.txt is run from the Dockerfile and installs the needed Python packages.
- README.md is this file. The
YAMLat the top is necessary for the Streamlit app to work correctly. Specifically theapp_port: 8501is needed. All other information can and should be manipulated. - [streamlit.py] is our Streamlit app.
I build trainings a bit like AI. I steal a bunch of stuff from other websites. This is the list of websites I used to train myself.