Skip to content

jeremylongshore/tons-of-skills-marketplace / plugins/devops/auto-scaling-configurator/skills/configuring-auto-scaling-policies

configuring-auto-scaling-policies

Verified

Configure use when you need to work with auto-scaling. This skill provides auto-scaling configuration with comprehensive guidance and automation. Trigger with phrases like "configure auto-scaling", "set up elastic scaling", or "implement scaling".

FileKindSize
SKILL.mdskill md4.1 KB
assets/README.mdmarkdown369 B
assets/config_template.yamlconfig3.2 KB
assets/example_aws_scaling_policy.jsonconfig2.1 KB
assets/example_hpa.yamlconfig2.3 KB
references/README.mdmarkdown68 B
scripts/README.mdmarkdown423 B
scripts/generate_config.pyexecutablescript3.6 KB

assets/example_aws_scaling_policy.json

View on GitHub
{
  "_comment": "Example AWS Auto Scaling Policy Configuration",
  "PolicyName": "WebAppCPUPolicy",
  "PolicyType": "TargetTrackingScaling",
  "TargetTrackingConfiguration": {
    "_comment": "Target utilization for CPU",
    "TargetValue": 70.0,
    "_comment": "Metric to track",
    "PredefinedMetricSpecification": {
      "PredefinedMetricType": "ASGAverageCPUUtilization"
    },
    "_comment": "Cooldown periods",
    "ScaleOutCooldown": 300,
    "ScaleInCooldown": 600
  },
  "_comment": "Resource ID - Auto Scaling Group ARN",
  "ResourceId": "autoScalingGroupName/my-web-app-asg",
  "ScalableDimension": "autoscaling:autoScalingGroup:DesiredCapacity",
  "ServiceNamespace": "autoscaling",
  "_comment": "Optional - Adjustments for more control",
  "StepScalingPolicyConfiguration": {
    "_comment": "Adjustment type (ChangeInCapacity, PercentChangeInCapacity, ExactCapacity)",
    "AdjustmentType": "ChangeInCapacity",
    "_comment": "Minimum number of instances to add/remove",
    "MinAdjustmentMagnitude": 1,
    "_comment": "Cooldown period",
    "Cooldown": 300,
    "_comment": "Scaling adjustments based on metric value",
    "StepAdjustments": [
      {
        "MetricIntervalLowerBound": 0.0,
        "MetricIntervalUpperBound": 10.0,
        "ScalingAdjustment": -1
      },
      {
        "MetricIntervalLowerBound": 70.0,
        "ScalingAdjustment": 1
      }
    ]
  },
  "_comment": "Optional - Metric Alarms",
  "Alarms": [
    {
      "AlarmName": "CPUHigh",
      "MetricName": "CPUUtilization",
      "Namespace": "AWS/EC2",
      "Statistic": "Average",
      "Period": 60,
      "EvaluationPeriods": 5,
      "Threshold": 80.0,
      "ComparisonOperator": "GreaterThanThreshold",
      "AlarmActions": [
        "arn:aws:sns:us-east-1:123456789012:HighCPUAlarm"
      ]
    },
    {
      "AlarmName": "CPULow",
      "MetricName": "CPUUtilization",
      "Namespace": "AWS/EC2",
      "Statistic": "Average",
      "Period": 60,
      "EvaluationPeriods": 5,
      "Threshold": 20.0,
      "ComparisonOperator": "LessThanThreshold",
      "AlarmActions": [
        "arn:aws:sns:us-east-1:123456789012:LowCPUAlarm"
      ]
    }
  ]
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 323kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 323kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 323kUpdated Claude CodeCodexVerifiedInstall