Gen3 Admin Aws S3 Backup Setup - GT-Edge-AI/GT-AI-OS GitHub Wiki
Connect GT AI OS portable backups (gt3-portable-backup-v1) to Amazon S3.
Use a dedicated bucket used only for GT backups. Keep Backup & Restore → Object storage open while you work. Configure bucket connection and credentials entirely in the Control Panel — no command-line tools or repo scripts.
- Create an S3 bucket in your chosen AWS region.
- Create an IAM policy scoped to that bucket only, attach it to an IAM user, create access keys.
- On Object storage: provider Amazon S3 → fill connection fields → paste keys → Save credentials to cluster → enable Backups → Save Object Storage.
- On the Backup tab: Test bucket (leave Endpoint CA secret empty on commercial AWS).
| You need | Example |
|---|---|
| S3 bucket name | gt3-backup-prod |
| AWS region |
us-east-1 (must match the bucket) |
| Path prefix |
production (logical folder for this deployment; no / at start or end) |
- AWS console → S3 → Create bucket.
- Enter Bucket name and AWS Region.
- Leave other defaults → Create bucket.
AWS does not offer a managed policy for a single bucket. Create a custom policy once:
- IAM → Policies → Create policy.
- Open the Visual tab → choose service S3.
- Turn on only:
- ListBucket (under List)
- GetObject, PutObject, DeleteObject (under Read / Write)
-
Resources → Specific:
- bucket → Add ARN → type your bucket name only → Add
-
object → Add ARN → same bucket name, object name
*→ Add
-
Next → name the policy (e.g.
GT3-backup-one-bucket) → Create policy.
This allows Test bucket probes and portable archives anywhere under the bucket (including {pathPrefix}/portable/).
-
IAM → Users → Create user → user name e.g.
gt3-backup→ Next. - Attach policies directly → select GT3-backup-one-bucket → Next → Create user.
- Open the user → Security credentials tab.
- Access keys → Create access key.
- Use case: Application running outside AWS → Next → Create access key.
- Copy Access key ID and Secret access key (secret shown once).
Go to Backup & Restore → Object storage.
Select Amazon S3.
| Form field | Example | Notes |
|---|---|---|
| S3 endpoint URL (optional for AWS) | (leave empty) | Commercial AWS — leave blank for virtual-hosted S3 |
| S3 bucket name | gt3-backup-prod |
Case-sensitive |
| AWS region | us-east-1 |
Must match bucket region |
| Path prefix in bucket | production |
Portable files go under {pathPrefix}/portable/
|
GovCloud: set endpoint e.g. https://s3.us-gov-west-1.amazonaws.com and the matching AWS region; use GovCloud IAM credentials.
Leave Advanced fields at their defaults unless your installation guide says otherwise.
Paste Access key ID and Secret access key from IAM → Save credentials to cluster.
GT AI OS writes these into the cluster for backup jobs. They are not stored in Settings JSON.
- Check Backups.
- Click Save Object Storage.
- Open the Backup tab.
- Leave Endpoint CA secret empty for public AWS (
*.amazonaws.com). - Click Test bucket — should report success.
Optional: Run backup now → confirm portable tar under {pathPrefix}/portable/ in S3 and in the catalog.
| Problem | What to check |
|---|---|
| Wrong region | AWS region in Control Panel matches the bucket region |
| Access denied | IAM policy attached to the user; Save credentials to cluster completed before Save Object Storage |
| Timeout | Cluster pods can reach s3.<region>.amazonaws.com (network/firewall/DNS from the GT AI OS host) |
{pathPrefix}/portable/{backupSetId}/gt3-portable-backup-….tar.gz
{pathPrefix}/portable/{backupSetId}/….manifest.json