Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 3.23 KB

10-project.md

File metadata and controls

75 lines (50 loc) · 3.23 KB

Deploying the Landing Zone VSI pattern through IBM Cloud projects

  1. 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) and lab-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
  2. Add the deployable architecture to a project:

    1. Access the VSI on VPC landing zone Deployable Architecture in IBM Cloud.

    2. 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`

      Details page

    3. Click Review deployment options on the lower right.

    4. Click Add to project.

    5. In Create New, enter a name for the project. For example, "<your initials> Landing Zone Lab". You can leave the other information as is.

    6. Click Add on the lower right.

  3. Configure the project

    1. In the Configure > Security section, specify the following information: a. Authentication: Clear Use a secret and paste in your IBM Cloud API key.

    2. In the Configure > Required section, specify the following settings: a. ssh_public_key: The value of the lab-key.pub file that you generated in step 1. b. region: The region that you want to deploy in. c. prefix: Your initials.

      Configuration

    3. In the Configure > Optional, set the following options: a. add_atracker_route: false.

    4. Click Save.

  4. Validate and deploy the deployable architecture:

    1. 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.

    Validation

    1. Click Deploy

      ℹ️ Tip: Deployment takes approximately 15 minutes to complete.

  5. 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:

      Deployment

    • 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 ☕