Create Create wrangler user in the wrangling EC2 instance
Wranglers need access to the hca-wrangler-tools-ec2
and a developer must give them this. The below steps assume that you have the correct account privileges in AWS.
- login to AWS console
- Copy the value of
ingest/tool/wrangler/ec2
in AWS secrets manager. - Paste that value into a new SSH key in your machine (e.g.
~/.ssh/WranglerAdmin.pem
). Make sure the contents of this file are correctly formatted. - Ask the wrangler for their desired username
- Ask the wrangler for their public SSH key
ssh-keygen -t rsa -b 4096 -C "WRANGLER_USERNAME"
to generate public/private key pair- Note: private keys should never be transmitted over insecure protocols.
- SSH into the ec2 instance using
ssh -i "PATH_TO_FILE_IN_STEP_2" ubuntu@tool.archive.data.humancellatlas.org
- Run
sudo ./create_wrangler.sh
and follow the steps - Check and add the user created to group docker
getent group
usermod -a -G docker "WRANGLER_USERNAME"
- Instruct the wrangler to try
ssh WRANGLER_USERNAME@tool.archive.data.humancellatlas.org
. In case the wrangler has multiple ssh keys on their system, they could tryssh -i "PATH_TO_PRIVATE_KEY_GENERATED_IN_STEP_4" WRANGLER_USERNAME@tool.archive.data.humancellatlas.org