Writing · Research Computing

Campus cluster, national resources, or the cloud? How to choose where to run your research

← All writing

At some point a laptop stops being enough. The analysis runs overnight and then crashes, the data won't fit in memory, or you need to run the same model two hundred times. The question then isn't whether to get more computing power. It's where to get it.

There are three common answers: a cluster run by your campus, a free national service, or a commercial cloud such as AWS. None of them is the best one. They fit different jobs, and the right choice usually comes down to a handful of plain questions.

The three options, briefly

A campus cluster is a shared set of machines run by your institution's IT or research computing staff. You log in, submit jobs to a queue, and wait your turn. It's usually free to the researcher, close to home, and set up with local data rules in mind. Many small institutions don't have one.

Free national computing means services funded to support researchers across the country. They're open to people at small colleges as well as large universities, and they can handle work far bigger than a campus machine. You apply, get an allocation, and learn their way of doing things. The OSPool or ACCESS article explains two of the main ones, and national research computing for small institutions covers how to get started.

A commercial cloud rents you machines by the hour. You can have exactly the size you need within minutes, and you pay for what you use. There's also a middle path: hosted tools such as RStudio or JupyterLab that run in the cloud so a class or lab doesn't need anyone to maintain a server.

Five questions that decide it

1. How big is the job? If it's many small, independent runs (a parameter sweep, a simulation repeated with different seeds), national high-throughput computing is built for that. If it's one large job that needs lots of memory or tightly linked processors, look at a cluster or a national high-performance service.

2. How sensitive is the data? Restricted data, such as identifiable records covered by a data use agreement, may have to stay in an approved environment. Read the data use agreements article, then ask before you copy anything anywhere. Don't assume a free national service or a cloud account is allowed.

3. How long does it run? Short and bursty favors the cloud. Steady, long-running work favors a cluster or an allocation, where you aren't billed by the hour.

4. Who will help you? A cluster with a friendly support person beats a faster system with nobody to ask. Check whether your campus, or the national service, offers office hours or onboarding.

5. Who pays, and who turns it off? A cloud bill is a real bill. Set a budget alert, tag your resources, and shut things down when you're done. A forgotten machine is the most common way a small grant gets an unpleasant surprise.

A reasonable way to start

Try the free options first, then pay for what they can't do. Start on your campus cluster if you have one. If you don't, or the job is too big, apply for a national allocation. Use the cloud for short bursts, for teaching, or when you need a specific setup nobody else offers. Many projects end up using more than one.

Whichever you pick, a few habits carry over. Keep your code in version control (see Git for researchers), write down your software versions so the work is reproducible, and start with a tiny test job before you run the full thing. The first-job guide walks through that last step on a cluster.

For the bigger picture, the research computing guide collects these articles in one place.

Common questions

Is the cloud always more expensive than a cluster? Not always, and not always cheaper. A campus cluster often looks free to you because someone else pays for it. The cloud charges for what you use, which is a good deal for short, bursty work and a poor one for months of constant running. Get a real estimate for your job before deciding.

Can a small college without its own cluster still do large-scale research? Yes. Free national services, such as the ones covered in the OSPool and ACCESS article, are open to researchers at institutions of all sizes. A hosted notebook or RStudio in the cloud also works for classes and small labs.

What should I ask before moving data to the cloud? Whether your data use agreement, IRB protocol, or funder allows it, who pays, and who is responsible for shutting things off. Sensitive data may need a specific, approved setup, so ask your research office or IT security before you upload anything.

Do I need to learn Linux first? For a cluster or national service, yes, a little. The first-job guide walks through the basics. A hosted RStudio or Jupyter session needs no Linux at all.


Samah Alshrief, Ph.D.

AI data scientist and research-computing specialist. I help researchers and universities with research data management, data services, and private AI. Get in touch →