// Module included in the following assemblies:
//
// * rosa_getting_started/rosa-quickstart-guide-ui.adoc
// * rosa_hcp/terraform/rosa-hcp-creating-a-cluster-quickly-terraform.adoc
// * rosa_hcp/rosa-hcp-quickstart-guide.adoc
// * rosa_hcp/rosa-hcp-sts-creating-a-cluster-quickly.adoc
// * rosa_install_access_delete_clusters/terraform/rosa-classic-creating-a-cluster-quickly-terraform.adoc
// * rosa_install_access_delete_clusters/rosa-sts-creating-a-cluster-quickly.adoc

ifeval::["{context}" == "rosa-classic-creating-a-cluster-quickly-terraform"]
:tf-classic:
endif::[]
ifeval::["{context}" == "rosa-hcp-creating-a-cluster-quickly-terraform"]
:tf-hcp:
endif::[]
ifeval::["{context}" == "rosa-hcp-quickstart-guide"]
:hcp-quickstart:
endif::[]
ifeval::["{context}" == "rosa-hcp-sts-creating-a-cluster-quickly"]
:hcp:
endif::[]

:_mod-docs-content-type: CONCEPT
[id="rosa-sts-overview-of-the-default-cluster-specifications_{context}"]
= Overview of the default cluster specifications

[role="_abstract"]
You can quickly create a {product-title} cluster by using the default installation options.

.Default {product-title} cluster specifications

[cols=".^1,.^3a",options="header"]
|===

|Component
|Default specifications

|Accounts and roles
|
ifdef::tf-classic,tf-hcp[]
* Default IAM role prefix: `rosa-<6-digit-alphanumeric-string>`
endif::tf-classic,tf-hcp[]
ifndef::tf-classic,tf-hcp[]
ifdef::openshift-rosa[]
* Default IAM role prefix: `ManagedOpenShift`
endif::openshift-rosa[]
ifdef::openshift-rosa-hcp,hcp[]
* Default IAM role prefix: `HCP-ROSA`
endif::openshift-rosa-hcp,hcp[]
endif::tf-classic,tf-hcp[]
ifndef::openshift-rosa-hcp,hcp[]
* No cluster admin role created
endif::openshift-rosa-hcp,hcp[]

|Cluster settings
|
ifdef::tf-classic,tf-hcp[]
* Default cluster version: `4.14`
* Cluster name: `rosa-<6-digit-alphanumeric-string>`
* Default AWS region for installations using the {cluster-manager-first} {hybrid-console-second}: us-east-2 (US East, Ohio)
* Availability: Multi zone for the data plane
* EC2 Instance Metadata Service (IMDS) is enabled and allows the use of IMDSv1 or IMDSv2 (token optional)
endif::tf-classic,tf-hcp[]
ifndef::tf-classic,tf-hcp[]
* Default cluster version: Latest
ifdef::openshift-rosa[]
* Default AWS region for installations using the {cluster-manager-first} {hybrid-console-second}: us-east-1 (US East, North Virginia)
endif::openshift-rosa[]
ifdef::openshift-rosa-hcp,hcp[]
* Default AWS region for installations using the {rosa-cli} (`rosa`): Defined by your `aws` CLI configuration
* Default EC2 IMDS endpoints (both v1 and v2) are enabled
endif::openshift-rosa-hcp,hcp[]
endif::tf-classic,tf-hcp[]
ifndef::openshift-rosa-hcp,tf-hcp,hcp[]
* EC2 Instance Metadata Service (IMDS) is enabled and allows the use of IMDSv1 or IMDSv2 (token optional)
endif::openshift-rosa-hcp,tf-hcp,hcp[]
* Availability: Single zone for the data plane
ifndef::openshift-rosa-hcp[]
* Monitoring for user-defined projects: Enabled
endif::openshift-rosa-hcp[]
ifdef::openshift-rosa-hcp,hcp[]
* No cluster admin role created
endif::openshift-rosa-hcp,hcp[]
ifndef::openshift-rosa-hcp,hcp[]
|Encryption
|* Cloud storage is encrypted at rest
* Additional etcd encryption is not enabled
* The default AWS Key Management Service (KMS) key is used as the encryption key for persistent data
endif::openshift-rosa-hcp,hcp[]

ifdef::openshift-rosa,tf-classic[]
|Control plane node configuration
|* Control plane node instance type: m5.2xlarge (8 vCPU, 32 GiB RAM)
* Control plane node count: 3
endif::openshift-rosa,tf-classic[]
ifndef::openshift-rosa-hcp,hcp[]
|Infrastructure node configuration
|* Infrastructure node instance type: r5.xlarge (4 vCPU, 32 GiB RAM)
* Infrastructure node count: 2
endif::openshift-rosa-hcp,hcp[]

|Compute node machine pool
|* Compute node instance type: m5.xlarge (4 vCPU 16, GiB RAM)
ifndef::tf-classic,tf-hcp[]
* Compute node count: 2
endif::tf-classic,tf-hcp[]
ifdef::tf-classic,tf-hcp[]
* Compute node count: 3
endif::tf-classic,tf-hcp[]
* Autoscaling: Not enabled
* No additional node labels

|Networking configuration
|
ifndef::tf-classic,tf-hcp[]
* Cluster privacy: Public
endif::tf-classic,tf-hcp[]
ifdef::tf-classic,tf-hcp[]
* Cluster privacy: public or private
* You can choose to create a new VPC during the Terraform cluster creation process.
endif::tf-classic,tf-hcp[]
ifdef::openshift-rosa[]
* You must have configured your own Virtual Private Cloud (VPC)
endif::openshift-rosa[]
* No cluster-wide proxy is configured

|Classless Inter-Domain Routing (CIDR) ranges
|
ifdef::tf-classic,tf-hcp[]
* Machine CIDR: 10.0.0.0/16
* Service CIDR: 172.30.0.0/16
* Pod CIDR: 10.128.0.0/14
endif::tf-classic,tf-hcp[]
ifndef::tf-classic,tf-hcp[]
* Machine CIDR: 10.0.0.0/16
* Service CIDR: 172.30.0.0/16
* Pod CIDR: 10.128.0.0/14
endif::tf-classic,tf-hcp[]
* Host prefix: /23
+
ifdef::openshift-rosa-hcp,hcp[]
[NOTE]
====
The static IP address `172.20.0.1` is reserved for the internal Kubernetes API address. The machine, pod, and service CIDRs ranges must not conflict with this IP address.
====
endif::openshift-rosa-hcp,hcp[]

|Cluster roles and policies
|* Mode used to create the Operator roles and the OpenID Connect (OIDC) provider: `auto`
* A configured `ocm-role`, which is required for all {product-title} clusters.
+
[NOTE]
====
For installations that use {cluster-manager} on the {hybrid-console-second}, the `auto` mode requires an admin-privileged {cluster-manager} role (ocm-role).
====
ifdef::tf-classic,tf-hcp[]
* Default Operator role prefix: `rosa-<6-digit-alphanumeric-string>`
endif::tf-classic,tf-hcp[]
ifndef::tf-classic,tf-hcp[]
* Default Operator role prefix: `<cluster_name>-<4_digit_random_string>`
endif::tf-classic,tf-hcp[]

|Storage
|* Node volumes:
** Type: AWS EBS GP3
** Default size: 300GiB (adjustable at creation time)
* Workload persistent volumes:
** Default StorageClass: gp3-csi
** Provisioner: ebs.csi.aws.com
** Dynamic persistent volume provisioning

|Cluster update strategy
|* Individual updates
* 1 hour grace period for node draining

|===

ifeval::["{context}" == "rosa-classic-creating-a-cluster-quickly-terraform"]
:!tf-classic:
endif::[]
ifeval::["{context}" == "rosa-hcp-creating-a-cluster-quickly-terraform"]
:!tf-hcp:
endif::[]
ifeval::["{context}" == "rosa-hcp-quickstart-guide"]
:!hcp-quickstart:
endif::[]
ifeval::["{context}" == "rosa-hcp-sts-creating-a-cluster-quickly"]
:!hcp:
endif::[]