SSH Keys and related input required while deploying content runtime
Content runtime deployment requires you to input public and private keys. This section provides the purpose of these keys and how they are used by the content runtime.
User's Public Key
This is an SSH public key of the private-public key pair that you can generate using ssh-keygen tool. If you enter a value for User's Public Key while you deploy the content runtime, then it is set in the ~/.ssh/authorized_keys
file of the content runtime virtual machine. After the virtual machine is up, you can use the private key part of the public key to log in to the content runtime virtual machine.
For ssh-keygen
tool, see the "Input Parameter" section of Provisioning and managing your Content Runtime infrastructure topic.
Private Key for Pattern Manager - Base 64 encoded, Public Key for Pattern Manager and Key Name for Pattern Manager key set
This is an SSH private-public key pair that you can generate by using the ssh-keygen tool. You must encode the private part of the key pair as a base 64 encoded value and provide this encoded value as input for Private Key for Pattern Manager - Base 64 encoded
.
The public part of this key pair must be the value for Public Key for Pattern Manager
. The private key is used to communicate with the virtual machine on which middleware is installed. The public part of this key is set on this virtual
machine while installing the middleware using the middleware content Terraform template.
In case of IBM Cloud and Amazon Cloud, the public key that needs to be set on the content virtual machine must be provided as SSH Key resource. For more information on SSH Key resource, see https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-key-pairs.html and https://cloud.ibm.com/docs/ssh-keys?topic=ssh-keys-adding-an-ssh-key. This SSH Key resource must exist in the cloud prior to the deployment of the content runtime.
The name of the SSH Key resource must be the value of content runtime input Key Name for Pattern Manager key set
. When the content Terraform template is deployed, the key name is used to fetch the public key and the public key is
set in the middleware content virtual machine.
Note: In case of VMWare and other clouds, the Key Name for Pattern Manager key set
is just a name associated with the key pair.