- Newest
- Most votes
- Most comments
This doesn't exactly answer your question but you may want to consider using eventbridge events for triggering an action for scaling activity. See here for list of events. You can for example get an event when a new instance is launched and trigger a lambda which can get any additional information you need (eg ip address) as the instance id is emitted in the event. You can then trigger any other action you need.
Another common method to perform actions during scaling events is to use lifecycle hooks. With lifecycle hooks you can pause the scale out and scale in activities and perform a custom action
Both these methods can be used to let you know the ip addresses of any instances which are being added to your autoscale groups. The actions could be send an SNS notification via email or update a dynamodb table to maintain an accurate list of ip addresses
Relevant content
- asked 4 years ago
- asked 2 years ago
- asked a year ago
- asked 7 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
Thank you for your comment, I'll try it. I'm also open to any other suggestions in that matter.