I'm looking for a way to query and update Farm Roles so that creating a new Farm can be automated. What really want to automate is the creation of the "DateAndTime" scaling algorithm so that I can control how many instances are running. I want these instances running during business hours:
- 0 instance(s), between 12:00 AM and 11:45 PM on Sun, Sat - 0 instance(s), between 5:45 PM and 11:45 PM on Mon, Tue, Wed, Thu, Fri - 1 instance(s), between 7:30 AM and 5:30 PM on Mon, Tue, Wed, Thu, Fri - 0 instance(s), between 12:00 AM and 7:15 AM on Mon, Tue, Wed, Thu, Fri When I configure this and make an API call FarmGetDetails I don't see the schedule anywhere. Just the scaling is enabled and the last time it polled the algorithm. How can I control the Algorithm? Any ideas? <?xml version="1.0" ?> <FarmGetDetailsResponse> <TransactionID>bc0730ae-9d23-4d1e-800e-8ce6243cfa42</TransactionID> <Farm> <ID>13</ID> <Status>0</Status> </Farm> <FarmRoleSet> <Item> <ID>39</ID> <RoleID>64080</RoleID> <Name>base-ubuntu1404</Name> <Alias>base-ubuntu1404</Alias> <Platform>ec2</Platform> <Category>Base</Category> <ScalingProperties> <MinInstances>0</MinInstances> <MaxInstances>1</MaxInstances> </ScalingProperties> <PlatformProperties> <InstanceType>t1.micro</InstanceType> <AvailabilityZone/> </PlatformProperties> <ServerSet/> <CloudLocation>us-east-1</CloudLocation> <IsScalingEnabled>1</IsScalingEnabled> <ScalingAlgorithmSet> <Item> <MetricID/> <MetricName>DateAndTime</MetricName> <DateLastPolled>2015-12-03 16:11:12</DateLastPolled> </Item> </ScalingAlgorithmSet> </Item> </FarmRoleSet> <ID>13</ID> <Name>Jenkins</Name> <IsLocked/> </FarmGetDetailsResponse> -- You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
