1. Steps to build/ deploy sample App
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GCP Command Shell Steps | |
============================ | |
Step #1 - git clone https://github.com/praneethkvs/streamlit-test-app | |
Step #2 - cd streamlit-test-app | |
Step #3 - docker build -t asia.gcr.io/smartretail/streamlit-test-app . | |
Step #4 - Add rights on https://console.cloud.google.com/iam-admin/iam, Role is "Storage Admin" as explained in [1] | |
Step #5 - gcloud auth login | |
Step #6 - docker push asia.gcr.io/smartretail/streamlit-test-app | |
Step #7 - gcloud init | |
Step #8 - create app.yaml file | |
service: streamlit-test-app | |
runtime: custom | |
env: flex | |
manual_scaling: | |
instances: 1 | |
resources: | |
cpu: 1 | |
memory_gb: 2 | |
disk_size_gb: 10 | |
Step #9 - gcloud app deploy app.yaml | |
gcloud auth list | |
gcloud components update |
2. Enable IAP for App Engine
Add users
To grant access to the application,
click "Add Principal"
select the IAP-secured Web App User role
Keep Exploring!!!
No comments:
Post a Comment