github.com/moov-io/imagecashletter@v0.10.1/docs/usage-google-cloud.md (about) 1 --- 2 layout: page 3 title: Google Cloud Run 4 hide_hero: true 5 show_sidebar: false 6 menubar: docs-menu 7 --- 8 9 # Google Cloud Run 10 11 To get started in a hosted environment you can deploy this project to the Google Cloud Platform. 12 13 From your [Google Cloud dashboard](https://console.cloud.google.com/home/dashboard) create a new project and call it: 14 ``` 15 moov-icl-demo 16 ``` 17 18 Enable the [Container Registry](https://cloud.google.com/container-registry) API for your project and associate a [billing account](https://cloud.google.com/billing/docs/how-to/manage-billing-account) if needed. Then, open the Cloud Shell terminal and run the following Docker commands, substituting your unique project ID: 19 20 ``` 21 docker pull moov/imagecashletter 22 docker tag moov/imagecashletter gcr.io/<PROJECT-ID>/imagecashletter 23 docker push gcr.io/<PROJECT-ID>/imagecashletter 24 ``` 25 26 Deploy the container to Cloud Run: 27 ``` 28 gcloud run deploy --image gcr.io/<PROJECT-ID>/imagecashletter --port 8083 29 ``` 30 31 Select your target platform to `1`, service name to `imagecashletter`, and region to the one closest to you (enable Google API service if a prompt appears). Upon a successful build you will be given a URL where the API has been deployed: 32 33 ``` 34 https://YOUR-ICL-APP-URL.a.run.app 35 ``` 36 37 Now you can list files stored in-memory: 38 ``` 39 curl https://YOUR-ICL-APP-URL.a.run.app/files 40 ``` 41 You should get this response: 42 ``` 43 null 44 ```