Quick deployment question:
How do you guys handle downtime during deployment?
Is there a nice way to either let the user know that the site is currently not available while it is being deployed by SST/CDK or maybe redirect all incoming traffic to an existing cloudformation distrubution?
Especially since the deployment of the ReactStaticSite takes a while.
f
Frank
12/30/2021, 3:33 AM
Hey @Maged Mortaga, are you seeing downtime when deloying the
ReactStaticSite
?
Frank
12/30/2021, 3:34 AM
When you experience downtime when you deploy, can you take a screenshot of the terminal output?
Frank
12/30/2021, 3:34 AM
I want to see at which step the site is down. We should definitely fix this. The site should be up during the entire deployment.
m
Maged Mortaga
12/30/2021, 3:51 AM
Actually no. Which is interesting.
I redeployed everything just to double check.
And this time I had no downtime.
I went and checked the logs in Cloudformation and Seed and I could access the
ReactStaticSite
during the whole deployment.
I don't know what the issue was but it seems to be solved.
Thanks!
f
Frank
12/30/2021, 4:02 AM
No worries. If you notice downtime again, make a copy ALL of the deployment output at the moment of downtime. I wanted to see at which CloudFormation step is the downtime happending.