
Learn to deploy machine learning models on Google Cloud Platform with a Flask API, training a CIFAR CNN, and deploying across GCE, App Engine, GKE, Cloud Run, and Cloud Functions.
Explore Google Cloud Platform deployment options from Google Compute Engine to Google App Engine, Google Kubernetes Engine, Cloud Run, and Cloud Functions, comparing serverless options, use cases, and trade-offs.
Discover Google Kubernetes Engine, Cloud Run, and Cloud Functions as managed serverless options to deploy containerized and cloud native apps with automated scaling, updates, and self-healing. Learn use cases for legacy modernization, DevOps workflows, and production deployment of a simple ML image classifier using Flask, integrating GCP services for scalable delivery.
Build a baseline convolutional neural network for CIFAR-10 image classification using TensorFlow and Keras, including data loading, library imports, and reproducibility setup.
Load and process the cifar-10 dataset, with 50,000 training and 10,000 test images from 32x32 rgb arrays. Normalize pixel values to 0–1 and convert labels to one-hot encoding for training.
Build and train a simple sequential convolutional neural network to classify 32x32x3 images, using conv, pool, flatten, dense, and dropout, then save the CIFAR-10 model.
Evaluate the model using training, validation, and test accuracy and loss from history, plot results with matplotlib, and generate predictions for test images with a cifar ten model in Keras.
Create a local Python web app to upload an image and return a prediction, organizing folders templates and models and installing dependencies for deployment on Google Cloud Platform.
Begin building a python app with flask, load a cifar-10 keras model, preprocess a user-selected image (32x32, normalize, add batch), and return predictions.
Prepare Google Cloud Platform: link account, create a project with ID, and enable Compute Engine, App Engine, Kubernetes Engine, Cloud Run, and Cloud Functions via Cloud Shell or Cloud CLI.
Deploy a Python application to Google Compute Engine by uploading your code and creating a virtual environment. Install dependencies, run the app, and access it via the instance external IP.
Deploy a Python application on App Engine by configuring app.yaml for the flexible environment, deploying with gcloud app deploy, and enabling automatic scaling, versions, and traffic split for App Engine.
Deploy a Python app on Cloud Run by selecting a container image, enabling unauthenticated access, and configuring scaling and billing options.
Deploy and test a Python 3.11 cloud function on Google Cloud to serve an HTTP image-classification endpoint using a saved model.
Learn to clean up Google Cloud resources to avoid charges by deleting VM instances, App Engine, Kubernetes Engine, Cloud Run services, and storage buckets, and by reviewing billing credits.
Recaps the five Google Cloud services, their use cases, advantages, and disadvantages, and demonstrates training a convolutional neural network and deploying a Flask-based local app with tests.
Learning to implement machine learning models in production is a critical skill for data scientists who want to move beyond theoretical analysis and create practical business impact. While building models is essential, it is during deployment that these solutions come to life, becoming accessible to end users and integrating into real-world systems. Mastering this phase allows data scientists to ensure the scalability of their solutions, monitor performance in dynamic environments, and collaborate effectively with development and operations teams. Additionally, understanding the full lifecycle—from training to cloud deployment—enhances professional relevance, positioning data scientists as strategic players capable of delivering tangible value from conception to operation.
This introductory course is designed for developers, machine learning enthusiasts, and data professionals who want to learn how to deploy their first AI applications on the web using Google Cloud Platform (GCP). Through a hands-on approach, you will be guided from training a convolutional neural network (CNN) for image classification to deploying the model on scalable cloud services. The course includes an introduction to key GCP services such as Google Compute Engine (GCE), App Engine (GAE), Kubernetes Engine (GKE), Cloud Run, and Cloud Functions, enabling you to compare and choose the best option for your project.
In the first stage, you will set up your local environment: import libraries (like TensorFlow/Keras), train and evaluate your CNN model, and create a simple Python application to integrate with the trained model. Next, you will learn how to configure GCP and deploy to different services.
Ideal for cloud computing beginners and professionals looking to put machine learning models into production. By the end, you will have deployed a functional web application for image classification in the cloud, mastering the full development cycle—from model training to deployment on Google’s professional services.