Chef
Integrate Chef with Elastigroup
One of the greatest challenges of using Chef in the Cloud is when using it in dynamic workloads that scale up and down. While on-demand instances can be stopped gracefully and guarantee to run infinitely, Spot Instances are more likely to be terminated over time. The Chef server is unaware of Spot Instance interruptions, which cause a 'Zombie' scenario and potential errors.
Our Chef integration uses Chef API calls to trigger register and deregister operations for instances that were created via Elastigroup.
Step 1: Create a Security Group
In your AWS account, create a security group that allows inbound traffic specifically from Spot servers
- IP addresses
- Ports
80, 443, 9683