Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoC - deploy simple node app on Google App Engine #1

Closed
RouvenGonzalez opened this issue Feb 26, 2021 · 3 comments
Closed

PoC - deploy simple node app on Google App Engine #1

RouvenGonzalez opened this issue Feb 26, 2021 · 3 comments
Assignees

Comments

@RouvenGonzalez
Copy link

RouvenGonzalez commented Feb 26, 2021

Evaluate options to deploy our site sofware-developer.org. For PoC deploy an app from a GitHub repo (e.g. hello world or code monkey).

Goals:

  • deploy simple node app
  • provide URL where app can be seen

Steps:

  • what are services are needed (e.g. Compute Engine service)?
  • deploy a demo app (or code monkey) from a GitHub repo

NOTE:

  • all steps should be done (if possible) through CLI (gcloud cli)

Result: Summarize findings of deployment into #3

@taitruong taitruong changed the title [PoC] Evanluate Deployment Options PoC - deploy simple node app on Google App Engine Mar 1, 2021
@taitruong taitruong assigned taitruong and KlugeCh and unassigned taitruong Mar 1, 2021
@taitruong
Copy link
Member

@taitruong
Copy link
Member

taitruong commented Mar 2, 2021

Entry point:

Create App Engine

  • go to App Enginge and click on 'Create Application'
    • Region: europe-west 3
    • Language: Node.js
    • Environment: Flexible
      • flexible plan is required later for using Docker
      • TODO: check billing

Next install Cloud SDK cli as described in this comment of issue #4

@taitruong
Copy link
Member

taitruong commented Mar 2, 2021

Repo for deployment: https://github.com/software-developer-org/hello-express

Create app.yaml file in root folder:

runtime: nodejs12

Deploy

$ gcloud auth login
$ gcloud app deploy

Test app/visit URL

$ gcloud app browse

Also check the README in the repo

@taitruong taitruong mentioned this issue Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants