-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lambda functions as Docker Container Images #8120
Comments
Thanks so much for raising it. I also hope to have this feature in amplify! |
Thanks! This is a very important feature for us. |
Thanks a lot for this. Would be great to have it ! It is indeed a very important feature and doesn't seem there's another way around this in amplify right now. |
I tried to customize lambda cloudformation file to image type but then after doing amplify push, the cloudformation file is reset to code .zip file type. |
Hey folks, any news on that? Are there any strategies how to do it right now? |
I agree this would be very useful! |
@harakiro btw. you can include amplify into CDK |
That what I'm searching, I'm facing similar problem wrong binary is getting installed in lambda. Other people are also facing this issue. |
@hoan-pham-duy Is it possible to try using the CloudFormation code using tools other than the Amplify Command Line Interface? |
Currently, I need to set up some Lambda Container Images in "out_of_amplify" folder and then try to link with "Amplify Resources". |
Is this related to a new or existing Amplify category?
function
Is this related to another service?
ECS, Docker
Describe the feature you'd like to request
As an engineer,
I want to create a Lambda function that is deployed in the form of a Docker container rather than in a dedicated runtime,
so that I have more flexibility, control, and fewer restrictions on the type of code that my function executes
More information on Lambda containers: https://docs.aws.amazon.com/lambda/latest/dg/images-create.html
Fewer restrictions
Lambdas using containers can be up to 10GB in size!
Lambdas using containers get around this problem since all packages will be installed using the same runtime that will execute the application.
Describe the solution you'd like
When running
amplify add function
I'd like another option (i.e. provider) that lets me choose "Container Image". This will then create the right CF template with a basic Dockerfile and /src folder that I can then use to do what I need to do.When running
amplify push
it will build the image, upload it to ECS with the correct tags and deploy the CF template using the new image tag.When running
amplify remove
it will delete all assets locally, along with the ECS images and CF template.Describe alternatives you've considered
I'm investigating what it would take to build a custom function provider plugin based on how the python/nodeJS ones work. I can do this but will need some guidance/pointers from the Amplify team.
I've also looked at building something custom outside my amplify app, with a custom build pipeline, etc. This is NOT ideal since it's extra work - given I'm a 1 man team.
Additional context
No response
Is this something that you'd be interested in working on?
The text was updated successfully, but these errors were encountered: