**To create a high availability auto scaling configuration** The following ``create-auto-scaling-configuration`` example creates an auto scaling configuration optimized for high availability by setting ``MinSize`` to 5. With this configuration, App Runner attempts to spread your service instances over the most Availability Zones possible, up to five, depending on the AWS Region. The call returns an ``AutoScalingConfiguration`` object with the other settings set to their defaults. In the example, this is the first call to create a configuration named ``high-availability``. The revision is set to 1, and it's the latest revision. :: aws apprunner create-auto-scaling-configuration \ --cli-input-json file://input.json Contents of ``input.json``:: { "AutoScalingConfigurationName": "high-availability", "MinSize": 5 } Output:: { "AutoScalingConfiguration": { "AutoScalingConfigurationArn": "arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/1/2f50e7656d7819fead0f59672e68042e", "AutoScalingConfigurationName": "high-availability", "AutoScalingConfigurationRevision": 1, "CreatedAt": "2020-11-03T00:29:17Z", "Latest": true, "Status": "ACTIVE", "MaxConcurrency": 100, "MaxSize": 50, "MinSize": 5 } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
associate-custom-domain.rst | File | 1.65 KB | 0644 |
|
create-auto-scaling-configuration.rst | File | 1.41 KB | 0644 |
|
create-connection.rst | File | 1.08 KB | 0644 |
|
create-service.rst | File | 9.6 KB | 0644 |
|
delete-auto-scaling-configuration.rst | File | 2.72 KB | 0644 |
|
delete-connection.rst | File | 812 B | 0644 |
|
delete-service.rst | File | 2.26 KB | 0644 |
|
describe-auto-scaling-configuration.rst | File | 2.58 KB | 0644 |
|
describe-custom-domains.rst | File | 2.23 KB | 0644 |
|
describe-service.rst | File | 2.2 KB | 0644 |
|
disassociate-custom-domain.rst | File | 1.59 KB | 0644 |
|
list-auto-scaling-configurations.rst | File | 1.42 KB | 0644 |
|
list-connections.rst | File | 1.63 KB | 0644 |
|
list-operations.rst | File | 1 KB | 0644 |
|
list-services.rst | File | 1.78 KB | 0644 |
|
list-tags-for-resource.rst | File | 710 B | 0644 |
|
pause-service.rst | File | 2.25 KB | 0644 |
|
resume-service.rst | File | 2.26 KB | 0644 |
|
start-deployment.rst | File | 480 B | 0644 |
|
tag-resource.rst | File | 656 B | 0644 |
|
untag-resource.rst | File | 510 B | 0644 |
|
update-service.rst | File | 2.59 KB | 0644 |
|