Giter Site home page Giter Site logo

cloud-run-go-echo's Introduction

cloud-run-go-echo

Go + Echo Framework -> Google Cloud Run

  1. Repo Clone -> Docker Build -> GCR Push
$ git clone https://github.com/onori/cloud-run-go-echo.git
$ docker build -t  gcr.io/[YOUR-PROJECT-ID]/cloud-run-go-echo:tag1
$ docker push gcr.io/[YOUR-PROJECT-ID]/cloud-run-go-echo:tag1
  1. Deploy Cloud Run

https://cloud.google.com/run/docs/quickstarts/build-and-deploy

$ gcloud beta run deploy --image gcr.io/[YOUR-PROJECT-ID]/cloud-run-go-echo:tag1
Please specify a region:
 [1] us-central1
 [2] cancel
Please enter your numeric choice:  1   

To make this the default region, run `gcloud config set run/region us-central1`.

Service name: (cloud-run-go-echo):  
Deploying container to Cloud Run service [cloud-run-go-echo] in project [YOUR-PROJECT-ID] region [us-central1]
Allow unauthenticated invocations to new service [cloud-run-go-echo]? 
(y/N)?  y

✓ Deploying new service... Done.                                                                                                                                                                                                                             
  ✓ Creating Revision... Deploying Revision.                                                                                                                                                                                                                 
  - Routing traffic...                                                                                                                                                                                                                                       
Done.                                                                                                                                                                                                                                                        
Service [cloud-run-go-echo] revision [cloud-run-go-echo-00001] has been deployed and is serving traffic at https://xxxx.app

cloud-run-go-echo's People

Contributors

onori avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

audronfs

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.