Code Monkey home page Code Monkey logo

appengine-fluent-hello's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.