Вопрос

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