You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/cloudlab.md
+71-30
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,23 @@
1
1
# CloudLab getting started guide
2
2
3
-
## Create CloudLab experiments
3
+
## 1 Prerequisites
4
4
5
5
First, submit an account request to CloudLab (https://www.cloudlab.us/). Things to note:
6
6
7
-
-Select "Join Existing Project" and type: `Sieve-Acto`
7
+
-If you're an internal member, select "Join Existing Project" and type: `Sieve-Acto`. Otherwise, you'll have to join other existing projects or create a new one, which is not detailed here.
8
8
- The username and key you provide will be used for SSH login
9
9
10
10
Wait for the admin to approve your account. Once you are able to login, familiarize yourself with the web-based dashboard, and [the concept of *profiles* and *experiments*](https://docs.cloudlab.us/basic-concepts.html).
11
11
12
-
Although you should be able to login onto any machine instantiated by your project collaborators (i.e. a Linux user will be automatically created for you on every machine with `authorized_keys` set up), our current practice is to let everyone run code **on their own experiments**.
12
+
Although you should be able to log in to any machine instantiated by your project collaborators (i.e. a Linux user will be automatically created for you on every machine with `authorized_keys` set up), for us (`Sieve-Acto`), the current practice is to let everyone run code **on their own experiments**.
13
+
14
+
Next you'll prepare the dependencies either manually ([section 2](#2-manually-set-up-the-dependencies)) or automatically ([section 3](#3-automatically-set-up-the-dependencies), recommended).
15
+
16
+
## 2 Manually set up the dependencies
17
+
18
+
<details><summary>Click to show details</summary>
19
+
20
+
### 2.1 Create CloudLab experiments
13
21
14
22
Launch an experiment via the web dashboard:
15
23
@@ -18,56 +26,89 @@ Launch an experiment via the web dashboard:
18
26
- "Select OS image": `UBUNTU 20.04`
19
27
- "Optional physical node type": `c6420`
20
28
- Leave other parameters as default. (Especially those regarding temporary filesystem -- we'll deal with it after provisioning using Ansible.)
21
-
3. "Next". Give your experiment a name. "Next". "Next".
29
+
3. "Next". Give your experiment a name. "Next". "Finish".
22
30
23
-
Wait for the provisioning to finish. The web dashboard will show you the server address, in the form of `clnodeXXX.clemson.cloudlab.us`.
31
+
Wait for the provisioning to finish. The web dashboard will show you the server address, in the form of `<node>.<cluster>.cloudlab.us`. E.g. `clnode123.clemson.cloudlab.us`.
24
32
25
-
##Configure CloudLab machines
33
+
### 2.2 Install dependencies
26
34
27
-
We are going to manage CloudLab machines with Ansible **from our local machine**. (Ideally this "local machine" can be a CloudLab one too. However, the scripts were not designed to do so and may mess things up. For the time being, minor tweaks are needed in order to let them function properly in such cases.)
35
+
We are going to manage CloudLab machines with Ansible from a controller node. This "controller" can be your local machine, or one of the CloudLab machines themselves.
0 commit comments