How to Manage Autoscaling Deployments?
Last updated
Last updated
To view a list of all autoscaling deployments, follow the steps given below:
Step 1: Login to your account.
Step 2: Navigate to Services and then click on My Services.
Step 3: Click on your project.
Step 4: Navigate to Compute, then Autoscaling, and then click on Deployments. Here, you can view all your deployments.
To create an autoscaling deployment, follow the steps given below:
Step 1: Click on the Create button.
Step 2: Enter the Basic Details and click on Next.
Field
Description
Deployment Name
Enter the name you want to keep for the autoscaling deployment.
Select Autoscaling Template
Select the template you want to attach in the autoscaling deployment.
Step 3: Enter Deployment Preference, Scaling Preference, and Notification Preference, and click on Next.
Field
Description
Current Number of Nodes
Enter the current number of nodes you want for autoscaling deployment.
Max Number of Nodes (Max. 30)
Enter the number of nodes that can be added at max while scaling up the deployment. Note: You cannot add more than 30 nodes.
Scale Count (Max. 30)
Enter the number of nodes that you want to add/remove while you scale up/down the autoscaling deployment. Note: a. You cannot add more than 30 nodes.
b. You should also have the quota required for scaling up the deployment.
Select a Parameter
Select the parameter from CPU or RAM for scaling up/down according to their usage.
Min. Utilization (in 30% - 90%)
Enter the utilization percentage when you want to scale down the autoscaling deployment for the parameter you have selected above. Note: The utilization percentage should be in range of (30% - 90%)
Max Utilization (in 40% - 95%)
Enter the utilization percentage when you want to scale up the autoscaling deployment for the parameter you have selected above.
Note: The utilization percentage should be in range of (40% - 95%)
Cooldown (min 60 sec.)
Enter the time in seconds, this is the time period where scaling up/down is restricted just after the node was scaled up/down.
Enter a valid email
Enter an Email ID in which you want the notification. Note: You can enter multiple email IDs, the email ID should be separated by comma.
Step 4: Choose if you want to attach a load balancer or not in the autoscaling deployment.
A. Do not want to attach Load Balancer:
i. Choose the No Load Balancer option and click Next.
ii. Review the deployment details and click on the Create Deployment button.
B. Want to attach Load Balancer:
i. Choose Use Load Balancer.
ii. If you want to create a new load balancer, choose the New Load Balancer option.
Enter Load Balancer, Listener, Pool, and Health Monitor Details, and click on Next. Note: To add more listeners, click on Add More Listeners.
Field
Description
Load Balancer Name
Enter name of the Load Balancer
Load Balancer Type
Select load balancer type:
Application
Network
Subnet Details
Select a subnet from the available subnets of network associated with templates.
Listener Protocol
Select a protocol for the listener.
Listener Port
The protocol port number for the resource. The default is 1.
Allowed CIDRs
Enter a list of IPv4, IPv6 or mix of both CIDRs.
Pool Algorithm
Select the load balancing algorithm for the pool.
Pool Protocol
Select a protocol for the pool.
Monitor Protocol
Select a protocol for the health monitor.
HTTP Method
Select the HTTP method that the health monitor uses for requests.
URL Path
Enter the HTTP URL path of the request sent by the monitor to test the health of a member. Must be a string that begins with a forward slash. The default URL path is /.
iii. If you want to use an existing load balancer, choose the Existing Load Balancer option.
Select Load Balancer from the drop-down.
Enter Listener Details, Pool Details, and Health Monitor Details, and click on Next. Note: To add more listeners, click on Add More Listeners.
Field
Description
Listener Protocol
Select a protocol for the listener.
Listener Port
The protocol port number for the resource. The default is 1.
Allowed CIDRs
Enter a list of IPv4, IPv6 or mix of both CIDRs.
Pool Algorithm
Select the load balancing algorithm for the pool.
Pool Protocol
Select a protocol for the pool.
Monitor Protocol
Select a protocol for the health monitor.
HTTP Method
Select the HTTP method that the health monitor uses for requests.
URL Path
Enter the HTTP URL path of the request sent by the monitor to test the health of a member. Must be a string that begins with a forward slash. The default URL path is /.
iv. Review the deployment details and click on the Create Deployment button.
To delete an autoscaling deployment, follow the steps given below:
A. For single deployment deletion:
Step 1: Choose the deployment you want to delete, click on Select, and select Delete Deployment from the drop-down menu.
Step 2: Click on Delete cluster to confirm the deletion.
B. For multiple deployment deletion:
Step 1: Select the checkbox as shown in the below image and click on the Delete button.
Step 2: Click on Delete clusters to confirm the deletion.
To attach a Load balancer in a deployed autoscaling deployment, follow the steps given below:
Step 1: Choose the deployment to which you want to attach the load balancer, click on Select, and choose Attach Load Balancer from the drop-down menu.
Step 2: Choose whether to attach a new or existing load balancer to the autoscaling deployment.
A. If you want to create a new load balancer, choose the New Load Balancer option.
Enter Load Balancer Details, Listener Details, Pool Details, and Health Monitor Details and click on Submit. Note: To add more listeners, click on Add More Listeners.
Field
Description
Load Balancer Name
Enter name of the Load Balancer
Load Balancer Type
Select load balancer type:
Application
Network
Subnet Details
Select a subnet from the available networks.
Listener Protocol
Select a protocol for the listener.
Listener Port
The protocol port number for the resource. The default is 1.
Allowed CIDRs
Enter a list of IPv4, IPv6 or mix of both CIDRs.
Pool Algorithm
Select the load balancing algorithm for the pool.
Pool Protocol
Select a protocol for the pool.
Monitor Protocol
Select a protocol for the health monitor.
HTTP Method
Select the HTTP method that the health monitor uses for requests.
URL Path
Enter the HTTP URL path of the request sent by the monitor to test a member's health. It must be a string that begins with a forward slash. The default URL path is /.
B. If you want to use an existing load balancer, choose the Existing Load Balancer option.
Select Load Balancer from the drop-down.
Enter Listener Details, Pool Details, and Health Monitor Details, and click on Submit. Note: To add more listeners, click on Add More Listeners.
Field
Description
Listener Protocol
Select a protocol for the listener.
Listener Port
The protocol port number for the resource. The default is 1.
Allowed CIDRs
Enter a list of IPv4, IPv6 or mix of both CIDRs.
Pool Algorithm
Select the load balancing algorithm for the pool.
Pool Protocol
Select a protocol for the pool.
Monitor Protocol
Select a protocol for the health monitor.
HTTP Method
Select the HTTP method that the health monitor uses for requests.
URL Path
Enter the HTTP URL path of the request sent by the monitor to test a member's health. It must be a string that begins with a forward slash. The default URL path is /.
To edit a Load balancer in a deployed autoscaling deployment, follow the steps given below:
Step 1: Choose the deployment in which you want to edit the load balancer, click on Select, and choose Edit Load Balancer from the drop-down.
Step 2: Update the details you want to modify and click Submit.
To detach a Load balancer in a deployed autoscaling deployment, follow the steps given below:
Step 1: Choose the deployment in which you want to detach the load balancer, click on Select, and choose Detach Load Balancer from the drop-down.
Step 2: Click on the Detach Load Balancer button.
To view an autoscaling deployment overview, follow the steps given below:
Step 1: Choose the deployment for which you want to view the overview and click on Deployment Name.
Step 2: Here, you can view the deployment overview.