📅 2024-09-14 — Session: Deployed Web App on Google Cloud App Engine
🕒 01:20–01:50
🏷️ Labels: Google Cloud, App Engine, Deployment, Web Development, Permissions
📂 Project: Dev
⭐ Priority: MEDIUM
Session Goal
The goal of this session was to deploy a web application on Google Cloud App Engine, ensuring it is correctly configured and accessible.
Key Activities
- Hosting a Web App: Followed a guide to set up, prepare, deploy, and test a web app on Google Cloud using App Engine.
- Project ID Management: Chose a unique project ID and verified its length requirement for Google Cloud projects.
- Static Web App Deployment: Deployed a static web app, involving setting up the project, organizing files, and creating an
app.yamlconfiguration. - Local Testing: Ran the project locally using Python’s HTTP server to ensure functionality before deployment.
- Folder and Directory Management: Renamed project folders and ensured correct directory navigation for deployment.
- Cloud Storage Permissions: Fixed permissions errors for service accounts accessing Cloud Storage buckets.
- Troubleshooting: Resolved MIME type errors and access issues for App Engine and Cloud Storage.
Achievements
- Successfully deployed a web application on Google Cloud App Engine.
- Resolved initial deployment issues related to directory structure and permissions.
- Corrected MIME type errors to ensure proper loading of static files.
Pending Tasks
- Verify the deployment stability and performance over time.
- Explore custom domain setup for the deployed app.
- Monitor and adjust permissions as needed for ongoing access to Cloud Storage.