Skip to content

GoogleDeveloperExperts/appengine-fluent-hello

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 3, 2014
246b668 · Dec 3, 2014

History

42 Commits
Nov 29, 2014
Dec 3, 2014
Nov 28, 2014
Nov 28, 2014
Nov 27, 2014
Nov 28, 2014
Nov 25, 2014
Nov 28, 2014
Nov 28, 2014

Repository files navigation

Fluent-http on App Engine Managed VMs

This is a demonstration project for App Engine Managed VMs. It leverages App Engine Docker's support to run a web app with Java 8. It uses [fluent-http] web stack.

This application uses this base image.

To use managed VMS

  1. Download the Google Cloud SDK and create a billing-enabled project.

  2. Enable billing on your project by visiting https://cloud.google.com/console/project/apps~<app_id>, where <app_id> is the ID of your project. Click on Settings in the left menu and then enable billing.

  3. Set the default project to your project's ID using the config command:

gcloud config set project <project ID>
  1. The first time you use the Cloud SDK, you may be asked to run:
gcloud auth login
  1. Install the app engine gcloud component by invoking the following:
gcloud components update app
  1. Install Docker:
  1. Configure boot2docker:

Boot2docker runs with 2048Mb of memory by default. It has to be increased to 4096 at least:

boot2docker stop
VBoxManage modifyvm "boot2docker-vm" --memory "4096"
boot2docker up
  1. Download the base App Engine docker images for all runtimes:
gcloud preview app setup-managed-vms
  1. Run the application locally:
gcloud preview app run .
  1. Deploy the application:
gcloud preview app deploy .

If something goes wrong

gcloud preview app modules cancel-deployment [MODULE] --version [VERSION]
gcloud preview app modules cancel-deployment default --version 1

About

App Engine Managed VM demonstration project based on fluent-http

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published