Pre-installation steps

1. Setup artifact storage

Create an AWS S3 bucket for artifacts. Next, add CORS permissions to the bucket you created:
1
[
2
{
3
"AllowedHeaders": [
4
"*"
5
],
6
"AllowedMethods": [
7
"GET",
8
"PUT"
9
],
10
"AllowedOrigins": [
11
"https://console.paperspace.com"
12
],
13
"ExposeHeaders": [],
14
"MaxAgeSeconds": 3000
15
}
16
]
Copied!
To add these permissions, navigate to the S3 bucket settings in the AWS console, then select the Permissions tab and the CORS Configuration button:
Next, create a dedicated IAM user with Programmatic Access for read/write access to the S3 bucket with the following policy:
1
{
2
"Version": "2012-10-17",
3
"Statement": [
4
{
5
"Sid": "AllowGeneratedUrls",
6
"Effect": "Allow",
7
"Action": "sts:GetFederationToken",
8
"Resource": "*"
9
},
10
{
11
"Sid": "AllowListBucket",
12
"Effect": "Allow",
13
"Action": "s3:ListBucket",
14
"Resource": "arn:aws:s3:::[bucket_name]"
15
},
16
{
17
"Sid": "AllowBucketAccess",
18
"Effect": "Allow",
19
"Action": "s3:*",
20
"Resource": "arn:aws:s3:::[bucket_name]/*"
21
}
22
]
23
}
Copied!
On the user's Security Credentials tab, create an access key for this user, which will be used when registering your cluster in the Paperspace web console.

2. SSL

Gradient uses a wildcard SSL certificate to secure HTTP traffic into your processing site. The installer can provide an automatic certificate if you have a supported DNS provider (supported DNS providers) or you can provide your own.
If you decide to provide your own SSL certificate, you will need two files: one private key file and one .crt file that contains your entire certificate chain including any root or intermediate certificates. (Example: https://support.comodo.com/index.php?/Knowledgebase/Article/View/1145/1/how-do-i-make-my-own-bundle-file-from-crt-files)
Example:
    *.gradient.mycompany.com
Last modified 10mo ago