yesterday I setup our AWS OpsWorks Bench. We are using a custom cookbook which we are hosting on GitHub. I saw that the setup process failed and had a look in the logs. I saw that the custom cookbook could not be fetched from GitHub because they had server problems. Therefor the setup on the server failed and the process stopped.

Does anyone know if I could handle that sort of failures and restart the setup process till it is done?

有帮助吗?

解决方案

One way to avoid issues like this is to host your assets on S3. Alternatively you can poll the deployment status to determine if it succeeds or fails and then have some retry logic.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top