:_mod-docs-content-type: ASSEMBLY
include::_attributes/attributes-openshift-dedicated.adoc[]
[id="rosa-autonode-setup"]
= Set up the {autonode}
:context: rosa-autonode-setup

toc::[]

[role="_abstract"]
Set up and enable the {autonode} on your {product-title} cluster by configuring the required IAM roles, tagging policies, and cluster settings.

== Prerequisites

* You have installed the {rosa-cli-first} version 1.2.61 or later.
* You have an {ocp-short} cluster version 4.22.0 or later.
* You have installed the `jq` CLI tool.
* You have installed the `oc` CLI tool.
* You have the required AWS Identity and Access Management (IAM) permissions to create policies and roles.

[NOTE]
====
If you want to use Spot instances with Karpenter, you must configure your AWS account based on the AWS instructions. For more information, see _Additional resources_.
====

include::modules/rosa-nodes-autonode-managing-set-env-vars.adoc[leveloffset=+1]

include::modules/rosa-nodes-autonode-managing-iam-setup.adoc[leveloffset=+1]

include::modules/rosa-nodes-autonode-managing-enable-cli.adoc[leveloffset=+1]

include::modules/rosa-nodes-autonode-managing-enable-ui.adoc[leveloffset=+1]

[role="_additional-resources"]
== Additional resources

* link:https://aws.amazon.com/blogs/containers/using-amazon-ec2-spot-instances-with-karpenter/[Using Amazon EC2 Spot Instances with Karpenter]
