LogoLogo
  • 🤩Welcome!
  • Buffer overflow
    • Remote Buffer Overflow
      • Crashing the Application
      • Controlling the EIP
      • Finding Bad Characters
      • Finding a Return Address
      • Generating Shellcode
      • Getting a Shell
  • Wireless Penetration Testing
    • Wifi Pineapple - Tetra
      • Setup
      • Firmware Upgrade
      • Capturing Wireless Handshake
      • Cracking WPA2 Handshake
      • PineAP
      • Modules
  • PortSwigger Labs
    • Authentication
      • Username enumeration via different responses
      • Username enumeration via subtly different responses
      • Username enumeration via response timing
  • TryHackMe
    • 🎄Advent of Cyber 3 (2021)
      • [Day 1] Save The Gifts
      • [Day 2] Elf HR Problems
      • [Day 3] Christmas Blackout
      • [Day 4] Santa's Running Behind
      • [Day 5] Pesky Elf Forum
      • [Day 6] Patch Management Is Hard
      • [Day 7] Migration Without Security
      • [Day 8] Santa's Bag of Toys
      • [Day 9] Where Is All This Data Going
  • Google Cloud Computing
    • ☁️Cloud Computing Fundamentals
      • Getting Started with Cloud Shell and gcloud
      • Creating a Virtual Machine
      • App Engine: Qwik Start - Python
      • Cloud Functions: Qwik Start - Command Line
      • Kubernetes Engine: Qwik Start
      • Set Up Network and HTTP Load Balancers
Powered by GitBook
On this page
  • Overview
  • Lab
  • Enable Google App Engine Admin API
  • Download the Hello World app
  • Test the application
  • Modify Application
  • Deploying Application
  • Viewing your Application

Was this helpful?

  1. Google Cloud Computing
  2. Cloud Computing Fundamentals

App Engine: Qwik Start - Python

LAB 3

PreviousCreating a Virtual MachineNextCloud Functions: Qwik Start - Command Line

Last updated 3 years ago

Was this helpful?

Overview

App Engine allows developers to focus on doing what they do best, writing code. The App Engine standard environment is based on container instances running on Google's infrastructure. Containers are preconfigured with one of several available runtimes (Java 7, Java 8, Python 2.7, Go and PHP). Each runtime also includes libraries that support . For many applications, the standard environment runtimes and libraries might be all you need.

Lab

Enable Google App Engine Admin API

To begin, enable the App Engine Admin API under APIs & Services.

Download the Hello World app

Enter the following command to clone the hello world app

git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git

Test the application

Now that the application is on the system, change to its directory and run it as shown below

cd python-docs-samples/appengine/standard_python3/hello_world
dev_appserver.py app.yaml

Now that the app is up and running, view it on port 8080 as shown below.

Modify Application

Modify the application and make it return something else.

cd python-docs-samples/appengine/standard_python3/hello_world
nano main.py

Once completed, head back to the site and preview the change.

Deploying Application

Now that we are happy with the changes, we can deploy the app to gcloud without much struggle as shown below.

The following command has to be run in the same directory where the app.yaml file exists.

gcloud app deploy

Viewing your Application

Now that its all complete, we can view our application with the following command

gcloud app browse

☁️
App Engine Standard APIs