« BACK TO MAIN
Skip to main content Link Search Menu Expand Document (external link)

Internet of Things and High-Availability Services

Research that utilizes remote-sensing devices or mobile apps that need to communicate back to a central server can be run very cost-effectively in the cloud; indeed, in a sense it’s what the cloud was built for! The benefits of this include not having to manage and maintain the physical availabiltiy of the computers running your web server, and being able to use pre-built web app services provided by various cloud platforms.

Here are a few aspects of IoT that the cloud can help with:

  • Publishing a REST API
  • Providing ‘serverless’ solutions to make that API available at minimal cost to you
  • Keeping a backed up database to store information sent through the API

This work can overlap substantially with Science Gateways, so it may be worth checking out our resources for those as well.

APIs

A REST API is a clearly defined way to allow computers and IoT devices to interact with a central server you manage by means of the same URLs we use to visit websites (eg, something likehttps://department.myinstitution.edu/~user/experiment/add/datapoint).

Here are some guides on how to design APIs. Even though they’re published by specific cloud vendors, their information is broadly applicable regardless of platform:

Serverless

Rather than leaving a VM running as a server to respond to API requests, most cloud platforms offer “serverless” functionality which lets you provide code that should be run when the API is accessed, but outside of those requests doesn’t consume billable resources. This is similar to the batch job submission systems clouds provide for HPC, but for tiny workloads instead of huge ones; when a remote computer makes a request to your service, a tiny compute server is spun up, responds to the request, and then is deleted automatically. Persistent data can be stored as files or a database.

Here are guides to getting started with serverless resources on various cloud platforms:

Databases

  • TODO

Case studies