Yes, pretty much it'll look like the Eip event handler's
onFarmTerminate.  There's already an Elb event handler, so we probably
just need to add the code there.

On Mar 13, 5:40 am, Srini <[email protected]> wrote:
> Given that AWS will keep charging for the "running" ELB, I guess this is
> important that it gets deleted.  Maybe we can write a script on the farm
> terminate event to delete the ELB?
>
> Sriini
>
>
>
>
>
>
>
> On Tuesday, March 13, 2012 2:18:38 AM UTC+5:30, mavinman wrote:
>
> > Looks like this was just never implemented.  The signature to the
> > constructor for FarmTerminatedEvent is:
>
> >  public function __construct($RemoveZoneFromDNS, $KeepElasticIPs,
> > $TermOnSyncFail, $KeepEBS)
>
> > The KeepElasticIPs and KeepEBS is where deleteCloudObjects is passed
> > in.  These are dealt with later in event handlers, however nowhere is
> > there anything dealing with ELBs.  This is most likely a bug.
>
> > On Mar 12, 3:10 pm, mavinman <[email protected]> wrote:
> > > When I terminate a farm, Scalr asks me if I would like all cloud
> > > objects like ELBs or Elastic IPs to be terminated as well.  If I
> > > select that option, the ELB I have attached to a specific role in that
> > > farm does not terminate.  The EC2 instances associated with the role
> > > do terminate correctly.

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

Reply via email to