-
Notifications
You must be signed in to change notification settings - Fork 822
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
Long deployment times of ~40 mins for large Amplify project #9851
Comments
Hi @mitchconquer 👋 thanks for raising this issue. Transferring it over the CLI repo for better feedback and support. |
Hey @mitchconquer 👋 I have a few questions:
|
Hi, @josefaidt! Thanks for getting back to me! Answers to your questions below but generally speaking, we've been using Amplify for over a year and the time has been steadily creeping up so I don't think it's a sudden change, rather just the quanity of resources we are deploying.
|
Hey @mitchconquer thank you for clarifying! From your last note, are you experiencing long deploy times from |
CI/CD pipeline builds. I haven't been able to run It always complained about something like the |
Hi just following up on this! 😺 |
Hey @mitchconquer 👋 apologies for the delay! As I investigate the long console builds time I would like to further understand the |
Hey @mitchconquer 👋 apologies for the delay here! Can you try downloading the Hosting pipeline's |
Hey @mitchconquer 👋 are you still experiencing this issue? |
Closing due to inactivity |
I am. I think anyone with a reasonably-sized environment is. Just because the OP isn't responding, doesn't mean there is no issue. |
Also experiencing incredibly long deployment times with ~50 functions. Simple code changes take 40-50min to deploy. |
Hey, I'm also experiencing long deployment time and I have a question regarding it. Say there are 1000 javascript functions in my project. I'm assuming the latter will improve deployment time since I assume it's taking a load of time building each resource, but it still takes around 20~30 minutes deploying a simple code change with only ~20 functions and ~10 custom resources in our project. |
Same here. Getting to the point where I want to move my app to another infrastructure. Not even a lot of functions, Just a pretty bif angular application with a couple of endpoints. It takes 20-30 mins. Clearly an issue. |
I really appreciate the work of the Amplify team but I think it's underfunded considering the scope and usage of the tool. We migrated to SST and I really loved it. |
The CI/CD pipeline is taking 20-30 minutes every time you want to deploy a single change. Every big project that is running on amplify is having this issue and yet they close the issue due to inactivity... |
Is this related to a new or existing framework?
No response
Is this related to a new or existing API?
No response
Is this related to another service?
No response
Describe the feature you'd like to request
Hi! I'm not sure how to categorize this but we are running very long deployment times for our amplify backend. I mentioned this in the Amplify Office Hours and was told I should open an issue so we can discuss it in more detail.
Here's a breakdown of our resources. We are using 100% TypeScript.
Our deployment times to our dev and main environments are at about 40 minutes now and have been creeping up over the past year so it's quite painful to deploy now.
Describe the solution you'd like
I wonder if there's a way to dramatically improve the deployment times, either through configuration or perhaps a different container for running the Amplify deployment?
Describe alternatives you've considered
It was mentioned in Office Hours that I should consider setting up the Lambda functions as custom resources, I wonder if I would still be able to access the other resources with the backend-config.js file and whether they would work with TypeScript.
Additional context
I'd be happy to send the build logs as well if you let me know where I can do that.
Is this something that you'd be interested in working on?
The text was updated successfully, but these errors were encountered: