Arcade Voyage: App Modernization | GSP067
Solution for Arcade Voyage: App Modernization | GSP067. 1 lab: GSP067. Fast copy-paste commands for Google Cloud.
GSP067 — App Engine: Qwik Start - Python
Estimated time: 15 minutes
# 🚀 App Engine: Qwik Start - Python > ⚠️ **Disclaimer:** This is an independent, community-made walkthrough created for educational purposes, hands-on practice, and Google Cloud certification preparation. This guide is designed to help learners understand Google Cloud services and complete practical exercises. Always attempt the lab yourself first and follow Google Cloud Skills Boost / Qwiklabs Terms of Service. This walkthrough is not affiliated with or endorsed by Google, Google Cloud, or Qw
clear
CYAN='\e[1;36m'
BLUE='\e[1;34m'
RESET='\e[0m'
BOLD='\e[1m'
GREEN='\e[1;32m'
YELLOW='\e[1;33m'
MAGENTA='\e[1;35m'
echo -e "${CYAN}${BOLD}"
cat << "EOF"
____ _ _ _ __ ___
/ __ \ | | (_) | / _| / _ \
| | | |_ __| |__ _| |_ ___ | |_ | | | |_ __ ___
| | | | '__| '_ \| | __| / _ \ | _|| | | | '_ \/ __|
| |__| | | | |_) | | |_ | (_) | | | | |_| | |_) \__ \
\____/|_| |_.__/|_|\__| \___/ |_| \___/| .__/|___/
| |
|_|
EOF
echo -e "${RESET}"
echo -e "${BLUE}${BOLD}╔════════════════════════════════════════════════════════════╗${RESET}"
echo -e "${BLUE}${BOLD}║ 🚀 BROUGHT TO YOU BY ORBIT OF OPS ║${RESET}"
echo -e "${BLUE}${BOLD}╚════════════════════════════════════════════════════════════╝${RESET}\n"
echo -e "${MAGENTA}${BOLD}Please check your lab instructions panel for your assigned Region.${RESET}"
read -p "Enter your Region (e.g., us-central1): " REGION
echo ""
export PROJECT_ID=$(gcloud config get-value core/project 2>/dev/null)
gcloud config set compute/region "${REGION}" --quiet >/dev/null 2>&1
echo -e "${CYAN}Task 1: Enabling App Engine Admin API...${RESET}"
gcloud services enable appengine.googleapis.com --quiet
echo -e "${CYAN}Task 2: Downloading the Hello World app...${RESET}"
cd ~
rm -rf python-docs-samples
git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git >/dev/null 2>&1
cd python-docs-samples/appengine/standard_python3/hello_world
echo -e "${CYAN}Task 4: Modifying the application payload...${RESET}"
sed -i 's/Hello World!/Hello, Cruel World!/g' main.py
echo -e "${CYAN}Task 5: Initializing App Engine & Deploying the App (Takes 2-3 minutes)...${RESET}"
gcloud app create --region="${REGION}" --quiet 2>/dev/null || true
gcloud app deploy --quiet
echo -e "\n${GREEN}${BOLD}🎉 AUTOMATION COMPLETE! Click 'Check my progress' on the final task to collect your 100% score!${RESET}"
echo -e "${GREEN}${BOLD}# ─────────────────────────────────────────────────────────────${RESET}"
echo -e "${GREEN}${BOLD}# Lab cleared? Like the video and subscribe to Orbit of Ops 🚀${RESET}"
echo -e "${GREEN}${BOLD}# youtube.com/@orbitofops${RESET}"
echo -e "${GREEN}${BOLD}# ─────────────────────────────────────────────────────────────${RESET}"