Cloud Lab

Introduction to CloudLab

1. CloudLab

Account creation forms
1
2
3
4
5
6
## 2. Setup SSH


- Download and install [Windows Terminal from the Microsoft Store](https://www.microsoft.com/en-us/p/windows-terminal/9n0dx20hk701?activetab=pivot:overviewtab).

1
2
3
4
5
6
7
8

- First, you need to check to see if you already have SSH key. If you have done `csc231` or are working 
in classes using GitHub classroom, it is likely that you already setup your SSH keys. 
  - Run the following command

```bash
cat ~/.ssh/id_rsa.pub
Public key generated

:::{admonition} No SSH Key

1
2
cd
ssh-keygen -t rsa
Generate SSH keys
1
cat ~/.ssh/id_rsa.pub
Public key generated

:::

Manage SSH Keys box
Paste SSH keys
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24


## 3. CloudLab Profiles and Experiments


- Login to your CloudLab account, click `Experiments` on top left, 
select `My Profiles`. 
- Click on `Project Profiles` tab
- Find and select the `SEEDLab` profile 
- Click `Instantiate` from the `seed-software` branch. 
  - Click `Next` on `Select a Profile`. 
  - Click `Next` on `Parameterize`, unless you want to change the password
  - On `Finalize`:
    - For `Name`, provide your WCUPA username
    - If you have a dropdown option on Project, select `SecureEDU`. Don't worry 
    about it if you don't have one. 
    - For `Cluster`, select `Emulab`
    - Then click `Next`
  - On `Schedule`, don't do anything, just click `Finish`. 
- You need to wait until the `State` become `Ready` **and** under the `List View` tab, `Startup` becomes `Finished`. 
- You can use the command under the `SSH command` box to log into your experiment. 
- Run `sudo su - seed` to become the `seed` user.