4 ms·
It seems that ECR is actually designed in a way to support uploading image layers in multiple parts. Related ECR APIs: - InitiateLayerUpload API: called at th
by watermelon0 2y ago
It seems that ECR is actually designed in a way to support uploading image layers in multiple parts.
Related ECR APIs:
- InitiateLayerUpload API: called at the beginning of upload of each image layer
- UploadLayerPart API: called for each layer chunk (up to 20 MB)
- PutImage API: called after layers are uploaded, to push image manifest, containing references to all image layers
The only weird thing seems to be that you have to upload layer chunks in base64 encoding, which increases data for ~33%.
- wofo 2y agoI tried using that API directly, but it unfortunately did require ordered uploads too :')