Signing researchers into RStudio with AWS Cognito and Cloudflare Access
In the last post I built a locked-down RStudio workstation for the biobank of CJD Foundation Israel : a custom Graviton AMI, no internet, one machine per study. It ended with "researcher sign-in is the next piece of work". This post is that piece, tested live today, and it comes with a correction to the last post that I'd rather make myself than have someone find. Cognito identity in the data's AWS region Training gate a Lambda drops expired study groups One app per study Cloudflare Access enforces the study Tested live 7 checks, then destroyed What we wanted A researcher on an approved study opens a web address, signs in, and lands in RStudio on their study's workstation. Nothing more, and in particular: No VPN, no SSH, no public IP on the workstation. One study per address. Being a member of study A must not open study B's door. Access ends by itself when the person's ethics and data-protection training expires, or when the study's appro...