{"action":"created","comment":{"url":"https://api.github.com/repos/sirca/clusterous/pulls/comments/55150101","id":55150101,"diff_hunk":"@@ -0,0 +1,278 @@\n+# Environments: Running your application\n+\n+Clusterous is designed around Docker, which is a technology and suite of tools for running lightweight application \"containers\".\n+\n+This document is a guide to running your Docker-based cluster application on a Clusterous cluster.\n+\n+## Prerequisites\n+\n+This guide assumes you are familiar with Docker and have already made your application run in a Docker container in a test environment. Refer to Appendix [TODO: LINK] for information on getting started with Docker.\n+\n+## Background\n+In order to deploy an parallel compute application on to a compute cluster, a number of actions must take place. They including many or all of the following:\n+\n+- building an updated Docker image (or images) for your application and making them available on the cluster\n+- copying any additional files that your application needs, but hasn't been included in the Docker images. These may include configuration files, launch scripts, input data, etc.\n+- running all the Docker containers correctly, across all the nodes in the cluster, with each using the appropriate resources, etc.\n+- a connection between the client machine and the cluster; if your application has a web based interface (e.g. the Jupyter notebook) or any other kind of external interface, you need to be able to easily access it\n+\n+The Clusterous Environment file feature provides an easy way to achieve all of the above with a single step.\n+\n+\n+\n+Once you have made your application run inside a Docker container, you need to provide Clusterous a way of deploying it on to the cluster. This is done by means of an environment file that describes how to do so.\n+\n+An environment file is a special YAML file that provides Clusterous instructions to build the Docker images for your application, copy files to the cluster, run containers correctly, and create an SSH tunnel if necessary.\n+\n+## Running the Docker application in Clusterous\n+There are two things to keep in mind when making your application run correctly in a Clusterous cluster.\n+\n+- \n+- All Clusterous clusters have a dedicated \"shared volume\", which is an NFS volume accessible to all nodes. This volume is mounted in /home/data, and is typically used for launch scripts, common configuration files and so on, as well as for your application's input/output data.\n+","path":"docs/manual/06_Environments.md","position":32,"original_position":32,"commit_id":"3d3e49067601c777152efdecf0ae03a5cc14ce0c","original_commit_id":"3d3e49067601c777152efdecf0ae03a5cc14ce0c","user":{"login":"lolo-fernandez-sirca","id":8624374,"avatar_url":"https://avatars.githubusercontent.com/u/8624374?v=3","gravatar_id":"","url":"https://api.github.com/users/lolo-fernandez-sirca","html_url":"https://github.com/lolo-fernandez-sirca","followers_url":"https://api.github.com/users/lolo-fernandez-sirca/followers","following_url":"https://api.github.com/users/lolo-fernandez-sirca/following{/other_user}","gists_url":"https://api.github.com/users/lolo-fernandez-sirca/gists{/gist_id}","starred_url":"https://api.github.com/users/lolo-fernandez-sirca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lolo-fernandez-sirca/subscriptions","organizations_url":"https://api.github.com/users/lolo-fernandez-sirca/orgs","repos_url":"https://api.github.com/users/lolo-fernandez-sirca/repos","events_url":"https://api.github.com/users/lolo-fernandez-sirca/events{/privacy}","received_events_url":"https://api.github.com/users/lolo-fernandez-sirca/received_events","type":"User","site_admin":false},"body":"Looks like one bullet point is missing. Is that right?","created_at":"2016-03-06T22:39:35Z","updated_at":"2016-03-06T22:39:35Z","html_url":"https://github.com/sirca/clusterous/pull/117#discussion_r55150101","pull_request_url":"https://api.github.com/repos/sirca/clusterous/pulls/117","_links":{"self":{"href":"https://api.github.com/repos/sirca/clusterous/pulls/comments/55150101"},"html":{"href":"https://github.com/sirca/clusterous/pull/117#discussion_r55150101"},"pull_request":{"href":"https://api.github.com/repos/sirca/clusterous/pulls/117"}}},"pull_request":{"url":"https://api.github.com/repos/sirca/clusterous/pulls/117","id":61670100,"html_url":"https://github.com/sirca/clusterous/pull/117","diff_url":"https://github.com/sirca/clusterous/pull/117.diff","patch_url":"https://github.com/sirca/clusterous/pull/117.patch","issue_url":"https://api.github.com/repos/sirca/clusterous/issues/117","number":117,"state":"open","locked":false,"title":"Added create/destroy and environments options. Plus ToC","user":{"login":"balram-ramanathan-sirca","id":6193863,"avatar_url":"https://avatars.githubusercontent.com/u/6193863?v=3","gravatar_id":"","url":"https://api.github.com/users/balram-ramanathan-sirca","html_url":"https://github.com/balram-ramanathan-sirca","followers_url":"https://api.github.com/users/balram-ramanathan-sirca/followers","following_url":"https://api.github.com/users/balram-ramanathan-sirca/following{/other_user}","gists_url":"https://api.github.com/users/balram-ramanathan-sirca/gists{/gist_id}","starred_url":"https://api.github.com/users/balram-ramanathan-sirca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balram-ramanathan-sirca/subscriptions","organizations_url":"https://api.github.com/users/balram-ramanathan-sirca/orgs","repos_url":"https://api.github.com/users/balram-ramanathan-sirca/repos","events_url":"https://api.github.com/users/balram-ramanathan-sirca/events{/privacy}","received_events_url":"https://api.github.com/users/balram-ramanathan-sirca/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-04T05:49:50Z","updated_at":"2016-03-06T22:39:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"766f3c1085491b1c261cdcd4c514415b83aaa885","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sirca/clusterous/pulls/117/commits","review_comments_url":"https://api.github.com/repos/sirca/clusterous/pulls/117/comments","review_comment_url":"https://api.github.com/repos/sirca/clusterous/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sirca/clusterous/issues/117/comments","statuses_url":"https://api.github.com/repos/sirca/clusterous/statuses/3d3e49067601c777152efdecf0ae03a5cc14ce0c","head":{"label":"sirca:BDKD-467-parameters_and_environment","ref":"BDKD-467-parameters_and_environment","sha":"3d3e49067601c777152efdecf0ae03a5cc14ce0c","user":{"login":"sirca","id":3347619,"avatar_url":"https://avatars.githubusercontent.com/u/3347619?v=3","gravatar_id":"","url":"https://api.github.com/users/sirca","html_url":"https://github.com/sirca","followers_url":"https://api.github.com/users/sirca/followers","following_url":"https://api.github.com/users/sirca/following{/other_user}","gists_url":"https://api.github.com/users/sirca/gists{/gist_id}","starred_url":"https://api.github.com/users/sirca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirca/subscriptions","organizations_url":"https://api.github.com/users/sirca/orgs","repos_url":"https://api.github.com/users/sirca/repos","events_url":"https://api.github.com/users/sirca/events{/privacy}","received_events_url":"https://api.github.com/users/sirca/received_events","type":"Organization","site_admin":false},"repo":{"id":36404299,"name":"clusterous","full_name":"sirca/clusterous","owner":{"login":"sirca","id":3347619,"avatar_url":"https://avatars.githubusercontent.com/u/3347619?v=3","gravatar_id":"","url":"https://api.github.com/users/sirca","html_url":"https://github.com/sirca","followers_url":"https://api.github.com/users/sirca/followers","following_url":"https://api.github.com/users/sirca/following{/other_user}","gists_url":"https://api.github.com/users/sirca/gists{/gist_id}","starred_url":"https://api.github.com/users/sirca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirca/subscriptions","organizations_url":"https://api.github.com/users/sirca/orgs","repos_url":"https://api.github.com/users/sirca/repos","events_url":"https://api.github.com/users/sirca/events{/privacy}","received_events_url":"https://api.github.com/users/sirca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sirca/clusterous","description":"Cluster computing tool to deploy Docker containers on AWS","fork":false,"url":"https://api.github.com/repos/sirca/clusterous","forks_url":"https://api.github.com/repos/sirca/clusterous/forks","keys_url":"https://api.github.com/repos/sirca/clusterous/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sirca/clusterous/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sirca/clusterous/teams","hooks_url":"https://api.github.com/repos/sirca/clusterous/hooks","issue_events_url":"https://api.github.com/repos/sirca/clusterous/issues/events{/number}","events_url":"https://api.github.com/repos/sirca/clusterous/events","assignees_url":"https://api.github.com/repos/sirca/clusterous/assignees{/user}","branches_url":"https://api.github.com/repos/sirca/clusterous/branches{/branch}","tags_url":"https://api.github.com/repos/sirca/clusterous/tags","blobs_url":"https://api.github.com/repos/sirca/clusterous/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sirca/clusterous/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sirca/clusterous/git/refs{/sha}","trees_url":"https://api.github.com/repos/sirca/clusterous/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sirca/clusterous/statuses/{sha}","languages_url":"https://api.github.com/repos/sirca/clusterous/languages","stargazers_url":"https://api.github.com/repos/sirca/clusterous/stargazers","contributors_url":"https://api.github.com/repos/sirca/clusterous/contributors","subscribers_url":"https://api.github.com/repos/sirca/clusterous/subscribers","subscription_url":"https://api.github.com/repos/sirca/clusterous/subscription","commits_url":"https://api.github.com/repos/sirca/clusterous/commits{/sha}","git_commits_url":"https://api.github.com/repos/sirca/clusterous/git/commits{/sha}","comments_url":"https://api.github.com/repos/sirca/clusterous/comments{/number}","issue_comment_url":"https://api.github.com/repos/sirca/clusterous/issues/comments{/number}","contents_url":"https://api.github.com/repos/sirca/clusterous/contents/{+path}","compare_url":"https://api.github.com/repos/sirca/clusterous/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sirca/clusterous/merges","archive_url":"https://api.github.com/repos/sirca/clusterous/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sirca/clusterous/downloads","issues_url":"https://api.github.com/repos/sirca/clusterous/issues{/number}","pulls_url":"https://api.github.com/repos/sirca/clusterous/pulls{/number}","milestones_url":"https://api.github.com/repos/sirca/clusterous/milestones{/number}","notifications_url":"https://api.github.com/repos/sirca/clusterous/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sirca/clusterous/labels{/name}","releases_url":"https://api.github.com/repos/sirca/clusterous/releases{/id}","deployments_url":"https://api.github.com/repos/sirca/clusterous/deployments","created_at":"2015-05-28T00:25:31Z","updated_at":"2016-01-15T04:41:22Z","pushed_at":"2016-03-04T06:04:02Z","git_url":"git://github.com/sirca/clusterous.git","ssh_url":"git@github.com:sirca/clusterous.git","clone_url":"https://github.com/sirca/clusterous.git","svn_url":"https://github.com/sirca/clusterous","homepage":"","size":14127,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":5,"default_branch":"master"}},"base":{"label":"sirca:BDKD-455-user_manual","ref":"BDKD-455-user_manual","sha":"961f39f47f79cb19cde5e5638294202cae2c84a9","user":{"login":"sirca","id":3347619,"avatar_url":"https://avatars.githubusercontent.com/u/3347619?v=3","gravatar_id":"","url":"https://api.github.com/users/sirca","html_url":"https://github.com/sirca","followers_url":"https://api.github.com/users/sirca/followers","following_url":"https://api.github.com/users/sirca/following{/other_user}","gists_url":"https://api.github.com/users/sirca/gists{/gist_id}","starred_url":"https://api.github.com/users/sirca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirca/subscriptions","organizations_url":"https://api.github.com/users/sirca/orgs","repos_url":"https://api.github.com/users/sirca/repos","events_url":"https://api.github.com/users/sirca/events{/privacy}","received_events_url":"https://api.github.com/users/sirca/received_events","type":"Organization","site_admin":false},"repo":{"id":36404299,"name":"clusterous","full_name":"sirca/clusterous","owner":{"login":"sirca","id":3347619,"avatar_url":"https://avatars.githubusercontent.com/u/3347619?v=3","gravatar_id":"","url":"https://api.github.com/users/sirca","html_url":"https://github.com/sirca","followers_url":"https://api.github.com/users/sirca/followers","following_url":"https://api.github.com/users/sirca/following{/other_user}","gists_url":"https://api.github.com/users/sirca/gists{/gist_id}","starred_url":"https://api.github.com/users/sirca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirca/subscriptions","organizations_url":"https://api.github.com/users/sirca/orgs","repos_url":"https://api.github.com/users/sirca/repos","events_url":"https://api.github.com/users/sirca/events{/privacy}","received_events_url":"https://api.github.com/users/sirca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sirca/clusterous","description":"Cluster computing tool to deploy Docker containers on AWS","fork":false,"url":"https://api.github.com/repos/sirca/clusterous","forks_url":"https://api.github.com/repos/sirca/clusterous/forks","keys_url":"https://api.github.com/repos/sirca/clusterous/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sirca/clusterous/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sirca/clusterous/teams","hooks_url":"https://api.github.com/repos/sirca/clusterous/hooks","issue_events_url":"https://api.github.com/repos/sirca/clusterous/issues/events{/number}","events_url":"https://api.github.com/repos/sirca/clusterous/events","assignees_url":"https://api.github.com/repos/sirca/clusterous/assignees{/user}","branches_url":"https://api.github.com/repos/sirca/clusterous/branches{/branch}","tags_url":"https://api.github.com/repos/sirca/clusterous/tags","blobs_url":"https://api.github.com/repos/sirca/clusterous/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sirca/clusterous/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sirca/clusterous/git/refs{/sha}","trees_url":"https://api.github.com/repos/sirca/clusterous/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sirca/clusterous/statuses/{sha}","languages_url":"https://api.github.com/repos/sirca/clusterous/languages","stargazers_url":"https://api.github.com/repos/sirca/clusterous/stargazers","contributors_url":"https://api.github.com/repos/sirca/clusterous/contributors","subscribers_url":"https://api.github.com/repos/sirca/clusterous/subscribers","subscription_url":"https://api.github.com/repos/sirca/clusterous/subscription","commits_url":"https://api.github.com/repos/sirca/clusterous/commits{/sha}","git_commits_url":"https://api.github.com/repos/sirca/clusterous/git/commits{/sha}","comments_url":"https://api.github.com/repos/sirca/clusterous/comments{/number}","issue_comment_url":"https://api.github.com/repos/sirca/clusterous/issues/comments{/number}","contents_url":"https://api.github.com/repos/sirca/clusterous/contents/{+path}","compare_url":"https://api.github.com/repos/sirca/clusterous/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sirca/clusterous/merges","archive_url":"https://api.github.com/repos/sirca/clusterous/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sirca/clusterous/downloads","issues_url":"https://api.github.com/repos/sirca/clusterous/issues{/number}","pulls_url":"https://api.github.com/repos/sirca/clusterous/pulls{/number}","milestones_url":"https://api.github.com/repos/sirca/clusterous/milestones{/number}","notifications_url":"https://api.github.com/repos/sirca/clusterous/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sirca/clusterous/labels{/name}","releases_url":"https://api.github.com/repos/sirca/clusterous/releases{/id}","deployments_url":"https://api.github.com/repos/sirca/clusterous/deployments","created_at":"2015-05-28T00:25:31Z","updated_at":"2016-01-15T04:41:22Z","pushed_at":"2016-03-04T06:04:02Z","git_url":"git://github.com/sirca/clusterous.git","ssh_url":"git@github.com:sirca/clusterous.git","clone_url":"https://github.com/sirca/clusterous.git","svn_url":"https://github.com/sirca/clusterous","homepage":"","size":14127,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sirca/clusterous/pulls/117"},"html":{"href":"https://github.com/sirca/clusterous/pull/117"},"issue":{"href":"https://api.github.com/repos/sirca/clusterous/issues/117"},"comments":{"href":"https://api.github.com/repos/sirca/clusterous/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/sirca/clusterous/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/sirca/clusterous/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sirca/clusterous/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/sirca/clusterous/statuses/3d3e49067601c777152efdecf0ae03a5cc14ce0c"}}}}