apprunner-roadmap icon indicating copy to clipboard operation
apprunner-roadmap copied to clipboard

Support large (>3GB) docker images

Open chai3 opened this issue 2 years ago • 5 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do * not help prioritize the request If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request

allow to configure or increase the ephemeral storage size

Describe alternatives you've considered None

Additional context

  • https://docs.aws.amazon.com/apprunner/latest/dg/develop.html
    • App Runner provides you with 3 GB of ephemeral storage and uses a part of the 3 GB of ephemeral storage for its pulled, compressed, and the uncompressed container image on the instance.

  • https://github.com/aws/apprunner-roadmap/issues/112
  • https://github.com/aws/apprunner-roadmap/issues/178#issuecomment-1678179984
  • https://github.com/aws/apprunner-roadmap/issues/14

Attachments None

chai3 avatar Nov 17 '23 15:11 chai3

Why do you need such a big docker image? Use S3 for static assets. You are doing something wrong.

landsman avatar Jan 30 '24 08:01 landsman

Why do you need such a big docker image? Use S3 for static assets. You are doing something wrong.

@landsman case 1. Gradio with Sentence BERT case 2. AWS Deep Learning Containers for Inference

I want to switch from Fargate(max 20GB) and Lambda(max 10GB) to AppRunner. But S3 is not a filesystem. I try download from S3 and unzip it, I got disk full error. I don't want to depends on S3 and external internet if possible.

chai3 avatar Feb 02 '24 12:02 chai3

Can not mount this kind of data from a file system like AWS EFS? Docker Image should contain only application data. I feel that App Runner is dedicated for light-weight things like web apps etc.

landsman avatar Feb 03 '24 22:02 landsman

Can not mount this kind of data from a file system like AWS EFS?

unnable

  • #14

Docker Image should contain only application data

I also think the image size should be reduced somehow, but third-party libraries may download and cache model data on their own.

  • same as #233

I feel that App Runner is dedicated for light-weight things like web apps etc

It's very unfortunate and sad.

chai3 avatar Feb 04 '24 08:02 chai3