{"id":18480642,"url":"https://github.com/anupvarghese/csgo-on-cloud","last_synced_at":"2026-04-18T00:01:59.730Z","repository":{"id":47169701,"uuid":"311958471","full_name":"anupvarghese/csgo-on-cloud","owner":"anupvarghese","description":"Running Counter-Strike: Global Offensive on cloud","archived":false,"fork":false,"pushed_at":"2022-11-21T06:29:22.000Z","size":63,"stargazers_count":1,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-13T19:24:47.252Z","etag":null,"topics":["ansible","azure","cloud","counter-strike","counter-strike-global-offensive","csgo","csgo-dedicated-server","linuxgsm","terraform"],"latest_commit_sha":null,"homepage":"","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/anupvarghese.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-11-11T12:03:34.000Z","updated_at":"2022-12-14T23:28:26.000Z","dependencies_parsed_at":"2023-01-22T19:30:36.660Z","dependency_job_id":null,"html_url":"https://github.com/anupvarghese/csgo-on-cloud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/anupvarghese/csgo-on-cloud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fcsgo-on-cloud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fcsgo-on-cloud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fcsgo-on-cloud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fcsgo-on-cloud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anupvarghese","download_url":"https://codeload.github.com/anupvarghese/csgo-on-cloud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anupvarghese%2Fcsgo-on-cloud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31950891,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["ansible","azure","cloud","counter-strike","counter-strike-global-offensive","csgo","csgo-dedicated-server","linuxgsm","terraform"],"created_at":"2024-11-06T12:19:39.635Z","updated_at":"2026-04-18T00:01:59.694Z","avatar_url":"https://github.com/anupvarghese.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"### CSGO dedicated server on Azure\n\nRunning a CSGO dedicated server on Azure using terraform with ansible and [LinuxGSM](https://linuxgsm.com/)\n\n### Initial Steps\n\n- Install terraform(v1.1.7), azurecli(2.34.1)\n- Azure login and copy `subscription_id`\n\n  ```\n  az login\n  ```\n\n- Create service principal\n\n  ```\n  MSYS_NO_PATHCONV=1 az ad sp create-for-rbac --role=\"Contributor\" --scopes=\"/subscriptions/\u003csubscription_id\u003e\"\n  ```\n\n- Populate secrets, create a file `secrets.tfvars` under `azure` folder\n- Check azure for vm_size and storage_disk_type\n\n```shell\n   region = \"japaneast\"\n   subscription_id = \"\u003cid\u003e\"\n   client_id       = \"\u003cappid from service principal\u003e\"\n   tenant_id       = \"\u003ctenant id from login\u003e\"\n   resource_group_name = \"RG_NAME\"\n   vm_size = \"Standard_F4\"\n   storage_disk_type = \"Standard_LRS\"\n   sv_password = \"secret\"\n   rcon_password = \"secret\"\n   gslt = \"gslt from steam\"\n   client_secret = \"\u003cpassword from service principle\u003e\"\n```\n\n## Terraform steps\n\n```shell\nterraform init\nterraform plan -var-file=\"secrets.tfvars\"\nterraform apply -var-file=\"secrets.tfvars\"\n```\n\n## Ansible steps\n\n- Once the server is provisioned, you can access it via ssh as below,\n\n\n```shell\nssh -i ~/.ssh/id_rsa csgoserver@ipaddress_of_vm\n```\n\n- Below command will run the ansible playbook and create csgo server\n\n```shell\nansible-pull -U https://github.com/anupvarghese/csgo-on-cloud.git -i 127.0.0.1 competitive.yml\n```\n\n### Notes\n\nThis setup uses [LinuxGSM](https://linuxgsm.com/) to host csgo server.\n\nManagement of the game server can be found in [these](https://docs.linuxgsm.com/commands) docs\n\nIf you want to deploy with changes that are in a branch and not master, try this - ansible-pull -U https://github.com/anupvarghese/csgo-on-cloud.git -C \u003cyour_branch_name\u003e -i 127.0.0.1 competitive.yml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanupvarghese%2Fcsgo-on-cloud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanupvarghese%2Fcsgo-on-cloud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanupvarghese%2Fcsgo-on-cloud/lists"}