| [ Web Proxy ] |
| Viewing: https://containerlab.dev/cmd/../../manual/../../cmd/../../manual/s3-usage-example/ | [Back] [Original] |
Containerlab supports using S3 URLs to retrieve topology files and startup configurations for network devices.
AWS credentials are automatically discovered using the standard AWS credential chain (in order of precedence):
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)~/.aws/credentials)Deploy a lab using a topology file stored in S3:
In your topology file, you can reference startup configurations stored in S3:
name: my-lab
topology:
nodes:
router1:
kind: nokia_srlinux
image: ghcr.io/nokia/srlinux:latest
startup-config: s3://my-bucket/configs/router1.cli
router2:
kind: nokia_srlinux
image: ghcr.io/nokia/srlinux:latest
startup-config: s3://my-bucket/configs/router2.cli
export AWS_ACCESS_KEY_ID=your-access-key
export AWS_SECRET_ACCESS_KEY=your-secret-key
export AWS_REGION=us-east-1 # Optional, defaults to us-east-1
Configure in ~/.aws/credentials:
[default]
aws_access_key_id = your-access-key
aws_secret_access_key = your-secret-key
region = us-east-1
| Web Proxy Viewer | New URL | Original Page |