Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Labs

Deploying to Google App Engine with Travis CI

Travis CI doesn't just let us automate the testing and release of our code — it can even deploy our code to production (or wherever you need to deploy). In this lab, we'll take an existing Travis setup and add a deployment stanza to get our application working on Google App Engine, as well as configure GCP to work with Travis.

Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 45m
Published
Clock icon Oct 22, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Enable Needed APIs

    • Enable 2 APIs on the Google Cloud Console:
      • App Engine Admin API
      • Cloud Build API.
  2. Challenge

    Create App and Set Region

    • Create an App Engine app on the console. Only the region will need to be selected.
  3. Challenge

    Create Service Role

    • Create a service role with the following permissions:
      • App Engine Admin
      • Cloud Storage Admin
      • Cloud Build Editor

    (NOTE: Be sure to create and download the associated JSON key.)

  4. Challenge

    Add Deploy Stanza and Deploy

    • Open the .travis.yml file and create a deploy stanza using an encrypted version of the JSON key and the project ID.
    • Commit code.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans