Skip to content
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

Faster deployment, currently 10 minutes aprox. #3157

Closed
crow7m opened this issue Nov 30, 2022 · 9 comments
Closed

Faster deployment, currently 10 minutes aprox. #3157

crow7m opened this issue Nov 30, 2022 · 9 comments
Labels
archived This issue has been locked. frontend-builds question Further information is requested

Comments

@crow7m
Copy link

crow7m commented Nov 30, 2022

Good day, we are using amplify for our front-end react application, I have noticed that every build takes approximately 10 minutes,
There is a way to speed up the process?
Thank you

@crow7m crow7m added the question Further information is requested label Nov 30, 2022
@ghost ghost self-assigned this Nov 30, 2022
@ghost
Copy link

ghost commented Nov 30, 2022

Hi @crow7m 👋🏽 You can enable or disable diff based frontend build and deploy by adding AMPLIFY_DIFF_DEPLOY as an environment variable and set it to true. Amplify will attempt to run a diff on the src or appRoot and if no differences are detected then the build and deploy phase will skip. But this may not apply to your use case if your builds are front-end only.

If you provide us your App ID, we can investigate what is contributing to the build times and determine if there are steps you can take to reduce them.

@ghost ghost added frontend-builds response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Nov 30, 2022
@crow7m
Copy link
Author

crow7m commented Nov 30, 2022

@hloriana thank you for your answer, yes, in our case every push is an update, so diff-deployment won't help.
here is an app id: dc6ypf75kxz10, thank you

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Nov 30, 2022
@Rafcin
Copy link

Rafcin commented Dec 5, 2022

@crow7m https://github.com/ducktors/turborepo-remote-cache If you use Turbo, take a look at this, remote cache is quite cool and you can host it yourself.

@crow7m
Copy link
Author

crow7m commented Dec 8, 2022

@hloriana good day, may I ask you if there is any update about this one? thank you

@re-thc
Copy link

re-thc commented Dec 12, 2022

This is an AWS problem. I have tried with CodeCatalyst (the new service) and used a blueprint to deploy to Amplify. Out of the box the pipeline was 10minutes. 0 config from the user. All recommendations and setup from AWS on a minimal sample repository.

@crow7m
Copy link
Author

crow7m commented Jan 13, 2023

@hloriana Good day any update on this one ? Thank you

@ghost ghost removed their assignment Jul 7, 2023
@Jay2113
Copy link
Contributor

Jay2113 commented Mar 6, 2024

Over the past year, we have made significant improvements to reduce the overall build times for Amplify applications. Also, you can use the cache attribute in the build specification file to cache the build time dependencies such as node_modules folder to further speed up your builds: https://docs.aws.amazon.com/amplify/latest/userguide/build-settings.html.

@Jay2113 Jay2113 closed this as completed Mar 6, 2024
Copy link

github-actions bot commented Mar 6, 2024

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Copy link

github-actions bot commented Mar 6, 2024

This issue has been automatically locked.

@github-actions github-actions bot added the archived This issue has been locked. label Mar 6, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
archived This issue has been locked. frontend-builds question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants