|
| 1 | +# Prepare Setup |
| 2 | + |
| 3 | +## Introduction |
| 4 | + |
| 5 | +This lab will show you how to download the Oracle Resource Manager (ORM) stack zip file needed to set up the resources needed to run this workshop. |
| 6 | + |
| 7 | +*Estimated Lab Time:* 5 minutes |
| 8 | + |
| 9 | +### Objectives |
| 10 | + |
| 11 | +* Download ORM stack |
| 12 | +* (*Optional*) Configure an existing Virtual Cloud Network (VCN) |
| 13 | +* Select a Compartment for the workshop |
| 14 | + |
| 15 | +### Prerequisites |
| 16 | + |
| 17 | +This lab assumes you have: |
| 18 | + |
| 19 | +* An Oracle Cloud account |
| 20 | + |
| 21 | +## Task 1: Download Oracle Resource Manager (ORM) stack zip file |
| 22 | + |
| 23 | +1. Click on the link below to download the Resource Manager zip file you need to build your environment: |
| 24 | + |
| 25 | + * [gdk-oci-adb-ll-orm.zip](https://c4u04.objectstorage.us-ashburn-1.oci.customer-oci.com/p/EcTjWk2IuZPZeNnD_fYMcgUhdNDIDA6rt9gaFj_WZMiL7VvxPBNMY60837hu5hga/n/c4u04/b/livelabsfiles/o/oci-library/gdk-oci-adb-ll-orm.zip) |
| 26 | + |
| 27 | +2. Save it in your downloads folder. |
| 28 | + |
| 29 | +3. (*Recommended*) We strongly recommend using this stack to create a new self-contained/dedicated VCN along with your instance. Skip to **Task 3** to follow the recommendation. |
| 30 | + |
| 31 | +4. Alternatively, if you would rather use an existing VCN then proceed to the next task to update your existing VCN with the required network security rules. |
| 32 | + |
| 33 | +## Task 2: Add Network Security Rules to an Existing VCN |
| 34 | + |
| 35 | +This workshop requires a certain number of ports to be available, a requirement that is automatically met by using the default ORM stack execution that creates a new dedicated VCN. |
| 36 | + |
| 37 | +However, if you would rather use an existing VCN/subnet, follow these steps to add the following rules to the network security list. |
| 38 | + |
| 39 | +1. From the Oracle Cloud Console navigation menu, go to **Networking >> Virtual Cloud Networks**. |
| 40 | +2. Choose your network. |
| 41 | +3. Under **Resources**, select **Security Lists**. |
| 42 | +4. Click on **Default Security Lists** under the **Create Security List** button. |
| 43 | +5. Click **Add Ingress Rules** button. |
| 44 | +6. Create a rule for each row in the *Ingress* table below: |
| 45 | + |
| 46 | + | Stateless | Source Type | Source CIDR | IP Protocol | Source Port Range | Destination Port Range | Description | |
| 47 | + | :------------- | :---------: | :---------: | :---------: | :---------------: | :--------------------: | :------------------------- | |
| 48 | + | No (unchecked) | CIDR | 0.0.0.0/0 | TCP | All | 80 | Remote Desktop using noVNC | |
| 49 | + | No (unchecked) | CIDR | 0.0.0.0/0 | TCP | All | 6080 | Remote Desktop using noVNC | |
| 50 | + {: title="Network Ingress Security Rules"} |
| 51 | + |
| 52 | +7. Select **Egress Rule** from the left panel. |
| 53 | +8. Click **Add Egress Rule** button |
| 54 | +9. Create a rule for each row in the *Egress* table below: |
| 55 | + |
| 56 | + | Stateless | Source Type | Destination CIDR | IP Protocol | Source Port Range | Destination Port Range | Description | |
| 57 | + | :------------- | :---------: | :--------------: | :---------: | :---------------: | :--------------------: | :-------------------- | |
| 58 | + | No (unchecked) | CIDR | 0.0.0.0/0 | TCP | All | 80 | Outbound HTTP access | |
| 59 | + | No (unchecked) | CIDR | 0.0.0.0/0 | TCP | All | 443 | Outbound HTTPS access | |
| 60 | + {: title="Network Egress Security Rules"} |
| 61 | + |
| 62 | +## Task 3: Select a Compartment for the Workshop |
| 63 | + |
| 64 | +We recommend you use a single compartment for the workshop. We will refer to this as your workshop compartment. This is the compartment where you will provision all the resources - Oracle Resource Manager (ORM) Stack, Compute Instance, VCN/Subnet, Instance Principals, Policies, Autonomous Database, Vault - needed for the workshop. |
| 65 | + |
| 66 | +1. From the Oracle Cloud Console navigation menu, go to **Identity & Security >> Identity >> Compartments**. |
| 67 | +2. Go to your workshop compartment. |
| 68 | +3. Make a note of the compartment name and OCID. You will need this information in subsequent labs. |
| 69 | + |
| 70 | +## Task 4: Setup Compute |
| 71 | + |
| 72 | +Using the details from the above Tasks, proceed to the **Environment Setup** lab to set up your workshop environment using Oracle Resource Manager (ORM) with one of the following options: |
| 73 | + |
| 74 | +* (*Recommended*) Create Stack: **Compute + Networking** |
| 75 | +* Create Stack: **Compute only** with an existing VCN where security lists have been updated as per **Task 2** above |
| 76 | + |
| 77 | +The ORM stack will provision a compute instance with 4 OCPUs, 64 GB RAM and a Remote Desktop environment. |
| 78 | + |
| 79 | +You may now **proceed to the next lab**. |
| 80 | + |
| 81 | +## Acknowledgements |
| 82 | + |
| 83 | +* **Author** - [](var:author) |
| 84 | +* **Contributors** - [](var:contributors) |
| 85 | +* **Last Updated By/Date** - [](var:last_updated) |
0 commit comments