Preparing the Cloudera Cloud Factory environment
Configure the organization, credentials, certificates, project, and Cloudera Service for Kubernetes cluster in Cloudera Cloud Factory so you can deploy Cloudera Anywhere Cloud.
Before you deploy Cloudera Anywhere Cloud, you must establish the core identity, security, and infrastructure components in Cloudera Cloud Factory. Perform the following steps to prepare your environment and gather the required connection details.
- You have domain administrator privileges in Cloudera Cloud Factory.
- You have kubectl installed on the local machine from which you run the installation. For more information, see Installing kubectl on Linux.
- Log in to Cloudera Cloud Factory as a domain administrator.
-
Create an organization for Cloudera Anywhere Cloud, along with the groups and users that manage it.
For more information, see Creating organizations.
-
Add a cloud credential for each cloud provider that Cloudera Anywhere Cloud uses, for example, Amazon Web Services, Microsoft Azure, Google Cloud, or Cloudera Cloud Core.
For more information, see Cloud credentials. Google Cloud and Microsoft Azure need additional preparation before you add their credentials. For more information, see Google Cloud requirements and Azure requirements.
-
Add a DNS credential for an external DNS provider.
For more information, see Adding a DNS credential.
The credential alone does not turn on DNS. Later in this task, you turn on DNS for the project and select this credential.
-
Add registry credentials so Cloudera Cloud Factory can log in to a container registry that requires authentication, for example, a private Docker registry.
For more information, see Adding registry credentials.
-
Create a certificate and trust profile by using the certificate authority of your organization, or Let's Encrypt if your environment has internet access.
For more information, see Creating a certificate and trust profile.
Let's Encrypt profiles require DNS to be turned on for the project. Self-Signed, Customer-Provided CA, and trust-only profiles work without DNS.
-
Create a robot user and generate its API access key and secret key.
For more information, see Creating a robot user.
The Create Robot User form offers 49 scopes. A robot user that is not global has 47 scopes, because
domain:readanddomain:writeare available only to global robot users. For the Anywhere Cloud Console, select at least the following scopes:projectsserverskuberneteskubernetes-profilesflavorscloud-credentialsapplicationsaccess-profiles
Also select
dns-certif the console uses the DNS and certificates of Cloudera Cloud Factory, andregistry-credentialsif you use trusted registries.The keys of a robot user expire after six months by default, which is also the maximum that the UI allows. The earliest expiry date that you can select is the next day.
Record the access key and secret key. You provide them during the Cloudera Anywhere Cloud installation.
-
Create a project for the Anywhere Cloud Console.
For more information, see Creating a project.
You can also turn on DNS and select a certificate and trust profile in the Add Project form. The Certificate & Trust Profile setting is off by default, and Cloudera Cloud Factory creates the project without a profile unless you turn it on.
-
Bind flavors to the project.
Until you bind flavors, Add Server is unavailable and shows the No flavor(s) found message. For more information, see Binding flavors to a project.
-
In the project settings, bind the Certificate and Trust profile and the DNS Credentials that you created earlier, enable the project, and record the project ID.
For more information, see Project settings.
-
Create a Cloudera Service for Kubernetes cluster in the project. Ensure that the cluster runs Kubernetes version 1.36 and higher, and that it meets the sizing requirements in the following table.
Table 1. Kubernetes cluster sizing requirements Node Count CPU per node RAM (GB) per node Storage (GB) per node Control Plane 3 4 8 50 Worker 6 4 8 50 Bastion 1 2 4 30 For more information, see Adding a server.
The deployment time depends on the cloud and the size of the cluster. Plan for 30 to 60 minutes, and check the deployment progress of the project before you assume that the deployment is stuck.
-
If you did not turn on DNS in the Add Project form, turn it on for the project.
The project must be in the Ready state, with no operation running.
- Open the project, and go to Settings > DNS.
- Turn on DNS.
- Select the DNS credential that you added earlier.
- Wait until DNS is synced.
-
If you did not select a certificate and trust profile in the Add Project form, turn it on for the project.
For a Let's Encrypt profile, turn on DNS first. You can attach the profile when you create the project or later in the project settings. If you later turn off the setting, Cloudera Cloud Factory removes cert-manager after you confirm. For more information, see Assigning a profile to a project.
- Open the project, and go to Settings > Certificate & Trust Profile.
- Turn on Certificate & Trust Profile.
- Select the certificate and trust profile that you created earlier.
-
Record the project ID.
The project ID is shown in Project Properties on the project page.
-
Locate your Cloudera Cloud Factory domain name, and copy it.
If you are a domain administrator, the domain name is shown under Domain Management. Other users can find it by clicking your avatar > My Profile > Domain. For more information, see Domain Management page.
-
Continue with the next task to configure cluster access on your local machine by using kubectl.
For more information, see Configuring kubectl access to the cluster.
You have configured your Cloudera Cloud Factory environment, turned on DNS and the certificate and trust profile for the project, and recorded the project ID, the access key and secret key of the robot user, and the domain name. You provide these values during the Cloudera Anywhere Cloud installation.
