dotnetv4/AutoScaling/README.md
Shows how to use the AWS SDK for .NET (v4) to work with Amazon EC2 Auto Scaling.
<!--custom.overview.start--> <!--custom.overview.end-->Auto Scaling automatically scales EC2 instances, either with scaling policies or with scheduled scaling.
For prerequisites, see the README in the dotnetv4 folder.
DescribeAutoScalingGroups)Code examples that show you how to perform the essential operations within a service.
Code excerpts that show you how to call individual service functions.
This example shows you how to get started using Auto Scaling.
This example shows you how to do the following:
This example uses several configuration settings that are stored in settings.json
to change the existing values.
Note: The image ID, instance type, and Availability Zone must be available in the same AWS Region as the account that's used to run the scenario. For information about how to get valid settings, see Find a Linux AMI.
GroupName - The name to use for the Auto Scaling group.ImageId - The image ID to use with the Amazon EC2 Auto Scaling template. The AMI-ID column of the Amazon EC2 image locator table.InstanceType - The instance type to use with the template. The Instance Type column of the Amazon EC2 image locator table.LaunchTemplateName - The name of the launch template.AvailabilityZone - The Availability Zone for the launch template. The Zone column of the Amazon EC2 image locator table.ServiceLinkedRoleArn - The Amazon Resource Name (ARN) of a serivce-linked role that will be used
to create the Auto Scaling group.⚠ Running tests might result in charges to your AWS account.
To find instructions for running these tests, see the README
in the dotnetv4 folder.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0