{"id":16840571,"url":"https://github.com/mitmul/marlo-handson","last_synced_at":"2025-04-10T12:21:10.031Z","repository":{"id":141385290,"uuid":"157653554","full_name":"mitmul/marlo-handson","owner":"mitmul","description":null,"archived":false,"fork":false,"pushed_at":"2018-12-13T16:19:50.000Z","size":2207,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T11:08:03.885Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mitmul.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-15T04:47:00.000Z","updated_at":"2021-02-02T12:25:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"28669cf8-72f7-4e8a-8122-7bdbcabe940c","html_url":"https://github.com/mitmul/marlo-handson","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitmul%2Fmarlo-handson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitmul%2Fmarlo-handson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitmul%2Fmarlo-handson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mitmul%2Fmarlo-handson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mitmul","download_url":"https://codeload.github.com/mitmul/marlo-handson/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248217179,"owners_count":21066633,"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":[],"created_at":"2024-10-13T12:37:13.716Z","updated_at":"2025-04-10T12:21:10.025Z","avatar_url":"https://github.com/mitmul.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MarLo Handson\n\n## Requirement\n\nFor the content of this repository, you need\n- Python 3.5+ environment with\n    - Chainer v5.0.0\n    - CuPy v5.0.0\n    - ChainerRL v0.4.0\n    - marlo v0.0.1.dev23\n\nTo follow the instruction below, you need\n- Azure subscription\n\n## Setup\n\n### 1. Install the Azure CLI tool\n\n```\n$ pip install azure-cli\n```\n\n### 2. Login to Azure using the Azure CLI\n\n```\n$ az login\n```\n\n### 3. Select a subscription\n\nList up all the subscriptions you have by\n```\n$ az account list --all\n```\n\nThen, specify one of them with\n```\n$ az account set --subscription [A SUBSCRIPTION ID]\n```\nOf cource you need to replace `[A SUBSCRIPTION ID]` with a specific ID you want to use.\n\n### 4. Launch a GPU VM\n\nFirst, you have to create a resource group:\n```\n$ az group create -g marLo-handson -l eastus\n```\n\nNext, let's cerate a data science VM:\n```\n$ az vm create \\\n--resource-group marLo-handson \\\n--name vm \\\n--admin-username ${USER} \\\n--public-ip-address-dns-name ${USER} \\\n--image microsoft-ads:linux-data-science-vm-ubuntu:linuxdsvmubuntu:latest \\\n--size Standard_NC6 \\\n--generate-ssh-keys\n```\n\nThen, you will see the message like following:\n```\n{\n  \"fqdns\": \"[YOUR USERNAME].eastus.cloudapp.azure.com\",\n  \"id\": \"/subscriptions/[YOUR SUBSCRIPTION ID]/resourceGroups/marLo-handson/providers/Microsoft.Compute/virtualMachines/vm\",\n  \"location\": \"eastus\",\n  \"macAddress\": \"AA-BB-CC-DD-EE-FF\",\n  \"powerState\": \"VM running\",\n  \"privateIpAddress\": \"10.0.0.4\",\n  \"publicIpAddress\": \"123.456.78.910\",\n  \"resourceGroup\": \"marLo-handson\",\n  \"zones\": \"\"\n}\n```\nPlease do not care some slight differences. All you need is the `publicIpAddress` of the created VM.\n\n### 5. SSH to the VM\n\n```\n$ ssh [IP OF THE VM]\n```\n\nPlease replace `[IP OF THE VM]` with your IP address you can find in the result of the previous step.\n\n### 6. Setup the VM\n\nOn the VM,\n```\n$ git clone https://github.com/mitmul/marlo-handson \u0026\u0026 \\\nbash marlo-handson/setup.sh\n```\n\n### 7. Port forwarding via SSH\n\nOn your local machine,\n```\n$ ssh [IP OF THE VM] -L 6901:localhost:6901\n```\n\n### 8. Open the virtual desktop\n\nThen please open this URL with your browser: http://localhost:6901/?password=vncpassword\n\nYou'll see the virtual desktop in the browser window and the Minecraft working in it.\n\n![](images/minecraft.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitmul%2Fmarlo-handson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitmul%2Fmarlo-handson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitmul%2Fmarlo-handson/lists"}