// Module included in the following assemblies:
//
// * rosa_cluster_admin/rosa-cluster-autoscaling.adoc

:_mod-docs-content-type: PROCEDURE
[id="rosa-enable-cluster-autoscale-cli-during_{context}"]
= Enable autoscaling during cluster creation with the ROSA CLI

You can use the {rosa-cli-first} to set cluster-wide autoscaling behavior during cluster creation. You can enable the autoscaler on the entire machine or just a cluster.

.Procedure

- During cluster creation, type `--enable autoscaling` after the cluster name to enable machine autoscaling:

include::snippets/rosa-long-cluster-name.adoc[]

.Example
[source,terminal]
----
$ rosa create cluster --cluster-name <cluster_name> --enable-autoscaling
----

Set at least one parameter to enable cluster autoscaling by running the following command:

.Example
[source,terminal]
----
$ rosa create cluster --cluster-name <cluster_name> --enable-autoscaling <parameter>
----
