You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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>
Copy file name to clipboardExpand all lines: timesten/cache-introduction/00-novnc/novnc-livelabs.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,7 @@
2
2
3
3
## Introduction
4
4
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.
8
6
9
7
**Estimated Lab Time**: 10 minutes
10
8
@@ -15,14 +13,14 @@ In this lab, you will:
15
13
- Enable fullscreen display of remote desktop session
16
14
- Enable remote clipboard integration
17
15
- Open the workshop guide from the remote desktop
18
-
- Enable SSH access (optional but recommended)
16
+
- Enable SSH access (optional)
19
17
20
18
### Prerequisites
21
19
22
20
This lab assumes you have:
23
21
24
22
- 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)
26
24
27
25
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).
28
26
@@ -50,19 +48,19 @@ During the execution of your labs you may need to copy text from your local PC/M
50
48

51
49
52
50
*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.
53
53
54
54
## Task 3: Open Your Workshop Guide
55
55
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).
57
57
58
58

59
59
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
61
61
62
62

63
-

64
63
65
-
You may now proceed to the next lab.
66
64
67
65
## Task 4: Configure SSH access (optional).
68
66
@@ -118,6 +116,8 @@ This assumes that you already have an RSA type SSH key-pair available on the loc
118
116
```
119
117
120
118
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*.
121
121
122
122
## Acknowledgements
123
123
* **Author** - Rene Fontcha, LiveLabs Platform Lead, NA Technology
Copy file name to clipboardExpand all lines: timesten/cache-introduction/00-novnc/novnc-owntenancy.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,10 @@
1
-
# Using noVNC Remote Desktop
1
+
# Using noVNC Remote Desktop and enabling SSH access
2
2
3
3
## Introduction
4
4
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.
6
6
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*.
10
8
11
9
**Estimated Lab Time**: 5 minutes
12
10
@@ -22,7 +20,7 @@ In this lab, you will:
22
20
23
21
This lab assumes you have:
24
22
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
26
24
27
25
## Task 1: Enable Full-screen Display
28
26
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
48
46

49
47
50
48
*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.
51
51
52
52
## Task 3: Open Your Workshop Guide
53
53
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).
55
55
56
56

57
57
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
59
59
60
60

61
-

62
61
63
-
You may now *proceed to the next lab*.
62
+
*You may now proceed to the next lab.*
64
63
65
64
## Acknowledgements
66
65
***Author** - Rene Fontcha, LiveLabs Platform Lead, NA Technology
Copy file name to clipboardExpand all lines: timesten/cache-introduction/00-setup-compute/setup-compute.md
+71-65Lines changed: 71 additions & 65 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@
4
4
5
5
This lab will show you how to setup a Resource Manager stack that will generate the Oracle Cloud objects needed to run your workshop.
6
6
7
-
*Estimated Lab Time:* 15 minutes
7
+
**Estimated Lab Time:** 15 minutes
8
8
9
9
### About Terraform and Oracle Cloud Resource Manager
10
10
@@ -27,10 +27,13 @@ This lab assumes you have:
27
27
28
28
When using the downloaded ORM stack file to deploy the required OCI resources you have two options:
29
29
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
+
31
32
- Specify an existing, suitably configured, network (VCN and subnet) to be used
32
33
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.
34
37
35
38
## Task 2: Create Stack: Compute + Networking
36
39
@@ -58,81 +61,27 @@ The rest of thi lab assumes that you will allow the stack to create the network
58
61
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
59
62
-**Use Flexible Instance Shape with Adjustable OCPU Count?:** Keep the default as checked (unless you plan on using a fixed shape)
60
63
-**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.
62
65
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.
63
66
-**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
65
68
66
69

67
70
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).
69
72
-**Use Existing VCN?:** Accept the default by leaving this unchecked. This will create a **new VCN**.
70
73
71
74
11. Click **Next**.
75
+
72
76
12. Select **Run Apply** and click **Create**.
73
77
74
78

75
79
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!
77
81
78
82

79
83
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**.
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
-

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
-

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
-

126
-
127
-
7. Review and click **Create**.
128
-
129
-

130
-
131
-
8. Your stack has is now created and the *Apply* action triggered is running to deploy your environment!
132
-
133
-

134
-
135
-
## Task 2: Terraform Apply
84
+
## Task 3: Terraform Apply
136
85
In the prior steps we elected to trigger the *terraform apply action* on stack creation.
137
86
138
87
1. Review the job output.
@@ -143,7 +92,7 @@ In the prior steps we elected to trigger the *terraform apply action* on stack c
143
92
3. Your public IP address(es), instance name(s), and remote desktop URL are displayed.
144
93
145
94
146
-
## Task 3: Access the Graphical Remote Desktop
95
+
## Task 4: Access the Graphical Remote Desktop
147
96
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.
148
97
149
98
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
161
110
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*.
162
111
163
112

113
+
114
+
You can now *proceed to the next lab*.
164
115
165
116
## Appendix 1: Terraform and Resource Manager
166
117
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.
251
202
1. Uncheck the option *"Use Flexible Instance Shape with Adjustable OCPU Count"* to use fixed shape instead
252
203

253
204
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**.
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
+

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
+

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
+

250
+
251
+
7. Review and click **Create**.
252
+
253
+

254
+
255
+
8. Your stack has is now created and the *Apply* action is running to deploy your environment!
256
+
257
+

258
+
259
+
You may now return to **Task 3: Terraform Apply** above.
254
260
255
261
## Acknowledgements
256
262
***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