-
On your computer, create an SSH key pair by issuing the following command:
ssh-keygen -t rsa -b 4096 -N '' -f ./lab-key
This command generates two files in the current directory:
lab-key
(the private key) andlab-key.pub
(the public key.List the keys exist in the current directory with the following command:
ls lab-key*
If the SSH key pair succeeded, the output lists them:
lab-key lab-key.pub
-
Add the deployable architecture to a project:
-
Access the VSI on VPC landing zone Deployable Architecture in IBM Cloud.
-
On the VSI on VPC landing zone details page, make sure that the following settings are selected: a. Product version: Select the latest (
4.4.7`` at the time of writing). b. Variation:
Standard` -
Click Review deployment options on the lower right.
-
Click Add to project.
-
In Create New, enter a name for the project. For example, "<your initials> Landing Zone Lab". You can leave the other information as is.
-
Click Add on the lower right.
-
-
Configure the project
-
In the Configure > Security section, specify the following information: a. Authentication: Clear Use a secret and paste in your IBM Cloud API key.
-
In the Configure > Required section, specify the following settings: a.
ssh_public_key
: The value of thelab-key.pub
file that you generated in step 1. b.region
: The region that you want to deploy in. c.prefix
: Your initials. -
In the Configure > Optional, set the following options: a.
add_atracker_route
:false
. -
Click Save.
-
-
Validate and deploy the deployable architecture:
- Click Validate.
The project runs through several validation steps. When it finishes, the validation is marked as successful. In the Approval pending section, add a comment and click Approve to start provisioning.
-
Click Deploy
ℹ️ Tip: Deployment takes approximately 15 minutes to complete.
-
While you wait for the deployment to finish, consider doing these things:
-
Look at the deployment logs:
- The Terraform plan steps show the list of resources that are going to be created.
- The Terraform apply steps shows the resources that are being created.
Example:
-
Go to the VPC section and the resource list in your IBM Cloud account. Refresh the screen to see the resources that are created during deployment.
-
Explore some of the materials in the introduction to this lab.
-
Have a coffee ☕
-