Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions,
see Getting Started with Amazon Web Services in China
(PDF).
Request Load balancer Capacity Unit reservation for your Application Load Balancer
Before you use LCU reservation, review the following:
-
Capacity is reserved at the regional level and is evenly
distributed across availability zones. Confirm you have
enough evenly distributed targets in each availability zone
before turning on LCU reservation.
-
LCU reservation requests are fulfilled on a first
come first serve basis, and depends on available capacity
for a zone at that time. Most requests are typically fulfilled
within a few minutes, but can take up to a few hours.
-
To update an existing reservation, the previous request
must be provisioned or failed. You can increase reserved
capacity as many times as you need, however you can only decrease the
reserved capacity two times per day.
-
You will continue to incur charges for any reserved or provisioned
capacity until they are terminated or cancelled.
- Console
-
To request an LCU reservation
Open the Amazon EC2 console at
https://console.amazonaws.cn/ec2/.
-
On the navigation pane, choose Load Balancers.
-
Select the load balancer name.
-
On the Capacity tab, choose Edit LCU
Reservation.
-
Select Historic reference based estimate.
-
Select the reference period to view the recommended reserved LCU level.
-
If you do not have historic reference workload, you can choose
Manual estimate and enter the number of LCUs
to be reserved.
-
Choose Save.
- Amazon CLI
-
To request an LCU reservation
Use the modify-capacity-reservation
command.
aws elbv2 modify-capacity-reservation \
--load-balancer-arn load-balancer-arn
\
--minimum-load-balancer-capacity CapacityUnits=100
- CloudFormation
-
To request an LCU reservation
Update the AWS::ElasticLoadBalancingV2::LoadBalancer
resource.
Resources:
myLoadBalancer:
Type: 'AWS::ElasticLoadBalancingV2::LoadBalancer'
Properties:
Name: my-alb
Type: application
Scheme: internal
Subnets:
- !Ref subnet-AZ1
- !Ref subnet-AZ2
SecurityGroups:
- !Ref mySecurityGroup
MinimumLoadBalancerCapacity:
CapacityUnits: 100