Creating cloud credentials
S3 data server
- In general, the credentials you need from your S3 account are the
AccessKeyand theSecretKey. These are akin to user names and passwords. - How you obtain these credentials will depend on your provider (e.g. AWS S3, MINIO, OSN see the S3 document for additional information)
- Paste the access key and the secret key as Repository secrets in your FaaSr-workflow as per the instructions in the workflow repo documentation
GitHub Actions
If you don't already have one, you need to generate a GitHub Personal Access Token (PAT) to configure FaaSr. Details on how to create a PAT are available here
In summary:
- In the upper-right corner of any page, click your profile photo, then click Settings.
- In the left sidebar, click Developer settings.
- In the left sidebar, click Personal access tokens.
- Click Generate new token.
- In the "Note" field, give your token a descriptive name.
- In scopes, select “workflow” and “read:org” (under admin:org)
- Copy the token; you may save it in your local computer's password manager as well
- Paste the token under the name
GH_PATas a Repository secret in your FaaSr-workflow as per the instructions in the workflow repo documentation
AWS Lambda
- You need an access key, secret key, and ARN to use Lambda in FaaSr.
- You can access your access and secret keys, and your ARN from your Amazon AWS console.
- Paste the access key and the secret key under the names
AWS_AccessKeyandAWS_SecretKey, respectively, as Repository secrets in your FaaSr-workflow as per the instructions in the workflow repo documentation - Paste your ARN as
AWS_ARNas Repository secrets in your FaaSr-workflow
OpenWhisk
- You need an API key from your provider to configure for use in FaaSr
- How you obtain this will depend on your cloud provider.
- Paste the API key under the name
OW_APIkeyas a Repository secret in your FaaSr-workflow as per the instructions in the workflow repo documentation
Google Cloud Platform
- You need a private secret key to use Google Cloud Platform (GCP) with FaaSr
- You can access your key from the Google Cloud console
- In the console, create a service account for your project with the permissions needed to run Cloud Run jobs, then create and download a key for that service account
- Paste the service account key under the name
GCP_SecretKeyas a Repository secret in your FaaSr-workflow as per the instructions in the workflow repo documentation
Slurm
- You need an authentication token (a JWT) from your Slurm cluster to use Slurm with FaaSr
- How you obtain this token depends on your cluster's configuration; many clusters issue one via the
scontrol tokencommand or through your site's REST API portal - consult your Slurm administrator if you are unsure - Paste the token under the name
SLURM_Tokenas a Repository secret in your FaaSr-workflow as per the instructions in the workflow repo documentation