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

The CLI stack deploy command takes too long #162

Open
gkpty opened this issue Sep 15, 2020 · 0 comments
Open

The CLI stack deploy command takes too long #162

gkpty opened this issue Sep 15, 2020 · 0 comments

Comments

@gkpty
Copy link
Contributor

gkpty commented Sep 15, 2020

Bellow are the start and end times of each process executed by the CLI.

  • the creation of the cloudFront distribution + digital certificate takes up 70% of the time.
  • the certificate creation/validation can be factored out and perhaps shortened by a minute or so.
  • the DNS record creation can also be factored out of cloudformation and reduced by about 30 seconds.
  • the CLI operations: setup + template genration can also be shortened
STEP START END TIME ELAPSED
review 2:27:44 2:28:15 0:00:31
create basic stack 2:28:15 2:29:24 0:01:09
hosted zone 2:28:19 2:29:22 0:01:03
bucket Policy 2:28:19 2:28:21 0:00:02
RootBucket 2:28:20 2:28:42 0:00:22
wwwBucket 2:28:20 2:28:41 0:00:21
update to prod 2:30:20 2:38:03 0:07:43
ACMcertfifcate 2:30:25 2:33:00 0:02:35
cloudfront 2:33:02 2:36:54 0:03:52
recordset 2:36:58 2:38:01 0:01:03
total time cloudformation 0:09:23
total time CLI 0:10:48
time CLI operations 0:01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant