From 49f14d069dbcda2bec5e28373831039748cc9820 Mon Sep 17 00:00:00 2001 From: Marco Verleun Date: Mon, 2 Jan 2023 10:22:34 +0100 Subject: [PATCH] Add more info about ssh --- slides/intro-triodos-1-day.yml | 2 +- slides/shared/about-slides-v2.md | 73 ++++++++++++++++++++++++++++++++ slides/shared/connecting-v2.md | 52 +++++++++++++++++++++-- 3 files changed, 123 insertions(+), 4 deletions(-) create mode 100644 slides/shared/about-slides-v2.md diff --git a/slides/intro-triodos-1-day.yml b/slides/intro-triodos-1-day.yml index 52a24af..25f8c8e 100644 --- a/slides/intro-triodos-1-day.yml +++ b/slides/intro-triodos-1-day.yml @@ -21,7 +21,7 @@ content: - shared/connecting-v2.md - containers/intro.md #- k8s/intro.md -- shared/about-slides.md +- shared/about-slides-v2.md #- shared/chat-room-im.md #- shared/chat-room-slack.md #- shared/chat-room-zoom-meeting.md diff --git a/slides/shared/about-slides-v2.md b/slides/shared/about-slides-v2.md new file mode 100644 index 0000000..0d3ba37 --- /dev/null +++ b/slides/shared/about-slides-v2.md @@ -0,0 +1,73 @@ +## Accessing these slides now + +- We recommend that you open these slides in your browser: + + @@SLIDES@@ + +- Use arrows to move to next/previous slide + + (up, down, left, right, page up, page down) + +- Type a slide number + ENTER to go to that slide + +- The slide number is also visible in the URL bar + + (e.g. .../#123 for slide 123) + +--- + +## Accessing these slides later + +- Slides will remain online some time. + +- You can download the slides using that URL: + + @@ZIP@@ + + (then open the file `@@HTML@@`) + +- You will find new versions of these slides (and more) on the upstream repo: + + https://container.training/ + +--- + +## These slides are open source + +- You are welcome to use, re-use, share these slides + +- These slides are written in Markdown + +- The sources of these slides are available in a public GitHub repository: + + https://@@GITREPO@@ + +- Typos? Mistakes? Questions? Feel free to hover over the bottom of the slide ... + +.footnote[👇 Try it! The source file will be shown and you can view it on GitHub and fork and edit it.] + + + +--- + +class: extra-details + +## Extra details + +- This slide has a little magnifying glass in the top left corner + +- This magnifying glass indicates slides that provide extra details + +- Feel free to skip them if: + + - you are in a hurry + + - you are new to this and want to avoid cognitive overload + + - you want only the most essential information + +- You can review these slides another time if you want, they'll be waiting for you ☺ diff --git a/slides/shared/connecting-v2.md b/slides/shared/connecting-v2.md index 2a4dcd2..89e762f 100644 --- a/slides/shared/connecting-v2.md +++ b/slides/shared/connecting-v2.md @@ -1,10 +1,54 @@ class: in-person +## Where are we going to run our containers? + +--- + +class: in-person, pic + +![You get a cluster](images/you-get-a-cluster.jpg) + +--- + +class: in-person + +## You get a cluster of cloud VMs + +- Each person gets a private cluster of cloud VMs (not shared with anybody else) + +- They'll remain up for the duration of the workshop + +- You should have a (virtual) little card with login+password+IP addresses + +- You can automatically SSH from one VM to another + +- The nodes have aliases: `node1`, `node2`, etc. + +--- + +class: in-person + ## Connecting to our lab environment +### `webssh` + +- Open http://A.B.C.D:1080 in your browser and you should see a login screen + +- Enter the username and password and click `connect` + +- You are now logged in to `node1` of your cluster + +- Refresh the page if the session times out + +--- +class: in-person + +## Connecting to our lab environment from the CLI + .lab[ - Log into the first VM (`node1`) with your SSH client: + ```bash ssh `user`@`A.B.C.D` ``` @@ -26,14 +70,16 @@ done ] You should see a prompt looking like this: -``` + +```bash [A.B.C.D] (...) user@node1 ~ $ ``` + If anything goes wrong — ask for help! --- - + ## Doing or re-doing the workshop on your own? - Use something like