This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
userdoc:tt_s3_object_storage_client [2024/07/06 08:35] abelbeck [Optional Configuration] |
userdoc:tt_s3_object_storage_client [2024/07/06 08:41] (current) abelbeck [Custom Firmware Repository] |
S3FS_OPTIONS="nomultipart" | S3FS_OPTIONS="nomultipart" |
| |
!!Tip ->!! Cloudflare R2 (as of 2024/07), the ``nomixupload`` option is needed to write large files. | !!Tip ->!! Cloudflare R2 (as of 2024/07), the ''nomixupload'' option is needed to write large files. |
| |
\\ | \\ |
Most S3 object storage providers allow files to be made "public" and accessed read-only via HTTPS (CORS). The problem is the "world" has access to the firmware. Restricting with a firewall is difficult, or not possible due to scattered devices. | Most S3 object storage providers allow files to be made "public" and accessed read-only via HTTPS (CORS). The problem is the "world" has access to the firmware. Restricting with a firewall is difficult, or not possible due to scattered devices. |
| |
Alternatively, in the same way use S3 object storage, but keep the S3 files "private" and access the firmware directly via ''s3fs'' using an access key with read-only privileges to a particular bucket. | Alternatively, in the same way using S3 object storage, but keep the S3 files "private" and access the firmware directly via ''s3fs'' using an access key with read-only privileges to a particular bucket. |
| |
For this example, build a custom AstLinux run image and use ''s3cmd'' on the build system to upload to a S3 bucket in [[https://doc.astlinux-project.org/devdoc:devdoc_create_repository|AstLinux Private Repository]] format starting with the path ''custom-firmware-1.x'' | For this example, build a custom AstLinux run image and use ''s3cmd'' on the build system to upload to a S3 bucket in [[https://doc.astlinux-project.org/devdoc:devdoc_create_repository|AstLinux Private Repository]] format starting with the path ''custom-firmware-1.x'' |