Playing with App Engine in GCP - Google Cloud Platform | Scribe

    Playing with App Engine in GCP - Google Cloud Platform

    • Hafeez Baig |
    • 42 steps |
    • 3 minutes
    1
    Sign in into the **Google Cloud Platform**
    2
    To create a new project for the App Engine, click on the **in28minutes project** dropdown on the left side
    3
    **Select a project** wizard will open, on the top right corner click on the **NEW PROJECT** button
    4
    **New Project** wizard will open, give the **Project name** as "**Learning App Engine Project**" and click on the **CREATE** button
    information ordinal icon
    **Why is it beneficial to create a new project specifically for App Engine?** Creating a new project specifically for App Engine allows you to perform App Engine configurations and practice hands-on. Instead of deleting individual instances, services, or versions within App Engine, you can simply delete the entire project. This approach helps save costs and ensures that no residual resources are left behind. If you miss terminating any resources, they will be deleted along with the project.
    5
    Click on the **Notifications icon** on the top right side and click on the **SELECT PROJECT** button
    6
    Now you are in the **Learning App Engine Project**, type "**App Engine"** in the search bar and click on the **App Engine** option
    information ordinal icon
    **What is an App Engine?**\ \ Google Cloud Platform's App Engine is a fully managed, serverless PaaS that enables developers to build and deploy scalable web applications with minimal infrastructure management. It offers automatic scaling, supports multiple programming languages, and provides two environments: Standard (for rapid scaling with standard runtimes) and Flexible (for custom runtimes and Docker containers). Integrated with GCP services and tools, App Engine ensures high availability, security, and cost-efficiency, making it ideal for web apps, mobile backends, and APIs. Developers can focus on code while GCP handles infrastructure, scaling, and maintenance.
    7
    **Welcome to App Engine** wizard will open, click on the **CREATE APPLICATION** button
    8
    **Create app** wizard will open, scroll to the **Select a region** dropdown section and select the option **us-central.** Then, click on the **NEXT** button **Note:** Select the region closest to you as it's the best practice.
    9
    Get started wizard will open, select the option **Python** from the dropdown
    10
    Scroll to the Environment dropdown section and select the option **Standard**
    information ordinal icon
    **What is the Standard option in the Environment?**\ \ In Google Cloud Platform (GCP), the **Standard Environment** for App Engine offers a managed runtime environment with automatic scaling, sandboxed security, and support for several programming languages (e.g., Python, Java, Node.js, PHP, Go). It includes a free tier, provides faster deployments, and has Google manage the underlying infrastructure, making it ideal for applications with variable workloads and developers seeking a highly managed, cost-effective platform.
    11
    Click on the **Activate Cloud Shell** button on the top right side
    12
    **CLOUD SHELL Terminal** is successfully connected
    13
    On the right side click on the **Open Editor** button
    information ordinal icon
    **What is the Editor in Cloud Shell in Google Cloud Platform?**\ \ In the Google Cloud Platform, the **Editor in Cloud Shell** is a built-in code editor available within the Cloud Shell environment. It provides a convenient, browser-based interface for writing and editing code, managing files, and executing commands directly within your GCP projects.
    14
    **Open Editor** wizard will open, on the top right corner click on the **Open in new window** widget
    15
    Wait untill your **Cloud Shell machine** is provisioned
    16
    **Cloud Shell Editor** will be opened in a new window, click on the **Open Home Directory** option