|
1 |
| -# Deploying Landing Zone VSI pattern through IBM Cloud Project |
2 |
| - |
3 |
| -1. On your machine, create an SSH key pair via the command: |
4 |
| - ``` |
5 |
| - ssh-keygen -t rsa -b 4096 -N '' -f ./lab-key |
6 |
| - ``` |
7 |
| - This command generates two files in the current directory: `lab-key` (the private key) and `lab-key.pub` (the public key). |
8 |
| - Verify that the keys have been created in the current directory. |
9 |
| - ``` |
10 |
| - ls lab-key* |
11 |
| - ``` |
12 |
| - This should return: |
13 |
| - ``` |
14 |
| - lab-key lab-key.pub |
15 |
| - ``` |
16 |
| -2. Access the [VSI on VPC landing zone Deployable Architecture](https://cloud.ibm.com/catalog/architecture/deploy-arch-ibm-slz-vsi-ef663980-4c71-4fac-af4f-4a510a9bcf68-global?catalog_query=aHR0cHM6Ly9jbG91ZC5pYm0uY29tL2NhdGFsb2cjcmVmZXJlbmNlX2FyY2hpdGVjdHVyZQ%3D%3D) |
17 |
| -3. On the Overview page, make sure the following is selected:\ |
18 |
| - a. Product version: **Select the latest** (4.4.7 at the time of writting) |
19 |
| - |
20 |
| - b. Variation: Standard |
21 |
| -  |
22 |
| -4. Click **Review deployment options** on the bottom right |
23 |
| -5. Click **Add to project** |
24 |
| -6. Under _Create New_, input a name that you wish to provide to the project. For example "\<your initials\> Landing Zone Lab" |
25 |
| -7. Click **Add** on the bottom right |
26 |
| -8. Under _Configure -> Security_ section, set the following:\ |
27 |
| - a. Authentication: untoggle _Use a secret_ and paste your IBM Cloud API key input the box |
28 |
| - |
29 |
| -9. Under _Configure->Required_ section, set the following:\ |
30 |
| - a. `ssh_public_key`: The value of lab-key.pub that was generated from step 1\ |
31 |
| - b. `region`: Select a region that you wish to deploy in\ |
32 |
| - c. `prefix`: your initials |
33 |
| -  |
34 |
| - |
35 |
| -10. Under _Configure-> Optional_, set the following:\ |
36 |
| - a. `add_atracker_route`: false |
37 |
| -11. Click **Save** |
38 |
| -12. Click **Validate** |
39 |
| -13. The project will go through different steps in validation. When it completes, the validation is marked as successful. In the _Approval pending_ section, add a comment and click **Approve** to start provisioning. |
40 |
| - |
41 |
| - |
42 |
| - |
43 |
| -14. Click **Deploy** |
44 |
| - |
45 |
| - |
46 |
| -:information_source: **Note**: The deploy will take approximately 15 minutes to complete. Some suggestions during this time: |
47 |
| -- You may following the execution logs. Of interest: |
48 |
| -  |
49 |
| - - The terraform plan steps shows the list of resources that are going to be created. |
50 |
| - - The terraform apply steps shows the resources that are being created. |
51 |
| - - You may also navigate to the [VPC section](https://cloud.ibm.com/vpc-ext/vpcLayout) and the [resource list](https://cloud.ibm.com/resources) in your account to see the resources starting to spawn up as you refresh the screen during the execution. |
52 |
| -- Explore in more details some of the materials in the [introduction section](README) |
53 |
| -- Coffee ☕ |
| 1 | +# Deploying the Landing Zone VSI pattern through IBM Cloud projects |
| 2 | + |
| 3 | +1. On your computer, create an SSH key pair by issuing the following command: |
| 4 | + |
| 5 | + ```sh |
| 6 | + ssh-keygen -t rsa -b 4096 -N '' -f ./lab-key |
| 7 | + ``` |
| 8 | + |
| 9 | + This command generates two files in the current directory: `lab-key` (the private key) and `lab-key.pub` (the public key. |
| 10 | + |
| 11 | + List the keys exist in the current directory with the following command: |
| 12 | + |
| 13 | + ```sh |
| 14 | + ls lab-key* |
| 15 | + ``` |
| 16 | + |
| 17 | + If the SSH key pair succeeded, the output lists them: |
| 18 | + |
| 19 | + ```sh |
| 20 | + lab-key lab-key.pub |
| 21 | + ``` |
| 22 | + |
| 23 | +1. Add the deployable architecture to a project: |
| 24 | + |
| 25 | + 1. Access the [VSI on VPC landing zone Deployable Architecture](https://cloud.ibm.com/catalog/architecture/deploy-arch-ibm-slz-vsi-ef663980-4c71-4fac-af4f-4a510a9bcf68-global?catalog_query=aHR0cHM6Ly9jbG91ZC5pYm0uY29tL2NhdGFsb2cjcmVmZXJlbmNlX2FyY2hpdGVjdHVyZQ%3D%3D) in IBM Cloud. |
| 26 | + 1. On the VSI on VPC landing zone details page, make sure that the following settings are selected: |
| 27 | + a. Product version: **Select the latest** (`4.4.7`` at the time of writing). |
| 28 | + b. Variation: `Standard` |
| 29 | +
|
| 30 | +  |
| 31 | +
|
| 32 | + 1. Click **Review deployment options** on the lower right. |
| 33 | + 1. Click **Add to project**. |
| 34 | + 1. In **Create New**, enter a name for the project. For example, "\<your initials\> Landing Zone Lab". You can leave the other information as is. |
| 35 | + 1. Click **Add** on the lower right. |
| 36 | +
|
| 37 | +1. Configure the project |
| 38 | + 1. In the **Configure** > **Security** section, specify the following information: |
| 39 | + a. Authentication: Clear **Use a secret** and paste in your IBM Cloud API key. |
| 40 | +
|
| 41 | + 1. In the **Configure** > **Required** section, specify the following settings: |
| 42 | + a. `ssh_public_key`: The value of the `lab-key.pub` file that you generated in step 1. |
| 43 | + b. `region`: The region that you want to deploy in. |
| 44 | + c. `prefix`: Your initials. |
| 45 | +
|
| 46 | +  |
| 47 | +
|
| 48 | + 1. In the **Configure** > **Optional**, set the following options: |
| 49 | + a. `add_atracker_route`: `false`. |
| 50 | + 1. Click **Save**. |
| 51 | +
|
| 52 | +1. Validate and deploy the deployable architecture: |
| 53 | + 1. Click **Validate**. |
| 54 | +
|
| 55 | + 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. |
| 56 | +
|
| 57 | +  |
| 58 | +
|
| 59 | + 1. Click **Deploy** |
| 60 | +
|
| 61 | + :information_source: **Tip**: Deployment takes approximately 15 minutes to complete. |
| 62 | +
|
| 63 | +1. While you wait for the deployment to finish, consider doing these things: |
| 64 | +
|
| 65 | + - Look at the deployment logs: |
| 66 | + - The Terraform plan steps show the list of resources that are going to be created. |
| 67 | + - The Terraform apply steps shows the resources that are being created. |
| 68 | +
|
| 69 | + Example: |
| 70 | +
|
| 71 | +  |
| 72 | +
|
| 73 | + - Go to the [VPC section](https://cloud.ibm.com/vpc-ext/vpcLayout) and the [resource list](https://cloud.ibm.com/resources) in your IBM Cloud account. Refresh the screen to see the resources that are created during deployment. |
| 74 | + - Explore some of the materials in the [introduction](README) to this lab. |
| 75 | + - Have a coffee ☕ |
0 commit comments