-
Notifications
You must be signed in to change notification settings - Fork 24
autoscaling 3.3 design
This design covers our implementation of AWS Auto Scaling.
Status | Draft | |
---|---|---|
Updated | 2012/12/19 | Initial document, focus is preparation for Sprint 1 |
Updated | 2013/01/28 | Updated for Sprint 2 functionality (which was previously for Sprint 1) |
Updated | 2013/02/01 | Updated with Sprint 2 final details |
Implementation of items related to features that we do not support are out of scope. These features are:
- IAM Roles
- Placement groups
- Spot Instances
- SNS
- VPC
- EC2 - Verifying metadata, managing instances, tagging
- ELB - health check type
This feature relates to the following features in this release:
- EC2 - Tagging / Filtering
- EC2 - Instance health checking
- CloudWatch
- ElasticLoadBalancing
Item | Value | Notes |
---|---|---|
Version | 2011-01-01 | Version of AutoScaling API supported |
DB | eucalyptus_autoscaling | |
Source modules | scaling | Contents under com.eucalyptus.scaling package |
scaling-common | Contents under com.eucalyptus.scaling.common package | |
Service class | AutoScalingService | |
Component ID class | AutoScaling | |
Service type name | autoscaling | |
Service URIs | /services/AutoScaling | SOAP / Query API |
/internal/AutoScaling | SOAP / Query API | |
Eucarc variable name | AWS_AUTO_SCALING_URL | |
Properties prefix | autoscaling |
- Are we implementing metrics operations? ( DescribeMetricCollectionTypes, DisableMetricsCollection, EnableMetricsCollection )
- Are we supporting CW of auto scaling?
- Are we supporting "pagination" for describe operations?
- Where are ARNs supported instead of names? (are ARNs supported for the policy name in PutScalingPolicy?)
The following entities will be added:
- Launch configuration
- Auto scaling group
- Auto scaling policy
New SOAP / Query API user facing services are added.
For more information on administrative support by operation, see Administrative Functionality below.
Operation | Policy Enforced | Admin Enabled | Notes |
---|---|---|---|
CreateAutoScalingGroup | Y | Placement group, VPC Zone Identifier not supported. | |
CreateLaunchConfiguration | Y | Spot Price, IAM Instance Profile, EBS Optimized not supported. | |
DeleteAutoScalingGroup | Y | Y | |
DeleteLaunchConfiguration | Y | Y | |
DeletePolicy | Y | Y | |
DescribeAdjustmentTypes | Y | ||
DescribeAutoScalingGroups | Y | Y | |
DescribeLaunchConfigurations | Y | Y | |
DescribePolicies | Y | Y | |
DescribeTerminationPolicyTypes | Y | ||
ExecutePolicy | Y | Y | |
PutScalingPolicy | Y | ||
SetDesiredCapacity | Y | Y | |
UpdateAutoScalingGroup | Y | Y | Placement group, VPC Zone Identifier not supported. |
Item | Value | Notes |
---|---|---|
Vendor | autoscaling | Prefix for actions, e.g. autoscaling:DescribeLaunchConfigurations |
Resources | launchconfiguration | |
autoscalinggroup | ||
scalingpolicy | ||
Actions | autoscaling:* | We will permit use in policy of any actions from the supported API version |
Quotas | autoscaling:quota-launchconfigurationnumber | |
autoscaling:quota-autoscalinggroupnumber | ||
autoscaling:quota-scalingpolicynumber |
The ARN of an Auto Scaling resource has the form:
arn:aws:autoscaling::<account id>:<resource type>/<resource id>:[<name>/<value>]+
An example policy for service access:
{ "Statement":[{ "Effect":"Allow", "Action":"autoscaling:*", "Resource":"*" }] }
Support for quotas and resource (see above)
An example policy for limiting auto scaling groups:
{ "Statement":[{ "Effect":"Limit", "Action":"autoscaling:createautoscalinggroup", "Resource":"*", "Condition":{ "NumericLessThanEquals":{ "autoscaling:quota-autoscalinggroupnumber":"2", } } }] }
We will extend the standard functionality for administrative purposes.
The following operations will support listing of all accounts/users item:
- DescribeLaunchConfigurations
- DescribeAutoScalingGroups
- DescribePolicies
The following operations will support administrative deletion of resources:
- DeleteLaunchConfiguration
- DeleteAutoScalingGroup
- DeletePolicy
arn:aws:autoscaling::013765657871:launchConfiguration:6789b01a-a9c9-489f-9d24-ed39533fca61:launchConfigurationName/Test
The following operations will support administrative update of resources:
- ExecutePolicy
- SetDesiredCapacity
- UpdateAutoScalingGroup
No configuration properties noted.
No upgrade impact noted.
No specific packaging requirements.
Administrative functionality should be documented.
Use of ARN in place of simple name adds risk of permitting deletion of other accounts resources.
No specific test cases noted.
tag:rls-3.3