Skip to content

Commit 9d5736a

Browse files
ChrisJ60klazarz
andauthored
Ready for next review cycle (#65)
* TimesTen: Initial population * Work in progress * Finalising workshop instructions etc. * QA fixes #1 * QA fixes #2 * Typo and grammar corrections * URL fixup, additional minor tweaks. * Minor updates and fixes. * Improve connection instructions. * cleanup migration cleanup migration * clean up after migration clean up after migration * Update to README file * Various improvements based on feedback. * URL corrections * Correcting e-mail address for 'help' * Tiny changes * Urgent fixes from first round review * Latest changes * Various edits * More changes * Final changes before next review cycle Co-authored-by: Kevin Lazarz <kevin.lazarz@oracle.com>
1 parent b78ea8d commit 9d5736a

File tree

27 files changed

+432
-415
lines changed

27 files changed

+432
-415
lines changed
3.99 MB
Loading

timesten/cache-introduction/00-novnc/novnc-livelabs.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22

33
## Introduction
44

5-
This workshop can be accessed using a browser based graphical remote desktop (noVNC). It can also be accessed using SSH. You are free to use either method but we recommend SSH as for this workshop it provides a superior experience.
6-
7-
This lab will show you how to get started with your workshop with a remote desktop session and how to enable SSH access.
5+
This workshop can be accessed using a browser based graphical remote desktop (noVNC). It can also be accessed using SSH. This lab will show you how to get started with your workshop with a remote desktop session, and how to enable SSH access.
86

97
**Estimated Lab Time**: 10 minutes
108

@@ -15,14 +13,14 @@ In this lab, you will:
1513
- Enable fullscreen display of remote desktop session
1614
- Enable remote clipboard integration
1715
- Open the workshop guide from the remote desktop
18-
- Enable SSH access (optional but recommended)
16+
- Enable SSH access (optional)
1917

2018
### Prerequisites
2119

2220
This lab assumes you have:
2321

2422
- Launched the workshop in the LiveLabs environment
25-
- An RSA format SSH private/public key pair to use to access the OCI instance (optional)
23+
- An RSA format SSH private/public key pair to use to access the OCI instance using SSH (optional)
2624

2725
If you need help in generating a suitable SSH key pair, please consult [this tutorial](https://docs.oracle.com/en/learn/generate_ssh_keys/index.html).
2826

@@ -50,19 +48,19 @@ During the execution of your labs you may need to copy text from your local PC/M
5048
![](./images/novnc-clipboard-2.png " ")
5149

5250
*Note:* Please make sure you initialize your clipboard with step [1] shown in the screenshot above before opening the target application in which you intend to paste the text. Otherwise will find the *paste* function in the context menu grayed out when attempting to paste for the first time.
51+
52+
**IMPORTANT:** Due to the slightly cumbesome nature of copying between your host system and the NoVNC session, we recommend that you perform all of the copy/paste actiosn within the NoVNC session. Alternatively, access the workshop's OCI instance via SSH and copy/paste between your host and your SSH session.
5353

5454
## Task 3: Open Your Workshop Guide
5555

56-
1. If the *Web* browser window(s) is(are) not already open side-by-side, double-click on the *Get Started with your Workshop* icon from the remote desktop. This will launch one or two windows depending on the workshop.
56+
1. If the *Web* browser window is not already open, double-click on the *Get Started with your Workshop* icon from the remote desktop. This will open the workshop instructions within the NoVNC session (ideal for copy/paste).
5757

5858
![](./images/novnc-launch-get-started-1.png " ")
5959

60-
2. On the left windows is your workshop guide and depending on your workshop, you may also one or two browser tabs loaded with webapps. e.g. Weblogic console, Enterprise Manager Cloud Console, or a relevant application to your workshop such as SQL Developer, JDeveloper, etc.
60+
2. On the left is the browser window with your workshop guide
6161

6262
![](./images/novnc-launch-get-started-2.png " ")
63-
![](./images/novnc-launch-get-started-3.png " ")
6463

65-
You may now proceed to the next lab.
6664

6765
## Task 4: Configure SSH access (optional).
6866

@@ -118,6 +116,8 @@ This assumes that you already have an RSA type SSH key-pair available on the loc
118116
```
119117
120118
For Putty, please refer to the guide [Generate SSH Keys](https://oracle-livelabs.github.io/common/labs/generate-ssh-key) on how to establish the connection using the *.ppk* private key.
119+
120+
You can now *proceed to the next lab*.
121121
122122
## Acknowledgements
123123
* **Author** - Rene Fontcha, LiveLabs Platform Lead, NA Technology

timesten/cache-introduction/00-novnc/novnc-owntenancy.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# Using noVNC Remote Desktop
1+
# Using noVNC Remote Desktop and enabling SSH access
22

33
## Introduction
44

5-
This workshop can be accessed using a browser based graphical remote desktop (noVNC) or via SSH. You are free to use either method, but we recommend SSH as for this workshop it provides a superior experience.
5+
This workshop can be accessed using a browser based graphical remote desktop (noVNC). It can also be accessed using SSH. This lab will show you how to get started with your workshop with a remote desktop session.
66

7-
This lab will show you how to get started with your workshop with a remote desktop session. SSH access was (optionally) provisioned when you created the OCI instance using the provided ORM stack file.
8-
9-
If you prefer to use SSH access (recommended), and do not plan to use the graphical desktop, then you can skip the rest of this lab and *proceed to the next lab.*
7+
If you plan to only use SSH access then you can *proceed to the next lab*.
108

119
**Estimated Lab Time**: 5 minutes
1210

@@ -22,7 +20,7 @@ In this lab, you will:
2220

2321
This lab assumes you have:
2422

25-
- Launched the workshop in your own tenancy (paid or free trial)
23+
- Launched the workshop in your own tenancy using via the provided ORM stack
2624

2725
## Task 1: Enable Full-screen Display
2826
For seamless desktop integration and to make the best use of your display, perform the following tasks to render your remote desktop session in fullscreen mode.
@@ -48,21 +46,22 @@ During the execution of your labs you may need to copy text from your local PC/M
4846
![](./images/novnc-clipboard-2.png " ")
4947

5048
*Note:* Please make sure you initialize your clipboard with step [1] shown in the screenshot above before opening the target application in which you intend to paste the text. Otherwise will find the *paste* function in the context menu grayed out when attempting to paste for the first time.
49+
50+
**IMPORTANT:** Due to the slightly cumbesome nature of copying between your host system and the NoVNC session, we recommend that you perform all of the copy/paste actions within the NoVNC session rather than between your host and the NoVNC session.
5151

5252
## Task 3: Open Your Workshop Guide
5353

54-
1. If the *Web* browser window(s) is(are) not already open side-by-side, double-click on the *Get Started with your Workshop* icon from the remote desktop. This will launch one or two windows depending on the workshop.
54+
1. If the *Web* browser window is not already open, double-click on the *Get Started with your Workshop* icon from the remote desktop. This will open the workshop instructions within the NoVNC session (ideal for copy/paste).
5555

5656
![](./images/novnc-launch-get-started-1.png " ")
5757

58-
2. On the left windows is your workshop guide and depending on your workshop, you may also one or two browser tabs loaded with webapps. e.g. Weblogic console, Enterprise Manager Cloud Console, or a relevant application to your workshop such as SQL Developer, JDeveloper, etc.
58+
2. On the left is the browser window with your workshop guide
5959

6060
![](./images/novnc-launch-get-started-2.png " ")
61-
![](./images/novnc-launch-get-started-3.png " ")
6261

63-
You may now *proceed to the next lab*.
62+
*You may now proceed to the next lab.*
6463

6564
## Acknowledgements
6665
* **Author** - Rene Fontcha, LiveLabs Platform Lead, NA Technology
6766
* **Contributors** - Arabella Yao, Database Product Management
68-
* **Last Updated By/Date** - Chris Jenkins, July 2022
67+
* **Last Updated By/Date** - Chris Jenkins, August 2022
23.8 KB
Loading
24.9 KB
Loading
2.04 MB
Loading

timesten/cache-introduction/00-setup-compute/setup-compute.md

Lines changed: 71 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
This lab will show you how to setup a Resource Manager stack that will generate the Oracle Cloud objects needed to run your workshop.
66

7-
*Estimated Lab Time:* 15 minutes
7+
**Estimated Lab Time:** 15 minutes
88

99
### About Terraform and Oracle Cloud Resource Manager
1010

@@ -27,10 +27,13 @@ This lab assumes you have:
2727

2828
When using the downloaded ORM stack file to deploy the required OCI resources you have two options:
2929

30-
- Allow the stack to create and configure a private, dedicated network (VNC and subnet) for you
30+
- Allow the stack to create and configure a private, dedicated network (VNC and subnet) for you (recommended)
31+
3132
- Specify an existing, suitably configured, network (VCN and subnet) to be used
3233

33-
The rest of thi lab assumes that you will allow the stack to create the network for you. If you wish to use an existing network (see *Lab: Prepare Setup *for details of required Ingress rules) then consult the Appendix below for instructions.
34+
The rest of this lab assumes that you will allow the stack to create the network for you.
35+
36+
If you wish to use an existing network (see *Lab: Prepare Setup* for details of required **Ingress** rules) then consult **Appendix 3** below for instructions.
3437

3538
## Task 2: Create Stack: Compute + Networking
3639

@@ -58,81 +61,27 @@ The rest of thi lab assumes that you will allow the stack to create the network
5861
7. Depending on the quota you have in your tenancy you can choose from standard Compute shapes or Flex shapes. Please visit the Appendix: Troubleshooting Tips for instructions on checking your quota
5962
- **Use Flexible Instance Shape with Adjustable OCPU Count?:** Keep the default as checked (unless you plan on using a fixed shape)
6063
- **Instance Shape:** Keep the default or select from the list of Flex shapes in the dropdown menu (e.g *VM.Standard.E4.Flex*).
61-
- **Instance OCPUS:** Accept the default shown. e.g. (**4**) will provision 4 OCPUs and 64GB of memory. You may also elect to reduce or increase the count by selecting from the dropdown. e.g. `[2-24]`. Please ensure you have the capacity available before increasing.
64+
- **Instance OCPUS:** Accept the default shown. e.g. **4** will provision 4 OCPUs and 64GB of memory, which is the minimum for this workshop. Please ensure you have the capacity available before increasing the resources.
6265
8. If don't have quota for Flex Shapes or you prefer to use fixed shapes, follow the instructions below. Otherwise skip to the next step.
6366
- **Use Flexible Instance Shape with Adjustable OCPU Count?:** Unchecked
64-
- **Instance Shape:** Accept the default shown or select from the dropdown. e.g. VM.Standard2.2
67+
- **Instance Shape:** Accept the default shown or select from the dropdown. e.g. VM.Standard2.4
6568

6669
![](./images/create-stack-novnc-3.png " ")
6770

68-
10. For this section we will provision a new VCN with all the appropriate ingress and egress rules needed to run this workshop. If you already have a VCN, make sure it has all of the correct ingress and egress rules and skip to the next section.
71+
10. In this section we are provisioning a new VCN with all the appropriate ingress and egress rules needed to run this workshop (recommended).
6972
- **Use Existing VCN?:** Accept the default by leaving this unchecked. This will create a **new VCN**.
7073

7174
11. Click **Next**.
75+
7276
12. Select **Run Apply** and click **Create**.
7377

7478
![](./images/create-stack-novnc-4.png " ")
7579

76-
13. Your stack has is now created and the *Apply* action triggered is running to deploy your environment!
80+
13. Your stack has is now created and the *Apply* action is running to deploy your environment!
7781

7882
![](./images/create-stack-novnc-5.png " ")
7983

80-
You may now proceed to Task 2 (skip Task 1B).
81-
82-
## Task 1B: Create Stack: Compute only
83-
If you just completed Task 1A, please proceed to Task 2. If you have an existing VCN and are comfortable updating VCN configurations, please ensure your VCN meets the minimum requirements. Refer to *Lab: Prepare Setup*
84-
85-
*Note:* We recommend letting our stack create the VCN to reduce the potential for error.
86-
87-
1. Identify the ORM stack zip file downloaded in *Lab: Prepare Setup*
88-
2. Login to Oracle Cloud
89-
3. Open up the hamburger menu in the left hand corner. Choose the compartment in which you would like to install. Choose **Resource Manager > Stacks**.
90-
91-
![](https://oracle-livelabs.github.io/common/images/console/developer-resmgr-stacks.png " ")
92-
93-
![](./images/create-stack.png " ")
94-
95-
4. Select **My Configuration**, click the **Browse** link and select the zip file (dbsec-lab-mkplc-freetier.zip) that you downloaded. Click **Select**.
96-
97-
![](./images/create-stack-novnc-1.png " ")
98-
99-
Enter the following information:
100-
- **Name**: Enter a name or keep the prefilled default (*DO NOT ENTER ANY SPECIAL CHARACTERS HERE*, including periods, underscores, exclamation etc, it will mess up the configuration and you will get an error during the apply process)
101-
- **Description**: Same as above
102-
- **Create in compartment**: Select the correct compartment if not already selected
103-
104-
*Note:* If this is a newly provisioned tenant such as freetier with no user created compartment, stop here and first create it before proceeding.
105-
106-
5. Click **Next**.
107-
108-
![](./images/create-stack-novnc-6.png " ")
109-
110-
Enter or select the following:
111-
- **Instance Count:** Keep the default to **1** to create only one instance. You may also choose to a higher number if you need more than one instance created.
112-
- **Select Availability Domain:** Select an availability domain from the dropdown list.
113-
- **Use Flexible Instance Shape with Adjustable OCPU Count?:** Keep the default as checked (unless you plan on using a fixed shape)
114-
- **Instance Shape:** Keep the default or select from the list of Flex shapes in the dropdown menu (e.g *VM.Standard.E4.Flex*).
115-
- **Instance OCPUS:** Accept the default shown. e.g. (**4**) will provision 4 OCPUs and 64GB of memory. You may also elect to reduce or increase the count by selecting from the dropdown. e.g. `[2-24]`. Please ensure you have the capacity available before increasing.
116-
- **Use Existing VCN?:** Check to select.
117-
- **Select Existing VCN?:** Select existing VCN with regional public subnet and required security list.
118-
119-
*Note:* For an existing VCN Option to be used successful, review the details at the bottom of this section
120-
121-
6. If you prefer to use fixed shapes, follow the instructions below. Otherwise skip to the next step.
122-
- **Use Flexible Instance Shape with Adjustable OCPU Count?:** Unchecked
123-
- **Instance Shape:** Accept the default shown or select from the dropdown. e.g. VM.Standard.E2.2
124-
125-
![](./images/create-stack-novnc-7.png " ")
126-
127-
7. Review and click **Create**.
128-
129-
![](./images/create-stack-novnc-8.png " ")
130-
131-
8. Your stack has is now created and the *Apply* action triggered is running to deploy your environment!
132-
133-
![](./images/create-stack-novnc-5.png " ")
134-
135-
## Task 2: Terraform Apply
84+
## Task 3: Terraform Apply
13685
In the prior steps we elected to trigger the *terraform apply action* on stack creation.
13786

13887
1. Review the job output.
@@ -143,7 +92,7 @@ In the prior steps we elected to trigger the *terraform apply action* on stack c
14392
3. Your public IP address(es), instance name(s), and remote desktop URL are displayed.
14493

14594

146-
## Task 3: Access the Graphical Remote Desktop
95+
## Task 4: Access the Graphical Remote Desktop
14796
For ease of execution of this workshop, your VM instance has been pre-configured with a remote graphical desktop accessible using any modern browser on your laptop or workstation. Proceed as detailed below to login.
14897

14998
1. Navigate to **Stack Details**, **Application Information** tab, and click on the remote desktop URL
@@ -161,6 +110,8 @@ For ease of execution of this workshop, your VM instance has been pre-configured
161110
Public IP addresses used for LiveLabs provisioning comes from a pool of reusable addresses and this error is due to the fact that the address was previously used by a compute instance long terminated, but that wasn't properly secured, got bridged and was flagged. You can safely ignore and proceed by clicking on *Details*, and finally on *Visit this unsafe site*.
162111

163112
![](images/novnc-deceptive-site-error.png " ")
113+
114+
You can now *proceed to the next lab*.
164115

165116
## Appendix 1: Terraform and Resource Manager
166117
Terraform is a tool for building, changing, and versioning infrastructure safely and efficiently. Configuration files describe to Terraform the components needed to run a single application or your entire datacenter. In this lab a configuration file has been created for you to build network and compute components. The compute component you will build creates an image out of Oracle's Cloud Marketplace. This image is running Oracle Linux 7.
@@ -251,7 +202,62 @@ Modify your stack to use fixed shapes instead.
251202
1. Uncheck the option *"Use Flexible Instance Shape with Adjustable OCPU Count"* to use fixed shape instead
252203
![](./images/standardshape.png " ")
253204

205+
## Appendix 3: Create Stack using an existing VCN
206+
207+
If you have an existing VCN which you wish to use, and are comfortable updating VCN configurations, please ensure your VCN meets the minimum requirements. Refer to *Lab: Prepare Setup*
208+
209+
*Note:* We recommend letting our stack create the VCN to reduce the potential for error.
210+
211+
1. Identify the ORM stack zip file downloaded in *Lab: Prepare Setup*
212+
2. Login to Oracle Cloud
213+
3. Open up the hamburger menu in the left hand corner. Choose the compartment in which you would like to install. Choose **Resource Manager > Stacks**.
214+
215+
![](https://oracle-livelabs.github.io/common/images/console/developer-resmgr-stacks.png " ")
216+
217+
![](./images/create-stack.png " ")
218+
219+
4. Select **My Configuration**, click the **Browse** link and select the zip file (dbsec-lab-mkplc-freetier.zip) that you downloaded. Click **Select**.
220+
221+
![](./images/create-stack-novnc-1.png " ")
222+
223+
Enter the following information:
224+
- **Name**: Enter a name or keep the prefilled default (*DO NOT ENTER ANY SPECIAL CHARACTERS HERE*, including periods, underscores, exclamation etc, it will mess up the configuration and you will get an error during the apply process)
225+
- **Description**: Same as above
226+
- **Create in compartment**: Select the correct compartment if not already selected
227+
228+
*Note:* If this is a newly provisioned tenant such as freetier with no user created compartment, stop here and first create it before proceeding.
229+
230+
5. Click **Next**.
231+
232+
![](./images/create-stack-novnc-6.png " ")
233+
234+
Enter or select the following:
235+
- **Instance Count:** Keep the default to **1** to create only one instance. You may also choose to a higher number if you need more than one instance created.
236+
- **Select Availability Domain:** Select an availability domain from the dropdown list.
237+
- **Use Flexible Instance Shape with Adjustable OCPU Count?:** Keep the default as checked (unless you plan on using a fixed shape)
238+
- **Instance Shape:** Keep the default or select from the list of Flex shapes in the dropdown menu (e.g *VM.Standard.E4.Flex*).
239+
- **Instance OCPUS:** Accept the default shown. e.g. **4** will provision 4 OCPUs and 64GB of memory, which is the minimum for this workshop. Please ensure you have the capacity available before increasing the resources.
240+
- **Use Existing VCN?:** Check to select.
241+
- **Select Existing VCN?:** Select existing VCN with regional public subnet and required security list.
242+
243+
*Note:* For an existing VCN Option to be used successful, review the details at the bottom of this section
244+
245+
6. If you prefer to use fixed shapes, follow the instructions below. Otherwise skip to the next step.
246+
- **Use Flexible Instance Shape with Adjustable OCPU Count?:** Unchecked
247+
- **Instance Shape:** Accept the default shown or select from the dropdown. e.g. VM.Standard.E2.4
248+
249+
![](./images/create-stack-novnc-7.png " ")
250+
251+
7. Review and click **Create**.
252+
253+
![](./images/create-stack-novnc-8.png " ")
254+
255+
8. Your stack has is now created and the *Apply* action is running to deploy your environment!
256+
257+
![](./images/create-stack-novnc-5.png " ")
258+
259+
You may now return to **Task 3: Terraform Apply** above.
254260

255261
## Acknowledgements
256262
* **Author** - Rene Fontcha, LiveLabs Platform Lead, NA Technology
257-
* **Last Updated By/Date** - Rene Fontcha, LiveLabs Platform Lead, NA Technology, August 2021
263+
* **Last Updated By/Date** - Chris Jenkins, August 2022

0 commit comments

Comments
 (0)