Skip to content

Commit 20d4cb8

Browse files
authored
Enhance security recommendations for Jupyter Lab setup
Added a reference to the nexus writeup for SSH tunnels and emphasized the importance of using HTTPS.
1 parent 4e6b1b9 commit 20d4cb8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

ai/aws.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,10 @@ if current_model == "DistilBERT":
351351

352352
This uses port forwarding: From a laptop to the
353353
EC2 VM running Jupyter Lab. One can also use an `ssh` tunnel,
354-
more secure. Also more secure: Modifying the communication
355-
protocol to `https`.
354+
more secure. The **nexus** writeup for `ssh` tunnels is
355+
found [here](https://github.com/robfatland/nexus/blob/gh-pages/bash/tunneling.md).
356+
It is also more secure to modify the communication
357+
protocol from `http` to `https`.
356358

357359

358360
- `pip3 install jupyter`
@@ -367,13 +369,13 @@ protocol to `https`.
367369
### If the preceding is not working...
368370

369371

370-
The EC2 VM may not be configured for inbound http traffic on port 8888.
372+
The EC2 VM may not be configured for inbound `http` traffic on port 8888.
371373

372374

373375
- Open the AWS console to add an inbound rule to the VM's security group
374-
- Type: Custom TCP
375-
- Port: 8888
376-
- Source: Your IP address (or 0.0.0.0/0 for any IP)
376+
- `Type: Custom TCP`
377+
- `Port: 8888`
378+
- `Source: Your IP address (or 0.0.0.0/0 for any IP)`
377379

378380

379381

0 commit comments

Comments
 (0)