NetBSD EC2 AMI 11.x

There aren't many of them in the AWS environment; some are broken and some are old, in past I've used the information: here and here and content available on our wiki to make it right, updated and checked that is working.

Currently no manual modification are needed, we can relay on pure image!

You might be using AWS and didn't know the latest images were available. Now you know :-)

Of course you can make them by yourself.

For me personally, NetBSD works very well as a small instance with AWS Graviton2 Processor which is quite cheap after good cost optimization in AWS.

How they are made:

eu-north-1 is not supported, the AMI creation has to be made on eu-east-1 In other case you will get: UnsupportedOperationThe functionality you requested is not available in this region.

sysutils/bsdec2-image-upload and net/py-awscli2 are available in pkgsrc!

CREDENTIALS_FILE structure:

# ACCESS_KEY_ID=key
# ACCESS_KEY_SECRET=secret

AMD64

# wget -c -v https://ftp.netbsd.org/pub/NetBSD/images/11.1/NetBSD-11.1-amd64-live.img.gz
# gunzip NetBSD-11.1-amd64-live.img.gz
# bsdec2-image-upload --sriov --ena NetBSD-11.1-amd64-live.img "NetBSD 11.1 amd64" "NetBSD 11.1 amd64" eu-east-1 BUCKET CREDENTIALS_FILE

Then copy AMI to other region if needed:

# aws ec2 copy-image \
#     --source-image-id ami-XXX \
#     --source-region us-east-1 \
#     --name "NetBSD 11.1 amd64" \
#     --region eu-north-1

ARM64

# wget -c -v  https://ftp.netbsd.org/pub/NetBSD/NetBSD-11.1/evbarm-aarch64/binary/gzimg/arm64.img.gz
# gunzip arm64.img.gz
# bsdec2-image-upload --sriov --ena --arm64 arm64.img "NetBSD 11.1 arm64" "NetBSD 11.1 arm64" eu-east-1 BUCKET CREDENTIALS_FILE

Then copy AMI to other region if needed:

# aws ec2 copy-image \
#     --source-image-id ami-XXX \
#     --source-region us-east-1 \
#     --name "NetBSD 11.1 arm64" \
#     --region eu-north-1

Remember to clean-up your S3 Bucket after AMI creation, temporary files stays there!

Non-official NetBSD 11.x AMI Images

Login details: ec2-user

NetBSD version eu-north-1
(Stockholm)
eu-central-1
(Frankfurt)
us-east-1
(Virginia)
NetBSD 11.1 AMD64 ami-012cdfab50846a717 ami-0ac0c0ba47794edba ami-059cf8faf18f06385
NetBSD 11.1 ARM64 ami-0cc5be10fd0a4e816 ami-003db407931fc4e74 ami-06e726b6afe5a8c96
NetBSD 11.0 AMD64 ami-0145cddb5cf345869 ami-0cf4a39aa5be88c2f ami-04b3fd43f30b85024
NetBSD 11.0 ARM64 ami-02b0c6989549cef7b ami-0d74af44a2f94f069 ami-0f9369fa3f85b9845

In case of problems, gaps, let me know drixter(AT)NetBSD.org or drixter(AT)e-utp.net.