amazon web services - How to schedule additional EC2 instances in an Auto Scaling group in CloudFormation? -


i've looked on place, , can't find amazon cloudformation example of auto scaling group configured add/remove capacity on schedule.

its possible command line tools, can't find corresponding cloudformation language.

anybody know how done?

aws cloudformation doesn't cover (new) api actions available within other aws products & services, though introduced within few month later on.

unfortunately, despite scale based on schedule being introduced in december 2010 already, feature still not supported of today, see eric hammond's recent request: cloudformation support auto scaling schedules , suspend january 2013 - aws team response unusually sparse here (while never announcing dates, hint on priorities @ least), doesn't promising - accordingly you'll need work around time being.

workaround

you might able integrate custom workaround cloudformation still means of dedicated customresource type, special aws cloudformation resources provide way template developer include resources in aws cloudformation stack provided source other amazon web services. - aws cloudformation custom resource walkthrough provides overview of about, how works , what's required implement own.

your custom resource need implement missing support scheduled actions explicitly calling putscheduledupdategroupaction api, integrate resource in template complement (or replace) of yet insufficient official scalingpolicy resource.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -