{"id":19029771,"url":"https://github.com/ahmetb/zone-printer","last_synced_at":"2025-04-23T15:52:28.830Z","repository":{"id":52949535,"uuid":"239905557","full_name":"ahmetb/zone-printer","owner":"ahmetb","description":"Small web app to print Google Cloud compute region it’s deployed to","archived":false,"fork":false,"pushed_at":"2021-04-12T17:21:25.000Z","size":47,"stargazers_count":25,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-18T01:47:21.818Z","etag":null,"topics":["cloud-run","cloudrun"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahmetb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-12T01:56:59.000Z","updated_at":"2022-11-10T00:27:17.000Z","dependencies_parsed_at":"2022-08-13T02:10:35.990Z","dependency_job_id":null,"html_url":"https://github.com/ahmetb/zone-printer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fzone-printer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fzone-printer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fzone-printer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahmetb%2Fzone-printer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahmetb","download_url":"https://codeload.github.com/ahmetb/zone-printer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250467072,"owners_count":21435442,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-run","cloudrun"],"created_at":"2024-11-08T21:15:15.541Z","updated_at":"2025-04-23T15:52:28.811Z","avatar_url":"https://github.com/ahmetb.png","language":"Go","readme":"# Zone Printer demo application\n\nThis web application prints the Google Cloud datacenter it’s running on with\ninformation about where the datacenter is located (city, country and flag).\n\nIt's used to demonstrate global load balancing capabilities of Google Cloud\nHTTPS Load Balancer, as it routes the request to the compute region closest\nto the visitor.\n\nExample:\n\n\u003e ```text\n\u003e Welcome from Google Cloud datacenters at:\n\u003e The Dalles, Oregon, USA\n\u003e\n\u003e You are now connected to \"us-west1\"\n\u003e ```\n\n## Deploy to Cloud Run\n\nClone this application, then build and deploy the image:\n\n```sh\ngcloud beta run deploy zone-printer \\\n        --platform=managed --allow-unauthenticated \\\n        --source=.\n```\n\nFollow the [Serving traffic from multiple\nregions](https://cloud.google.com/run/docs/multiple-regions) tutorial from\nCloud Run documentation to see how you can deploy this application to all\nregions and set up a load balancer on top.\n\nIf you want to automate further, check out [this Terraform\nguide](https://github.com/ahmetb/cloud-run-multi-region-terraform/) for\nachieving the same task.\n\n-----\n\nThis is not an official Google project.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetb%2Fzone-printer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahmetb%2Fzone-printer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahmetb%2Fzone-printer/lists"}