Do not terminate instance during processing

Asked

Viewed 18 times

1

I have a processing that occurs in my Offices, however, sometimes the "auto scaling" ends the instance in the middle of the process (which may take). I have already looked in the documentation for a way to block this at the beginning of the processing and then unlock, without success. The process takes place using PHP-CLI.

Does anyone know any library or method that would allow me to do this?

  • Have you [Edit] your question and add the code used?

  • I don’t have the code to do that yet, I imagine it’s from the AWS library

  • You need help with a code, but you don’t have code? I don’t understand.

  • 1

    I believe that "instance Protection" is what you are looking for: https://aws.amazon.com/blogs/aws/new-instance-protection-for-auto-scaling/

  • Exactly @Julio_aws_devrel ! Thank you!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.