LambStatus
LambStatus copied to clipboard
Auto update?
At the moment, to my knowledge, the only way to update is through a whole new AWS CF Stack. I was wondering if Lambda could be used somehow to auto update when a new update is pushed on github.
Sorry for the late reply.
You can update the existing stack by applying the new CF template. For example, if you want to try v0.2.1 (the version I've released a few days ago), follow the steps below.
-
Open the CloudFormation page of the AWS console, and select the target stack.
-
Choose
Update Stack
action. -
Specify an Amazon S3 template URL.
The template url for v0.2.1 is:
https://s3-ap-northeast-1.amazonaws.com/lambstatus/cf-template/0.2.1/lamb-status.yml
-
Click the
Next
button a few times, then click theUpdate
button.
Please try out if possible! I will add these steps to the document.
The auto update is attractive, but the problem is the status system will be unstable during the update. For example, the lambda function the frontend app calls may not exist. So I think it is safer to not-update the system automatically.
You could add a temporary maintenance page during the update. If that is possible with lambda.