Tech with Marco
Tech with Marco
  • 30
  • 138 256
GitHub Actions Selfhosted Runners | easy devops tutorial ci/cd
In this video we are going to explore github actions. But not just github actions, we will self host our own runner and have control over the hardware.
This makes sense when you have special requirements for your pipeline, or just want to own your stuff :)
docs.github.com/en/actions/hosting-your-own-runners
*Get 200$ worth of credits in the Digital Ocean Cloud: link.techwithmarco.com/digitalOcean (*)
-----
🔗 My links:
github.com/marcogreiveldinger
marco-greiveldinger.de
techwithmarco.com
Become a supporter with Patreon: www.patreon.com/TechwithMarco
#github #githubactions #devops
00:00 -- Introduction
00:40 -- Why should you host your own github action runner?
01:46 -- Start a github action runner
05:15 -- Configure the action file
06:45 -- Modify the action file to use a different runner
07:46 -- Outro
--------------------------
(*) -links are affiliate links. (If you buy something through the link, I receive a commission of your purchases. There are no extra costs for you.)
zhlédnutí: 1 832

Video

SSH login alerts with telegram push notifications | linux pam implementation
zhlédnutí 691Před 5 měsíci
In this video we are checking out how to setup notifications for ssh logins on a server with linux pam (plugable authentication module) and we'll use telegram for that. You can use any other notification tool like slack, discord, ntfy or gotify. Or anything which can be triggered using curl or a cli program. Feel free to adapt the code to your needs :) github.com/marcogreiveldinger/videos/tree/...
Traefik DNS challenge with wildcard certificates | easy tutorial
zhlédnutí 3,3KPřed 5 měsíci
Hey friends, in this video about the reverse proxy traefik, I'll show you how to configure traefik in the right way to use the dns challenge with cloudflare and issue ssl wildcard certificates with ease! We just need some configuration for traefik, and some api keys for you dns provider (in my case cloudflare) With this setup you are able to use wildcard certificates for you domain without open...
Secure SSH logins a little more | My security strategy to have a secure server
zhlédnutí 737Před 5 měsíci
In this video we are going to look how we can make our ssh logins a little more secure against automated attacks and prevent some brute forcing. SSH is commonly used to login to remote servers, but but we are going to change some things in the configuration for that. With those config changes you are minimising the attack vector of automated attacks a little, but there is no guarantee that you ...
AWS Lambda easy Tutorial | Deploy your first serverless lambda function for free | #aws series #2
zhlédnutí 167Před 6 měsíci
In this quick 10 minutes tutorial, we will deploy our first aws lambda function with python for free. To visualise the outcome we will host a static website. You only need an aws free tier account and some python and html code. With aws lambda you do not need to manage any servers, do updates and other admin stuff, because they are serverless. Serverless means that AWS is taking care of managin...
Setup and Secure AWS root account | AWS Free Tier account security | #aws series #1
zhlédnutí 91Před 6 měsíci
In this video we are going to explore how you can secure your AWS root account by creating new lesser privileged accounts and stop using your root account. We will use the least privilege principle. Meaning that all the new users in the account, have less privileges than the administrator. AWS is a hyperscaler cloud and offers scaleable cloud infrastructure. It is super flexible and you have th...
Containerize everything | build docker images with ease| step by step beginner tutorial
zhlédnutí 375Před 6 měsíci
In this video we are going to explore the world of containers and how to pack everything inside a container image. It is easy and even beginners can do it! Just build your DOCKERFILE for your personal needs! No more 'It works on my machine' ! We use the software docker so make sure to have docker installed. www.docker.com/ With building container images you can pack every dependency which is ne...
n8n - Open Source No Code Automation Tool | Tutorial | make.com alternative / Zapier alternative
zhlédnutí 8KPřed 7 měsíci
🔗 Register your account at n8n cloud: n8n.partnerlinks.io/y3hnetk45ho4 (*) We are discovering a workflow automation tool - n8n. It is an open source no-code or low-code platform and helps you to build powerful automations with any kind of software. There are thousands of existing integrations and triggers, and you can extend them with integrating all sorts of APIs. They offer hundreds of templa...
Never lose any docker volumes again \\\\ backup and restore tutorial with docker
zhlédnutí 3KPřed 7 měsíci
🔗 Link to GitHub files: github.com/marcogreiveldinger/videos/tree/main/backup-docker-volumes/restore 🔗 offen/docker-volume-backup: github.com/offen/docker-volume-backup 🔗 to backup the volumes: czcams.com/video/qlo0Z1I1DD0/video.html Welcome to my latest video where we delve into the critical aspects of data backup and restore, offering essential tips and a step-by-step guide to help you safegu...
Run any AI model remotely for free on google colab
zhlédnutí 16KPřed 7 měsíci
🦙 Installing ollama.ai on google colab with Ease! 🎉 In this video, I'll show you how to easily run ollama.ai and other large language models (LLMs) remotely using the handy platform 'Google Colab'. Say goodbye to having not enough compute power to run your dream ai model! 🚀 We use Ngrok, to expose our ollama server from the colab server to the internet. Ngrok is a software which allows you to c...
From zero to software developer I My Career Journey in IT
zhlédnutí 242Před 8 měsíci
Follow my exciting journey from dissecting computer components as a young gamer, to pursuing an apprenticeship in Germany, and eventually becoming a software developer. Learn how I transitioned from systems integration to DevOps and found my passion for infrastructure as code. Discover the challenges and opportunities of working remotely and offering freelance services, all while sharing my exp...
Juiceshop - insecure OWASP webshop walkthrough
zhlédnutí 1,6KPřed 8 měsíci
In this video we are going to try and hack an insecure online shop. This shop is called juice shop and is demonstrating well known security flaws. It is an open source project by OWASP. With your own juice shop, you can safely try to overcome and understand security risks specific categories. The shop provides a wide variety of different challenges. Check out the OWASP Top Ten: owasp.org/www-pr...
Ollama.ai to install llama2| Local Language Models on your machine | open source llm
zhlédnutí 2KPřed 8 měsíci
🦙 Installing Llama2 with Ease! 🎉 In this video, I'll show you how to easily install Llama2 and other large language models (LLMs) using the handy open source tool "Ollama" on your local machine. Say goodbye to manual installation hassles and hello to a seamless experience! 🚀 💻 What is Llama2? Llama 2 is a large langue model by Meta and an alternative to ChatGPT from OpenAI. 🔧 What is Ollama? Ol...
Arc AI: New browser features that blow your mind 🤯 (arc max)
zhlédnutí 960Před 8 měsíci
Before using: Check out the privacy policy first! arc.net/privacy Arc AI is truly next level. The arc browser just released awesome new AI features - called 'arc max' These are the 5 new options in your arc browser after the update: - Ask on Page - 5-second Previews - Tidy Tab Titles - Tidy Downloads - ChatGPT in the Command Bar Each feature can individually be enabled or disabled. I demonstrat...
Traefik security issue - mitigate with docker-socket-proxy
zhlédnutí 3KPřed 9 měsíci
In this video, we are going to explore how to use the Docker Socket securely, and we'll delve into a powerful tool that ensures your Docker environment is protected like never before. Say hello to the 'Docker Socket Proxy' - your guardian for safeguarding the Docker socket mount, often frequented by essential tools like Traefik and Portainer. Docker-socket-proxy: github.com/Tecnativa/docker-soc...
Console Terminal Customisation with ZSH + Starship (plugins & themes)
zhlédnutí 16KPřed 9 měsíci
Console Terminal Customisation with ZSH Starship (plugins & themes)
YADM | dotfile Manager | easy setup with git
zhlédnutí 5KPřed 10 měsíci
YADM | dotfile Manager | easy setup with git
How to backup a docker container | Docker Volumes Backups with Ease: A Comprehensive Guide
zhlédnutí 10KPřed 11 měsíci
How to backup a docker container | Docker Volumes Backups with Ease: A Comprehensive Guide
Level Up Your Coding Career with roadmap.sh: Roadmaps, Frontend Development, and Skill Building!
zhlédnutí 1,2KPřed 11 měsíci
Level Up Your Coding Career with roadmap.sh: Roadmaps, Frontend Development, and Skill Building!
Testing Local AWS cloud with Localstack! | Tutorial
zhlédnutí 2,9KPřed 11 měsíci
Testing Local AWS cloud with Localstack! | Tutorial
DO NOT GET YOUR DATA LEAKED | Cryptomator | Cloud encryption for everyone! Secure private files
zhlédnutí 3,9KPřed rokem
DO NOT GET YOUR DATA LEAKED | Cryptomator | Cloud encryption for everyone! Secure private files
Authelia | Authentication for Traefik - Ultimate Guide / Keycloak alternative
zhlédnutí 10KPřed rokem
Authelia | Authentication for Traefik - Ultimate Guide / Keycloak alternative
Arc Browser will change your browsing on the internet... 🚀 productivity boost for your work!
zhlédnutí 4,3KPřed rokem
Arc Browser will change your browsing on the internet... 🚀 productivity boost for your work!
Traefik with CrowdSec - the ULTIMATE SECURITY layer! - Tutorial
zhlédnutí 8KPřed rokem
Traefik with CrowdSec - the ULTIMATE SECURITY layer! - Tutorial
Terraform and Cloudflare with GitHub Actions | DevOps Automation
zhlédnutí 1,2KPřed rokem
Terraform and Cloudflare with GitHub Actions | DevOps Automation
TRAEFIK - the BEST reverse proxy? The Ultimate Setup Guide with Docker & Let's Encrypt
zhlédnutí 31KPřed rokem
TRAEFIK - the BEST reverse proxy? The Ultimate Setup Guide with Docker & Let's Encrypt
WILL GPT 4 REPLACE SOFTWARE DEVELOPERS? - OpenAI announcement
zhlédnutí 348Před rokem
WILL GPT 4 REPLACE SOFTWARE DEVELOPERS? - OpenAI announcement
Setting up my MacBook Pro M1 as a software developer [for programming and coding]
zhlédnutí 2,1KPřed rokem
Setting up my MacBook Pro M1 as a software developer [for programming and coding]
Macbook Pro 14” M1 space grey [unboxing + first impression]
zhlédnutí 305Před rokem
Macbook Pro 14” M1 space grey [unboxing first impression]

Komentáře

  • @Rodrigo_Brito
    @Rodrigo_Brito Před 3 hodinami

    Thanks for this.

  • @matteocasagrande5052

    I have traefik in a local server. I setup traefik.yml (similar to default settings) and there's two certificateResolver: staging and production. May I have to add another configuration for cloudflare? I setup my hosts with dynamic configuration in every single docker-compose file for every website. Everything works fine with CNAME DNS (I use a no ip service). Now i'm trying to setup a A records for another domain and its subdomains and I'm stuck with cloudflare vs traefik cert resolver. Any suggestion?

  • @matteocasagrande5052

    Hi Marco, I find very useful your video! May you suggest me hot to learn this knowledge more deeply? I work in IT as cloud developer from 10 years, I never find a good documentation about this arguments (DNS, etc)

  • @CharlesDubois-f7p
    @CharlesDubois-f7p Před 2 dny

    How can I make this work with the ollama library in a python script? This works well when typing the prompts directly in the terminal, but my script still seems to run on my local instance.

    • @CharlesDubois-f7p
      @CharlesDubois-f7p Před 2 dny

      For anyone running into the same issue, I figured it out. I had to set the environement variable in the script with os.environ["OLLAMA_HOST"] = ngrok_url BEFORE importing ollama

  • @xvoiid_edits
    @xvoiid_edits Před 5 dny

    Wallpaper please

  • @asdfg1346on
    @asdfg1346on Před 7 dny

    can such a llm model be used in a web app not just in a terminal locally and how?

  • @greatjobbuddy
    @greatjobbuddy Před 13 dny

    Super helpful!!!! Thanks for making this. Going to watch more of your 'actions' videos for sure.

  • @thom1218
    @thom1218 Před 15 dny

    wait... you're on localstack's 3rd party (non-local) website managing your local resources? Something isn't right with this picture - that UI should be hosted locally.

  • @cgc2300
    @cgc2300 Před 21 dnem

    Hello

  • @vanhussen
    @vanhussen Před 23 dny

    it's work! thank you from Indonesia

  • @exogeo
    @exogeo Před 24 dny

    Thanks for making these videos, Your videos are super helpful & awesome. You deserve success here!!

  • @cgc2300
    @cgc2300 Před 25 dny

    good evening, could you help me understand how this or that works and when to use it and also so that I can clearly understand how to use the workflows which are made available as an example on the site, there is only very little explanation and I don't understand

  • @Gr4ph1xZ
    @Gr4ph1xZ Před 25 dny

    Can i also use traefik to expose not a container but instead a internal ip (a other vm) and put https externaly to it? :)

  • @renega991
    @renega991 Před 28 dny

    Hi amazing stuff! Is there a way to connect the ngrok to jupyter notebook? Thanks!

  • @BrazenNL
    @BrazenNL Před měsícem

    When presenting, enlarging type (your VS Code window) is not a bad thing. Lots of people consume media on a smaller screen nowadays.

  • @Ankush.8
    @Ankush.8 Před měsícem

    Just wondering... Are you using Oh-my-zsh or any other plugin manager?

  • @ThisIsTheSan
    @ThisIsTheSan Před měsícem

    I can run it remotely in the terminal, but unfortunately all tools that use ollama as a backend seem to be unable to connect to it if OLLAMA_HOST is set

  • @iamderrickfoo
    @iamderrickfoo Před měsícem

    This is awesome stuff! Would like to know after this up can we connect this to Webui or Anythingllm?

  • @shrishubhyadav05
    @shrishubhyadav05 Před měsícem

    Found a Gem 💎

  • @joekustek2623
    @joekustek2623 Před měsícem

    How can I run this on my website or in a browser instead of terminal window

  • @pathsvivi
    @pathsvivi Před měsícem

    Thanks for the video. One question though, how can I avoid downloading the language models every time I run Colab notebook? Can I save Ollama and its models in Google drive and retrieve them when running the notebook?

  • @AfnanQasim-wk8nq
    @AfnanQasim-wk8nq Před 2 měsíci

    canw e load 70B model with this same technque ?

  • @all_tutorials609
    @all_tutorials609 Před 2 měsíci

    This is awesome. Would look forward to watching how self hosting for N8N is done.

  • @DCS-um9oc
    @DCS-um9oc Před 2 měsíci

    i got windows machine, do i need ollama locally tooo?

  • @kylelaker539
    @kylelaker539 Před 2 měsíci

    The A record you make for dev. Is that public or private ip does it matter?

  • @justhackerthings
    @justhackerthings Před 2 měsíci

    Thanks for the great video! It helped me a lot!

  • @prashlovessamosa
    @prashlovessamosa Před 2 měsíci

    very helpful

  • @thoufeekbaber8597
    @thoufeekbaber8597 Před 2 měsíci

    Thank you. I could run this succesfully in the terminal, but how can access the model or the collab through jupyter notebook instance?

  • @user-em7se7bm7v
    @user-em7se7bm7v Před 3 měsíci

    awesome man

  • @phamlehaibang
    @phamlehaibang Před 3 měsíci

    Hi bro, Can you please make clear or more details when exporting OLLAMA_HOST? Because when i export OLLAMA_HOST=…. ollama -h zsh: ollama - command is not found Do we need to do the following command line? ngrok http 11434 --host-header="localhost:11434" Please let me know. I am not clear about “export OLLAMA_HOST=…” and how to run ollama remote service in your local terminal at all Totally, your video is awesome. Thanks, bro.

  • @asdflkjasdfasdlfkj
    @asdflkjasdfasdlfkj Před 3 měsíci

    Awesome ❤ Thanks

  • @aryanflory
    @aryanflory Před 3 měsíci

    hey, how to the export step on windows? I have the ollama installed

  • @techwithmarco
    @techwithmarco Před 3 měsíci

    Want some more GitHub Actions action? czcams.com/video/0BNwAEwYZlA/video.html

  • @Steven-wl5wi
    @Steven-wl5wi Před 3 měsíci

    os.eviron.update({'LD_LIBRARY_PATH': "})'/usr Great for linux, what about windows machines?

    • @techwithmarco
      @techwithmarco Před 3 měsíci

      The runbook is being executed on a linux machine

  • @vg2812
    @vg2812 Před 3 měsíci

    Error: something went wrong, please see the ollama server logs for details am getting this error after running export OLLAMA_HOST= ... what should i do????

    • @techwithmarco
      @techwithmarco Před 3 měsíci

      See the other latest comments or check out the new version on github. Should resolve the issue :)

    • @vg2812
      @vg2812 Před 3 měsíci

      @@techwithmarco okay I will check

    • @vg2812
      @vg2812 Před 3 měsíci

      @@techwithmarco thank you for the reply

  • @yanncotineau
    @yanncotineau Před 3 měsíci

    i got a 403 forbidden error, but replacing run_process(['ngrok', 'http', '--log', 'stderr', '11434']) with run_process(['ngrok', 'http', '--log', 'stderr', '11434', '--host-header="localhost:11434"']) fixed it for me.

  • @mellio19
    @mellio19 Před 3 měsíci

    but can't run stable diffusion this way?

  • @abhishekratan2496
    @abhishekratan2496 Před 3 měsíci

    Very usefull video also the code btw i can't get it running on windows what would be the way to set OLLAMA_HOST variable on window set OLLAMA_HOST= "--" doesn't seem to work it still runs on local machine

    • @techwithmarco
      @techwithmarco Před 3 měsíci

      I think it depends on the terminal and shell you are using. Are you using the standard windows terminal?

    • @TirthSheth108
      @TirthSheth108 Před 3 měsíci

      Hii @@techwithmarco , thanks for chiming in. I'm actually experiencing the same issue as @abhishekratan2496 , but I'm running it on the Ubuntu terminal. Setting the OLLAMA_HOST variable doesn't seem to work for me either. Any insights on how to resolve this would be greatly appreciated! Thanks.

    • @techwithmarco
      @techwithmarco Před 3 měsíci

      @@TirthSheth108 Okay that's weird. I just used it a few days ago and it worked perfectly. I'll investigate and let you know :)

    • @AllMindControl
      @AllMindControl Před 2 měsíci

      did anyone figure this out? it just tells me that export is not a recognized command

  • @ironnerd2511
    @ironnerd2511 Před 3 měsíci

    What did he do to open the vault at 3:45?

    • @techwithmarco
      @techwithmarco Před 3 měsíci

      I entered the password, and then pressed the unlock button :)

  • @thepsych3
    @thepsych3 Před 4 měsíci

    i get error like 403 forbidden

    • @ricardomorim9444
      @ricardomorim9444 Před 3 měsíci

      replace: run_process(['ngrok', 'http', '--log', 'stderr', '11434']) with run_process(['ngrok', 'http', '--log', 'stderr', '11434', '--host-header="localhost:11434"']) That fixed it for me.

    • @paulopatto8283
      @paulopatto8283 Před 3 měsíci

      @@ricardomorim9444 tkx very much guys, solved my issue.

  • @davidk.3450
    @davidk.3450 Před 4 měsíci

    Can you give me some examples how to backup volumes that are managed in another docker-compose file? (And maybee how to create a weekly-backup AND a monthly-backup within the same configuration) Thanks a lot

  • @alitokii
    @alitokii Před 4 měsíci

    Hi Marco, thanks for this video, definitely going to try out starship! Also, I was wondering what text editor/IDE you're using to view your .zshrc? Thank you!

    • @general_wcj9438
      @general_wcj9438 Před 4 měsíci

      To me it looks like a jet brains product

    • @techwithmarco
      @techwithmarco Před 4 měsíci

      This is Jetbrains IntelliJ with the theme 'dark' Have fun checking out starship :)

  • @bobsmithy3103
    @bobsmithy3103 Před 4 měsíci

    Do you guys not get banned? I got a warning for using ngrok :/

    • @techwithmarco
      @techwithmarco Před 3 měsíci

      I am not using it very often. But maybe there are some alternatives which you could check out like pgrok github.com/pgrok/pgrok

  • @michaelwilliams5092
    @michaelwilliams5092 Před 4 měsíci

    Where did you store the .ipynb file so ollama could access it?

    • @techwithmarco
      @techwithmarco Před 4 měsíci

      See your other comment :) it is just a local file

  • @bennguyen1313
    @bennguyen1313 Před 4 měsíci

    I imagine it's costly to run LLMs.. is there a limit on how much Google Colab will do for free? I'm interested in creating a Python application that uses AI.. from what I've read, I could use ChatGPT4 Assistant API and I as the developer would incur the cost whenever the app is used. Alternatively, I could host a model like Ollama, on my own computer or on the cloud (beam cloud/ Replicate/Streamlit/replit)? As a 3rd option, could Google Colab work in my situation? Is OpenAI's Assistant API totally different from the API to programmatically interact with llama2 , mistral , etc?

  • @attilavass6935
    @attilavass6935 Před 4 měsíci

    How can we keep our downloaded LLMs permanently, eg. on a mounted Google Drive? It would speed up the start of inference in a new ollama server start.

    • @techwithmarco
      @techwithmarco Před 4 měsíci

      Yes, that's a brilliant idea! You can save those in google drive with this snippet for example: import os # Mount Google Drive from google.colab import drive drive.mount('/content/drive') # Create a folder in the root directory !mkdir -p "/content/drive/My Drive/My Folder" # Start Ollama with a path where models are stored OLLAMA_MODELS=/content/drive/My Drive/My Folder ollama serve

    • @attilavass6935
      @attilavass6935 Před 4 měsíci

      @@techwithmarco that's great, thank you! :)

  • @dalgardnerd
    @dalgardnerd Před 4 měsíci

    I have watched so much content on traefik and authelia and struggled so hard until now. Your two videos on the subject are so great. Thanks!

    • @techwithmarco
      @techwithmarco Před 4 měsíci

      Glad to hear that! Hope you having fun configuring your instances!

  • @danr2513
    @danr2513 Před 4 měsíci

    My issues is this error: time="2024-02-20T21:16:41Z" level=debug msg="No default certificate, fallback to the internal generated certificate" tlsStoreName=default time="2024-02-20T21:16:41Z" level=debug msg="Added outgoing tracing middleware noop@internal" middlewareName=tracing middlewareType=TracingForwarder entryPointName=web routerName=web-to-websecure@internal

  • @nanaarhin5567
    @nanaarhin5567 Před 5 měsíci

    I don't see pricing. Is it the same as support? And the license that will be given, can I use it on multiple devices such as my laptop and phones at the same time?

    • @techwithmarco
      @techwithmarco Před 3 měsíci

      The license is actually only needed for phones. Android and iPhones have different apps, so you need to buy it twice. There is no need to have a license to use on your laptop

  • @michaelwilliams5092
    @michaelwilliams5092 Před 5 měsíci

    Great tutorial. Runs super fast compared to other methods. How would we ingest a document and query its contents? @techwithmarco

    • @techwithmarco
      @techwithmarco Před 4 měsíci

      You can either use the a cat command to preview the content for ollama like in minute 5:44 or use langchain for example and make some custom code to read some specific files. There are cool examples on github like this: github.com/ollama/ollama/tree/main/examples/langchain-python-rag-privategpt

    • @michaelwilliams5092
      @michaelwilliams5092 Před 4 měsíci

      ​@@techwithmarco Thank you for the reply. I am on Windows using the beta version of Ollama and $(cat file) doesn't work from the command prompt and Powershell only uses local Ollama not remote. Do you know if there is an equivalent command for cmd?

    • @paulopatto8283
      @paulopatto8283 Před 3 měsíci

      Thanks!