{"action":"created","comment":{"url":"https://api.github.com/repos/weaveworks/guides/pulls/comments/46249913","id":46249913,"diff_hunk":"@@ -0,0 +1,91 @@\n+---\n+layout: guides\n+shorttitle: Using Weave Scope Cloud Service to Visualize and Monitor Docker Containers\n+title: Using Weave Scope Cloud Service to Visualize and Monitor Docker Containers\n+description: Use Weave Scope to monitor and visualize docker containers.\n+tags: weave scope, docker containers visibility, cluster, swarms\n+permalink: /guides/weave-scope/weave-scope-cloud-service.html\n+sidebarpath: /start/weave-scope-cloud\n+sidebarweight: 51\n+---\n+\n+Weave Scope automatically detects and monitors every host, container and process in your infrastructure, builds a map showing their inter-communications and then presents an up-to-date view of your infrastructure in a web interface. You can visualize, monitor and control your distributed applications and troubleshoot bottlenecks, memory leaks or any other issues. It does this without requiring changes to your code or configuration, and without having to make declarations about your infrastructure that become out-of-date and stale. \n+\n+While Weave Scope works with Docker and the Weave network, neither is required. Weave Scope can be deployed to any infrastructure, and works well in all cloud and bare-metal environments.\n+\n+If you haven't already signed up for the cloud service, see [scope.weave.works](http://scope.weave.works) for instructions on getting started. \n+\n+You can also run Weave Scope as a stand-alone service, where Weave Scope is run locally to gain insight into your infrastructure. See, [\"Using Weave Scope Standalone to Visualize and Monitor Docker Containers\"](/guides/weave-scope/weave-scope-alone.html) for more information and an example on how to use it. \n+\n+##Running Weave Scope in Cloud Service Mode\n+\n+Once you've received a service-token id, use it to launch a Weave Scope probe on every machine that you want to monitor:\n+\n+~~~bash\n++sudo wget -O /usr/local/bin/scope \\\n++  https://github.com/weaveworks/scope/releases/download/latest_release/scope\n++sudo chmod a+x /usr/local/bin/scope\n+sudo scope launch --service-token=<token>\n+~~~\n+\n+>Note: If you are running Weave Net you can launch a Weave Scope probe onto one host and Weave Net, provided that you have weaveDNS running will discover the rest of the containers. \n+\n+##Launching Weave Scope When Using Weave Net to Connect Containers\n+\n+If you are running Weave Scope on the same machine as the Weave network, the probe uses `weaveDNS` to automatically discover other apps and containers on your network. ","path":"weave-scope-cloud-service/README.md","position":35,"original_position":35,"commit_id":"4b2052f903e038da280806e227bb8c06ebca9a6b","original_commit_id":"4b2052f903e038da280806e227bb8c06ebca9a6b","user":{"login":"tomwilkie","id":444037,"avatar_url":"https://avatars.githubusercontent.com/u/444037?v=3","gravatar_id":"","url":"https://api.github.com/users/tomwilkie","html_url":"https://github.com/tomwilkie","followers_url":"https://api.github.com/users/tomwilkie/followers","following_url":"https://api.github.com/users/tomwilkie/following{/other_user}","gists_url":"https://api.github.com/users/tomwilkie/gists{/gist_id}","starred_url":"https://api.github.com/users/tomwilkie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomwilkie/subscriptions","organizations_url":"https://api.github.com/users/tomwilkie/orgs","repos_url":"https://api.github.com/users/tomwilkie/repos","events_url":"https://api.github.com/users/tomwilkie/events{/privacy}","received_events_url":"https://api.github.com/users/tomwilkie/received_events","type":"User","site_admin":false},"body":"Scope does not use weaveDNS to discover apps and container, rather Scope uses weaveDNS to discover other instances of Scope.  \r\n\r\nTherefore, when running in \"Clouds Service Mode\" the use of weaveDNS is irrelevant, as the the probe will not try and communicate with each other, but rather with the cloud service.","created_at":"2015-12-01T08:16:21Z","updated_at":"2015-12-01T08:16:21Z","html_url":"https://github.com/weaveworks/guides/pull/136#discussion_r46249913","pull_request_url":"https://api.github.com/repos/weaveworks/guides/pulls/136","_links":{"self":{"href":"https://api.github.com/repos/weaveworks/guides/pulls/comments/46249913"},"html":{"href":"https://github.com/weaveworks/guides/pull/136#discussion_r46249913"},"pull_request":{"href":"https://api.github.com/repos/weaveworks/guides/pulls/136"}}},"pull_request":{"url":"https://api.github.com/repos/weaveworks/guides/pulls/136","id":51953776,"html_url":"https://github.com/weaveworks/guides/pull/136","diff_url":"https://github.com/weaveworks/guides/pull/136.diff","patch_url":"https://github.com/weaveworks/guides/pull/136.patch","issue_url":"https://api.github.com/repos/weaveworks/guides/issues/136","number":136,"state":"open","locked":false,"title":"scope guide and help file plus screen captures","user":{"login":"abuehrle","id":13420383,"avatar_url":"https://avatars.githubusercontent.com/u/13420383?v=3","gravatar_id":"","url":"https://api.github.com/users/abuehrle","html_url":"https://github.com/abuehrle","followers_url":"https://api.github.com/users/abuehrle/followers","following_url":"https://api.github.com/users/abuehrle/following{/other_user}","gists_url":"https://api.github.com/users/abuehrle/gists{/gist_id}","starred_url":"https://api.github.com/users/abuehrle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abuehrle/subscriptions","organizations_url":"https://api.github.com/users/abuehrle/orgs","repos_url":"https://api.github.com/users/abuehrle/repos","events_url":"https://api.github.com/users/abuehrle/events{/privacy}","received_events_url":"https://api.github.com/users/abuehrle/received_events","type":"User","site_admin":false},"body":"There are two new files here: \r\n\r\n1. A new guide based on the new stack article that you guys wrote.  \r\n\r\n2. A help file, but I'm wondering how it will be implemented.  Do you want me to put a little menu on the top (something with anchors to the headings in the doc?) so people can jump to topics, i.e. launching probes, command reference, etc.   \r\n\r\nAnyway let me know how you'd like to see the the cloud service reference file and I'll restructure it. \r\n\r\nOh, and anything else I should add as well  @davkal @peterbourgon @paulbellamy ","created_at":"2015-11-27T01:47:10Z","updated_at":"2015-12-01T08:16:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"caf2973cc4bfb75d93e16bd14742f1649e2bd3b8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/weaveworks/guides/pulls/136/commits","review_comments_url":"https://api.github.com/repos/weaveworks/guides/pulls/136/comments","review_comment_url":"https://api.github.com/repos/weaveworks/guides/pulls/comments{/number}","comments_url":"https://api.github.com/repos/weaveworks/guides/issues/136/comments","statuses_url":"https://api.github.com/repos/weaveworks/guides/statuses/4b2052f903e038da280806e227bb8c06ebca9a6b","head":{"label":"weaveworks:weave-scope","ref":"weave-scope","sha":"4b2052f903e038da280806e227bb8c06ebca9a6b","user":{"login":"weaveworks","id":9976052,"avatar_url":"https://avatars.githubusercontent.com/u/9976052?v=3","gravatar_id":"","url":"https://api.github.com/users/weaveworks","html_url":"https://github.com/weaveworks","followers_url":"https://api.github.com/users/weaveworks/followers","following_url":"https://api.github.com/users/weaveworks/following{/other_user}","gists_url":"https://api.github.com/users/weaveworks/gists{/gist_id}","starred_url":"https://api.github.com/users/weaveworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaveworks/subscriptions","organizations_url":"https://api.github.com/users/weaveworks/orgs","repos_url":"https://api.github.com/users/weaveworks/repos","events_url":"https://api.github.com/users/weaveworks/events{/privacy}","received_events_url":"https://api.github.com/users/weaveworks/received_events","type":"Organization","site_admin":false},"repo":{"id":37646411,"name":"guides","full_name":"weaveworks/guides","owner":{"login":"weaveworks","id":9976052,"avatar_url":"https://avatars.githubusercontent.com/u/9976052?v=3","gravatar_id":"","url":"https://api.github.com/users/weaveworks","html_url":"https://github.com/weaveworks","followers_url":"https://api.github.com/users/weaveworks/followers","following_url":"https://api.github.com/users/weaveworks/following{/other_user}","gists_url":"https://api.github.com/users/weaveworks/gists{/gist_id}","starred_url":"https://api.github.com/users/weaveworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaveworks/subscriptions","organizations_url":"https://api.github.com/users/weaveworks/orgs","repos_url":"https://api.github.com/users/weaveworks/repos","events_url":"https://api.github.com/users/weaveworks/events{/privacy}","received_events_url":"https://api.github.com/users/weaveworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/weaveworks/guides","description":"User Guides","fork":false,"url":"https://api.github.com/repos/weaveworks/guides","forks_url":"https://api.github.com/repos/weaveworks/guides/forks","keys_url":"https://api.github.com/repos/weaveworks/guides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weaveworks/guides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weaveworks/guides/teams","hooks_url":"https://api.github.com/repos/weaveworks/guides/hooks","issue_events_url":"https://api.github.com/repos/weaveworks/guides/issues/events{/number}","events_url":"https://api.github.com/repos/weaveworks/guides/events","assignees_url":"https://api.github.com/repos/weaveworks/guides/assignees{/user}","branches_url":"https://api.github.com/repos/weaveworks/guides/branches{/branch}","tags_url":"https://api.github.com/repos/weaveworks/guides/tags","blobs_url":"https://api.github.com/repos/weaveworks/guides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weaveworks/guides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weaveworks/guides/git/refs{/sha}","trees_url":"https://api.github.com/repos/weaveworks/guides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weaveworks/guides/statuses/{sha}","languages_url":"https://api.github.com/repos/weaveworks/guides/languages","stargazers_url":"https://api.github.com/repos/weaveworks/guides/stargazers","contributors_url":"https://api.github.com/repos/weaveworks/guides/contributors","subscribers_url":"https://api.github.com/repos/weaveworks/guides/subscribers","subscription_url":"https://api.github.com/repos/weaveworks/guides/subscription","commits_url":"https://api.github.com/repos/weaveworks/guides/commits{/sha}","git_commits_url":"https://api.github.com/repos/weaveworks/guides/git/commits{/sha}","comments_url":"https://api.github.com/repos/weaveworks/guides/comments{/number}","issue_comment_url":"https://api.github.com/repos/weaveworks/guides/issues/comments{/number}","contents_url":"https://api.github.com/repos/weaveworks/guides/contents/{+path}","compare_url":"https://api.github.com/repos/weaveworks/guides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weaveworks/guides/merges","archive_url":"https://api.github.com/repos/weaveworks/guides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weaveworks/guides/downloads","issues_url":"https://api.github.com/repos/weaveworks/guides/issues{/number}","pulls_url":"https://api.github.com/repos/weaveworks/guides/pulls{/number}","milestones_url":"https://api.github.com/repos/weaveworks/guides/milestones{/number}","notifications_url":"https://api.github.com/repos/weaveworks/guides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weaveworks/guides/labels{/name}","releases_url":"https://api.github.com/repos/weaveworks/guides/releases{/id}","created_at":"2015-06-18T08:08:28Z","updated_at":"2015-12-01T07:40:42Z","pushed_at":"2015-11-27T11:28:42Z","git_url":"git://github.com/weaveworks/guides.git","ssh_url":"git@github.com:weaveworks/guides.git","clone_url":"https://github.com/weaveworks/guides.git","svn_url":"https://github.com/weaveworks/guides","homepage":"http://weave.works/guides","size":16465,"stargazers_count":25,"watchers_count":25,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":30,"forks":15,"open_issues":30,"watchers":25,"default_branch":"master"}},"base":{"label":"weaveworks:master","ref":"master","sha":"3751962b7788b69ab8bf65ba14713c1d2edce684","user":{"login":"weaveworks","id":9976052,"avatar_url":"https://avatars.githubusercontent.com/u/9976052?v=3","gravatar_id":"","url":"https://api.github.com/users/weaveworks","html_url":"https://github.com/weaveworks","followers_url":"https://api.github.com/users/weaveworks/followers","following_url":"https://api.github.com/users/weaveworks/following{/other_user}","gists_url":"https://api.github.com/users/weaveworks/gists{/gist_id}","starred_url":"https://api.github.com/users/weaveworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaveworks/subscriptions","organizations_url":"https://api.github.com/users/weaveworks/orgs","repos_url":"https://api.github.com/users/weaveworks/repos","events_url":"https://api.github.com/users/weaveworks/events{/privacy}","received_events_url":"https://api.github.com/users/weaveworks/received_events","type":"Organization","site_admin":false},"repo":{"id":37646411,"name":"guides","full_name":"weaveworks/guides","owner":{"login":"weaveworks","id":9976052,"avatar_url":"https://avatars.githubusercontent.com/u/9976052?v=3","gravatar_id":"","url":"https://api.github.com/users/weaveworks","html_url":"https://github.com/weaveworks","followers_url":"https://api.github.com/users/weaveworks/followers","following_url":"https://api.github.com/users/weaveworks/following{/other_user}","gists_url":"https://api.github.com/users/weaveworks/gists{/gist_id}","starred_url":"https://api.github.com/users/weaveworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaveworks/subscriptions","organizations_url":"https://api.github.com/users/weaveworks/orgs","repos_url":"https://api.github.com/users/weaveworks/repos","events_url":"https://api.github.com/users/weaveworks/events{/privacy}","received_events_url":"https://api.github.com/users/weaveworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/weaveworks/guides","description":"User Guides","fork":false,"url":"https://api.github.com/repos/weaveworks/guides","forks_url":"https://api.github.com/repos/weaveworks/guides/forks","keys_url":"https://api.github.com/repos/weaveworks/guides/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weaveworks/guides/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weaveworks/guides/teams","hooks_url":"https://api.github.com/repos/weaveworks/guides/hooks","issue_events_url":"https://api.github.com/repos/weaveworks/guides/issues/events{/number}","events_url":"https://api.github.com/repos/weaveworks/guides/events","assignees_url":"https://api.github.com/repos/weaveworks/guides/assignees{/user}","branches_url":"https://api.github.com/repos/weaveworks/guides/branches{/branch}","tags_url":"https://api.github.com/repos/weaveworks/guides/tags","blobs_url":"https://api.github.com/repos/weaveworks/guides/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weaveworks/guides/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weaveworks/guides/git/refs{/sha}","trees_url":"https://api.github.com/repos/weaveworks/guides/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weaveworks/guides/statuses/{sha}","languages_url":"https://api.github.com/repos/weaveworks/guides/languages","stargazers_url":"https://api.github.com/repos/weaveworks/guides/stargazers","contributors_url":"https://api.github.com/repos/weaveworks/guides/contributors","subscribers_url":"https://api.github.com/repos/weaveworks/guides/subscribers","subscription_url":"https://api.github.com/repos/weaveworks/guides/subscription","commits_url":"https://api.github.com/repos/weaveworks/guides/commits{/sha}","git_commits_url":"https://api.github.com/repos/weaveworks/guides/git/commits{/sha}","comments_url":"https://api.github.com/repos/weaveworks/guides/comments{/number}","issue_comment_url":"https://api.github.com/repos/weaveworks/guides/issues/comments{/number}","contents_url":"https://api.github.com/repos/weaveworks/guides/contents/{+path}","compare_url":"https://api.github.com/repos/weaveworks/guides/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weaveworks/guides/merges","archive_url":"https://api.github.com/repos/weaveworks/guides/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weaveworks/guides/downloads","issues_url":"https://api.github.com/repos/weaveworks/guides/issues{/number}","pulls_url":"https://api.github.com/repos/weaveworks/guides/pulls{/number}","milestones_url":"https://api.github.com/repos/weaveworks/guides/milestones{/number}","notifications_url":"https://api.github.com/repos/weaveworks/guides/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weaveworks/guides/labels{/name}","releases_url":"https://api.github.com/repos/weaveworks/guides/releases{/id}","created_at":"2015-06-18T08:08:28Z","updated_at":"2015-12-01T07:40:42Z","pushed_at":"2015-11-27T11:28:42Z","git_url":"git://github.com/weaveworks/guides.git","ssh_url":"git@github.com:weaveworks/guides.git","clone_url":"https://github.com/weaveworks/guides.git","svn_url":"https://github.com/weaveworks/guides","homepage":"http://weave.works/guides","size":16465,"stargazers_count":25,"watchers_count":25,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":30,"forks":15,"open_issues":30,"watchers":25,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/weaveworks/guides/pulls/136"},"html":{"href":"https://github.com/weaveworks/guides/pull/136"},"issue":{"href":"https://api.github.com/repos/weaveworks/guides/issues/136"},"comments":{"href":"https://api.github.com/repos/weaveworks/guides/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/weaveworks/guides/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/weaveworks/guides/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/weaveworks/guides/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/weaveworks/guides/statuses/4b2052f903e038da280806e227bb8c06ebca9a6b"}}}}