44
55[ ai index src] ( https://github.com/robfatland/nexus/blob/gh-pages/ai/index.md )
66
7+
78# Content sections
89
910
10- - AI on AWS pointers
11- - EC2 working environment build with Q Developer on VS Code Server
12- - Example Python Streamlit application: Uses 4 models, 2 AWS-hosted, 2 copied from HF
11+ - Artificial Intelligence on AWS: pointers
12+ - Build an AWS VM ( EC2) work environment that includes Q Developer and VS Code Server
13+ - Example Web Application: Access to 4 AI models { 2 AWS-hosted and 2 from Hugging Face }
1314
1415
1516
16- ## AI on AWS pointers
17+ ## Artificial Intelligence on AWS pointers
1718
1819- [ Instructions] ( https://catalog.workshops.aws/building-agentic-workflows/en-US/bedrock-api )
1920- Log in to an active account
@@ -346,15 +347,17 @@ if current_model == "DistilBERT":
346347
347348
348349
349- # Running Jupyter on an AWS EC2 VM
350+ # Running ` jupyter lab ` on an AWS EC2 VM including ` git `
351+
352+
353+ ## Set up Jupyter and connect
350354
351355
352356This uses port forwarding: From a laptop to the
353- EC2 VM running Jupyter Lab. One can also use an ` ssh ` tunnel,
357+ EC2 VM running Jupyter Lab. One can also use an ` ssh ` tunnel which is considered
354358more 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 ` .
359+ [ here] ( https://github.com/robfatland/nexus/blob/gh-pages/bash/tunneling.md ) .
360+ It is also more secure to modify the communication protocol from ` http ` to ` https ` .
358361
359362
360363- ` pip3 install jupyter `
@@ -378,6 +381,31 @@ The EC2 VM may not be configured for inbound `http` traffic on port 8888.
378381 - ` Source: Your IP address (or 0.0.0.0/0 for any IP) `
379382
380383
384+ ## Authenticate to GitHub
385+
386+
387+ First method: Generate / grab a valid GitHub access token. With this in hand run...
388+
389+ ```
390+ git config --global credential.helper store
391+ git push # Enter username and token (will be cached)
392+ ```
393+
394+
395+ Second method: Use ` git config ` to claim your identity and then authenticate (MFA)
396+ when executing a push
397+
398+
399+ ```
400+ git config --global user.name "Your Name"
401+ git config --global user.email "[email protected] " 402+ git pull
403+ git add .
404+ git commit -m "Use double quotes for this comment"
405+ git push
406+ <authentication process ensues>
407+ ```
408+
381409
382410
383411
0 commit comments