AWS Elastic Beanstalk – Platform hooks for clean-up while terminating an environment?

Issue

This Content is from Stack Overflow. Question asked by gowthz

Elastic Beanstalk provides Platform Hooks to run custom scripts at different stages of deployments.

For example, a custom script can be run to whitelist the IP of a newly deployed EC2 instance in a third party service etc…

Does it provide any similar hooks to run during termination of an environment?
For running some clean-up jobs outside elastic beanstalk



Solution

This question is not yet answered, be the first one who answer using the comment. Later the confirmed answer will be published as the solution.

This Question and Answer are collected from stackoverflow and tested by JTuto community, is licensed under the terms of CC BY-SA 2.5. - CC BY-SA 3.0. - CC BY-SA 4.0.

people found this article helpful. What about you?