You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/aws/services/autoscaling.md
+21-22Lines changed: 21 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,6 @@
1
1
---
2
2
title: "Auto Scaling"
3
-
linkTitle: "Auto Scaling"
4
-
description: Get started with Auto Scaling" on LocalStack
3
+
description: Get started with Auto Scaling on LocalStack
5
4
tags: ["Base"]
6
5
---
7
6
@@ -11,7 +10,7 @@ Auto Scaling helps you maintain application availability and allows you to autom
11
10
You can use Auto Scaling to ensure that you are running your desired number of instances.
12
11
13
12
LocalStack allows you to use the Auto Scaling APIs locally to create and manage Auto Scaling groups locally.
14
-
The supported APIs are available on our [API coverage page]({{< ref "coverage_autoscaling" >}}), which provides information on the extent of Auto Scaling's integration with LocalStack.
13
+
The supported APIs are available on our [API coverage page](), which provides information on the extent of Auto Scaling's integration with LocalStack.
15
14
16
15
## Getting started
17
16
@@ -25,12 +24,12 @@ We will demonstrate how you can create a launch template, an Auto Scaling group,
25
24
You can create a launch template that defines the launch configuration for the instances in the Auto Scaling group using the [`CreateLaunchTemplate`](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateLaunchTemplate.html) API.
26
25
Run the following command to create a launch template:
@@ -53,30 +52,30 @@ The following output is displayed:
53
52
Before creating an Auto Scaling group, you need to fetch the subnet ID.
54
53
Run the following command to describe the subnets:
55
54
56
-
{{< command >}}
57
-
$ awslocal ec2 describe-subnets --output text --query Subnets[0].SubnetId
58
-
{{< /command >}}
55
+
```bash
56
+
awslocal ec2 describe-subnets --output text --query Subnets[0].SubnetId
57
+
```
59
58
60
59
Copy the subnet ID from the output and use it to create the Auto Scaling group.
61
60
Run the following command to create an Auto Scaling group using the [`CreateAutoScalingGroup`](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_CreateAutoScalingGroup.html) API:
You can describe the Auto Scaling group using the [`DescribeAutoScalingGroups`](https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_DescribeAutoScalingGroups.html) API.
75
74
Run the following command to describe the Auto Scaling group:
0 commit comments