{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/nav-docker/issues/20","repository_url":"https://api.github.com/repos/Microsoft/nav-docker","labels_url":"https://api.github.com/repos/Microsoft/nav-docker/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/nav-docker/issues/20/comments","events_url":"https://api.github.com/repos/Microsoft/nav-docker/issues/20/events","html_url":"https://github.com/Microsoft/nav-docker/issues/20","id":250078316,"number":20,"title":"Running on Azure VM works smoothly","user":{"login":"ajkauffmann","id":19155831,"avatar_url":"https://avatars2.githubusercontent.com/u/19155831?v=4","gravatar_id":"","url":"https://api.github.com/users/ajkauffmann","html_url":"https://github.com/ajkauffmann","followers_url":"https://api.github.com/users/ajkauffmann/followers","following_url":"https://api.github.com/users/ajkauffmann/following{/other_user}","gists_url":"https://api.github.com/users/ajkauffmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ajkauffmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajkauffmann/subscriptions","organizations_url":"https://api.github.com/users/ajkauffmann/orgs","repos_url":"https://api.github.com/users/ajkauffmann/repos","events_url":"https://api.github.com/users/ajkauffmann/events{/privacy}","received_events_url":"https://api.github.com/users/ajkauffmann/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-08-14T16:07:45Z","updated_at":"2017-08-14T20:16:40Z","closed_at":null,"body":"Got everything up and running on Azure VM.\r\n\r\nComments:\r\n- Download of images is way faster, probably due to hosting of images on Azure Container Registry (I guess).\r\n- Extraction of image files sometimes hangs, but after closing PowerShell and checking the images the downloaded image is available and can be started. This happens with both NAV images and Windows Server Core image.\r\n- VM with SSD drive seems to noticeably faster when it comes to image download / extraction and starting the container\r\n- Starting the container is faster compared to Windows 10 and has less memory consumption\r\n- Publishing ports requires to add an inbound security role on Azure\r\n\r\nNow I'm going to test with multiple containers and trying to initialize a classroom setting.\r\n\r\nNice work!"},"comment":{"url":"https://api.github.com/repos/Microsoft/nav-docker/issues/comments/322297290","html_url":"https://github.com/Microsoft/nav-docker/issues/20#issuecomment-322297290","issue_url":"https://api.github.com/repos/Microsoft/nav-docker/issues/20","id":322297290,"user":{"login":"ajkauffmann","id":19155831,"avatar_url":"https://avatars2.githubusercontent.com/u/19155831?v=4","gravatar_id":"","url":"https://api.github.com/users/ajkauffmann","html_url":"https://github.com/ajkauffmann","followers_url":"https://api.github.com/users/ajkauffmann/followers","following_url":"https://api.github.com/users/ajkauffmann/following{/other_user}","gists_url":"https://api.github.com/users/ajkauffmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ajkauffmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajkauffmann/subscriptions","organizations_url":"https://api.github.com/users/ajkauffmann/orgs","repos_url":"https://api.github.com/users/ajkauffmann/repos","events_url":"https://api.github.com/users/ajkauffmann/events{/privacy}","received_events_url":"https://api.github.com/users/ajkauffmann/received_events","type":"User","site_admin":false},"created_at":"2017-08-14T20:16:40Z","updated_at":"2017-08-14T20:16:40Z","body":"I'm talking about trainings for VS Code, so compiling and deployment is different anyway. Would expect much less impact on the server. Anyway, it seems to be safe to reserve about 2 GB per container. Depending on the number of trainees, we can choose the VM size.\r\n\r\nAlternatively, we choose to host the databases on Azure SQL. If we prepare one image with the connection settings, then we only have to change the database name when starting the container. I guess it would save about 500 MB memory per container.\r\n\r\nBut first step is to find out how we can deploy Extension packages from local VS Code the docker container in Azure VM. Authentication is the challenge here (maybe that's already solved, need to find out). If that works, then it's a matter of preparing images and off we go..."}}
{"actor":{"display_login":"ajkauffmann"}}