Skip to content

Commit e11a3f7

Browse files
committed
add more cloud sections and docs
1 parent ed88b09 commit e11a3f7

5 files changed

Lines changed: 159 additions & 5 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Start here!
22

3-
We facilitate access to cloud computing resources and host an OpenShift Kubernetes cluster on-prem.
3+
We facilitate access to cloud computing resources (GCP) for research, HPC Bursting, visualizaton and host an OpenShift Kubernetes cluster on-prem.
44

docs/cloud/02_gcp_self_managed/01_intro.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ The NYU Research Cloud team does not currently offer training on how to deploy a
3636
- Through the [Google For Education][google-for-edu] program, GCP offers training credits and discounts to Students, Faculty, and IT Admins. To apply for training credits and discounts, please [click here](https://services.google.com/fb/forms/googlecloudskillsbooststudenttrainingcreditsapplication/).
3737
- [Getting started with Google Cloud Platform][gcp-get-started] offers quick starts and sample projects on GCP.
3838

39-
## How can I fund my research project on GCP? - GCP Credits for Research
40-
### GCP Free Tier:
39+
## How can I fund my research project on GCP?
40+
### GCP Free Tier
4141
Apply for credits using your NYU account (https://cloud.google.com/free/). After credits expire, if you would like to switch to another type of funding and are approved to do so, we will modify your project so it can use other funds:
4242
- https://edu.google.com/programs/credits/research/?modal_active=none
4343
- https://edu.google.com/programs/?modal_active=none
44-
### Sources of funding for GCP project:
44+
### Sources of funding for GCP project
4545
Please consider options below and explore other options which may exist for your specific field.
4646
- Google Cloud research credits
4747
- NIH STRIDES
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# NIH Strides
2+
3+
[nih-strides]: https://cloud.nih.gov/
4+
5+
The NIH Science and Technology Research Infrastructure for Discovery, Experimentation, and Sustainability ([STRIDES][nih-strides]) Initiative allows NIH to explore the use of cloud environments to streamline NIH data use by partnering with commercial providers (GCP/AWS). The NIH STRIDES Initiative:
6+
- Provides biomedical researchers with access to advanced, cost-effective cloud computing infrastructure, tools, and resources
7+
- Enable researchers to work collaboratively in the cloud by establishing an interconnected ecosystem of biomedical research data
8+
- Equip researchers with emerging cloud solutions for data management & computation to enable experimentation and innovation
9+
10+
The benefits of participating in NIH Strides program include:
11+
- Pre-negotiated favorable pricing for cloud services
12+
- Access to training to help researchers harness the power of the cloud
13+
- Receive opportunities for professional service engagements to help drive success
14+
- Receive guidance for best practices in areas such as data storage, governance, and controlled access
15+
16+
## Enrolling to the NIH Strides initiative
17+
18+
NYU has enrolled in the NIH Strides initiative in December 2020 by signing an agreement with Carahsoft, GCP's billing and administrative partner. Thus NIH-funded NYU researchers with an active NIH award may take advantage of the STRIDES Initiative for their NIH-funded research projects. The NYU RTS team works closely with Burwood Group, a GCP reseller, to provide access to GCP resources for NYU researchers who are approved to participate in the NIH STRIDES initiative. NYU researchers who wish to participate must follow the steps outlined below.
19+
20+
21+
## Contacts
22+
- For general questions about Research Cloud/GCP please email the NYU HPC Research Cloud team: hpc-cloud@nyu.edu
23+
- To learn more about the NIH Strides Initiative, email the team at strides@nih.gov
Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,59 @@
11
# HPC Bursting
22

3-
We facilitate access to cloud bursting.
3+
[gcp-cost-calculator]: https://cloudpricingcalculator.appspot.com/
4+
[bursting-form]: https://sites.google.com/nyu.edu/nyu-hpc/hpc-systems/cloud-computing/hpc-bursting-to-cloud/hpc-bursting-request-form?authuser=0
5+
6+
HPC may provide bursting capabilities to researchers or classes, in some cases, in order to augment the available resources. Bursting is ideal for when you need a large amount of resources for a very short period of time. The way that bursting is made possible is by running a scalable SLURM cluster in the Google Cloud Platform (GCP), which is separate from the on-premise HPC clusters.
7+
8+
Bursting is not available to all users and requires advanced approval. In order to get access to these capabilities, please contact hpc@nyu.edu to check your eligibility. Please let us know the amount of storage, total CPUs, Memory, GPU, the number of days you require access, and the estimated total CPU/GPU hours you will use. For reference, please review the [GCP cost calculator][gcp-cost-calculator]. Please send a copy of your cost calculation to hpc@nyu.edu as well.
9+
10+
:::tip
11+
To request access to the HPC Bursting capabilities, [please complete this form][bursting-form].
12+
:::
13+
14+
## Running a Bursting Job
15+
Note: this is not public, only per request of eligible classes or researchers
16+
```sh
17+
ssh <NetID>@greene.hpc.nyu.edu
18+
```
19+
ssh to the class on GCP (burst login node) - anyone can login but you can only submit jobs if you have approval
20+
```sh
21+
ssh burst
22+
```
23+
Start an interactive job
24+
```sh
25+
srun --account=hpc --partition=interactive --pty /bin/bash
26+
```
27+
If you got an error "Invalid account or account/partition combination specified" it means your account is not approved to use cloud bursting.
28+
29+
Once your files are copied to the bursting instance you can run a batch job from the interactive session.
30+
31+
## Access to Slurm Partitions
32+
In the example above the partition "interactive" is used. You can list current partitions by running command
33+
```sh
34+
sinfo
35+
```
36+
37+
However, approval is required to submit jobs to the partitions. Partitions are set up by the resources available to a job, such as the number of CPU, amount of memory, and number of GPUs. Please email hpc@nyu.edu to request access to a specific partition or create a new partition (e.g. 10 CPUs and 64 GB Memory) for more optimal cost/performance of your job.
38+
39+
### Storage
40+
41+
Greene's `/home` and `/scratch` are mounted (available) at login node of bursting setup.
42+
43+
Compute node however, do have independent `/home` and `/scratch`. These `/home` and `/scratch` mounts are persistent, are available from any compute node and independent from `/home` and `/scratch` at Greene.
44+
45+
User may need to copy data from Greene's `/home` or `/scratch` to GCP mounted `/home` or `/scratch`
46+
47+
When you run a bursting job the compute nodes will not see those file mounts. This means that you need to copy data to the burst instance.
48+
49+
The file systems are independent, so you must copy data to the GCP location.
50+
51+
To copy data, you must first start an interactive job. Once started, you can copy your data using scp from the HPC Data Transfer Nodes (greene-dtn). Below is the basic setup to copy files from Greene to your home directory while you are in an interactive bursting job:
52+
```sh
53+
scp <NetID>@greene-dtn.hpc.nyu.edu:/path/to/files /home/<NetID>/
54+
```
55+
56+
57+
### Current Limits
58+
59+
20,000 CPUs available at any given time for all active bursting users
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
# Visualization Workstations
2+
3+
[vnc-clients]: https://help.ubuntu.com/community/VNC/Clients
4+
5+
The burst cluster includes a partition (`nvgrid`) that can be used to run graphical applications on NVIDIA GPUs for visualization purposes. You can use this partition by following the instructions below.
6+
7+
8+
Add the following to your SSH config file (~/.ssh/config) on your local workstation so that you can log into the burst login node directly:
9+
```sh
10+
Host burst
11+
12+
HostName burst.hpc.nyu.edu
13+
14+
User <NetID>
15+
16+
ProxyJump <NetID>@greene.hpc.nyu.edu
17+
18+
ProxyJump <NetID>@burst.hpc.nyu.edu
19+
20+
StrictHostKeyChecking no
21+
22+
UserKnownHostsFile /dev/null
23+
24+
LogLevel ERROR
25+
```
26+
27+
Log into the burst login node by running `ssh <NetID>@burst` while on-campus or connected to the VPN. Run the following command on the login node to request an interactive command line session:
28+
```sh
29+
srun --account=hpc --partition=nvgrid --gres=gpu:p100:1 --pty /bin/bash
30+
```
31+
32+
When your interaction session is active, run the following command to start the VNC (remote desktop) server. If this is the first time you’ve used a visualization node, you will be prompted to set a password to use when you access your remote session:
33+
```sh
34+
/opt/TurboVNC/bin/vncserver
35+
```
36+
37+
Note the hostname of the node that you are running on. This hostname is displayed in the NODELIST column of the output from the squeue command:
38+
```
39+
[NetID@b-23-1 ~]$ squeue
40+
41+
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
42+
43+
44+
45+
92727 nvgrid bash jp6546 R 2:55 1 b-23-1
46+
```
47+
48+
In another terminal on your local machine, run the following command:
49+
```
50+
ssh -N -L 5901:<Hostname>:5901 <NetID>@burst
51+
```
52+
This command will ensure that you can connect to the remote desktop service from your local computer.
53+
54+
55+
If you do not already have a VNC remote desktop client installed on your computer, you will need to install one. A list of VNC clients available for various platforms can be found [here][vnc-clients]. Note that Mac OS X comes with a built-in VNC client, which is accessible from the Finder by navigating to Go → Connect to Server and then typing vnc:// at the beginning of the server field.
56+
57+
Within your VNC client, connect to `localhost:5901` (`vnc://localhost:5901` on Mac OS).
58+
59+
You should now be presented with a desktop environment. If you are using any OpenGL-based applications that are started from a terminal, be sure to type vglrun before the command name in order to ensure that the application uses the GPU.
60+
61+
After your first time using the `nvgrid` partition, you can start the remote desktop server non-interactively using the following batch script (although you will need to remember the password that you set in step 3). Note that the sleep command should have the length of time that you want the server to run (in seconds) after it (3600 seconds for 1 hour in the example below).
62+
```sh
63+
#!/bin/bash
64+
65+
#SBATCH --gres=gpu:p100:1
66+
#SBATCH --partition=nvgridk
67+
#SBATCH --account=hpc
68+
#SBATCH --job-name=vnc
69+
#SBATCH --time=1:00
70+
#SBATCH --output=slurm_%j.out
71+
72+
/opt/TurboVNC/bin/vncserver
73+
74+
sleep 3600
75+
```

0 commit comments

Comments
 (0)