Guide on how to configure S3 for persistent storage configuration.
Go to AWS S3 and create a bucket.
The administrator needs to define the AWS Access Key ID and Access Secret in the Server Settings of Kasm.
See Persistent Profile guide, just change the path to something like this:
s3://kasm-profile.s3.amazonaws.com/ubuntu_22_04/{username}/
This will store the profile in the S3 bucket.
json
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PolicyForAllowKasmS3UserReadWrite",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::<some arn number>:user/jm1021"
},
"Action": [
"s3:GetObject",
"s3:PutObject",
"s3:DeleteObject"
],
"Resource": "arn:aws:s3:::kasm-profile/*"
},
{
"Sid": "PolicyForAllowKasmS3UserListLocate",
"Effect": "Allow",
"Principal": {
"AWS": "arn:aws:iam::<some arn number>:user/jm1021"
},
"Action": [
"s3:ListBucket",
"s3:GetBucketLocation"
],
"Resource": "arn:aws:s3:::kasm-profile"
}
]
}