Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Kuroit | VPS Flash Sale | USA, UK and Singapore

1140141143145146211

Comments

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

  • allthemtingsallthemtings Member, Megathread Squad

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    your loyal twitch viewers already get to hear your voice and see your face and also the insane wood 5 vayne mechanics

  • wadhahwadhah Member, Host Rep
  • SmigitSmigit Member
    edited March 2025

    @sh97 said:

    @Smigit said:

    @sh97 said:

    @wadhah said:

    @sh97 said:
    Setup bezel on my shiny $11 Kuroit VPS in LA

    all up to date too huh? teach me your ways magic man

    sadly, manual SSH.
    should probably setup an ansible script for installation of the agent on new VMs.

    Hoping tonight to get ansible also registering the nodes against the Beszel Hub so I don’t have to add servers manually. Got it all scripted via my terminal, so in theory it shouldn’t be much now to have Ansible trigger it. Can share what I have once I get it going.

    including auto add to hub? that'd be awesome!

    Hell, here’s what I got. I haven’t fully got it into Ansible yet but expect it’ll slot together pretty easily.

    Calling the following JS Code with Node (e.g. "node AddServer.js --username ...”). Also had to import pocketbase with NPM as a dependency. I’ll be calling this ‘add server’ from my local MacBook, so plan is I’ll have an Ansible play to trigger this on the local host so I don’t need to muck about with dependencies on each of the VPS.

    FWIW my Beszel is behind a Tailscale VPN and all my nodes and my PC are on those. The script bellow will add the server only if the name and IP are unique, otherwise it won’t re-add a VPS. (don’t want to mess with historical data on re-runs)

    Since I’m running this all on my local PC, I’m not too fussed about username and password. Passing via the command line.

    AddServer.js

    import PocketBase from "pocketbase";
    import { createRequire } from "module";
    const require = createRequire(import.meta.url);
    
    const pb = new PocketBase("https://monitor.courtenay.net");
    
    var argv = require("minimist")(process.argv.slice(2));
    //console.log(argv);
    
    var username = argv["username"];
    var password = argv["password"];
    var server_name = argv["name"];
    var server_ip = argv["ip"];
    var server_port = argv["port"];
    
    /*
    console.log(username);
    console.log("*****");
    console.log(server_name);
    console.log(server_ip);
    console.log(server_port);
    */
    // Check username is not null, and has a value (true is empty string)
    if (
      username == null ||
      username == true ||
      password == null ||
      password == true ||
      server_name == null ||
      server_name == true ||
      server_ip == null ||
      server_ip == true ||
      server_port == null ||
      server_port == true
    ) {
      throw new Error(
        "Invalid commands. Please ensure all arguments supplied: --username --password --name --ip --port "
      );
    }
    
    // authenticate
    const userData = await pb
      .collection("users")
      .authWithPassword(username, password);
    
    // get key from api endpoint
    const key = await pb.send("/api/beszel/getkey", {}).then(({ key }) => key);
    
    // list and filter system records
    const systems = await pb.collection("systems").getList(1, 20, {
      filter: 'name = "' + server_name + '" && host = "' + server_ip + '"',
    });
    
    //console.log(systems);
    
    if (systems.items.length > 0) {
      console.log(
        'System with hostname "' +
          server_name +
          '" and IP/Hostname "' +
          server_ip +
          '" already exists. Skipping.'
      );
    } else {
      // create system
      await pb.collection("systems").create({
        name: server_name,
        host: server_ip,
        port: server_port,
        users: userData.record.id,
      });
      console.log(
        'Added system with hostname "' +
          server_name +
          '" and IP/Hostname "' +
          server_ip +
          '" already exists.'
      );
    }
    

    my package.json file, same directory as above

        {
          "name": "AddServer",
          "version": "1.0.0",
          "type": "module",
          "dependencies": {
            "minimist": "^1.2.8",
            "pocketbase": "^0.25.2"
          }
        }
    

    Here’s my playbook to create a folder on the home of my user and then copy in a docker-compose file if it doesn’t exist, and can then spin up the docker instance. The compose file is the same across all instances so I’m keeping a copy on my local system. For now the private keys just in the .yaml file on my Mac

    FWIW I’m storing secrets/credentials in 1Password. That’s what the 1st task refers to. Works nicely with a biometric prompt when triggered. Need the CLI installed or if you don’t use 1Password, replace that stuff with whatever you use

    - name: My first play
      hosts: dockerhosts
    
      vars:
        beszel_dir: "~/beszel"
        compose_file: "docker-compose.yaml"
        beszel_dockercompose: "./configs/beszel/docker-compose.yaml"  
    
      tasks:
      - name: Fetch 1Password values # Do this as a fact not VAR, to avoid having to do multiple times which saves lots of time
        set_fact:
          op_tailscale_authkey: "{{ lookup('onepassword', 'Ansible Tailscale API AuthKey') }}"
          ansible_become_password: "{{ lookup('onepassword', '{{ friendly_name }}') }}"
    
      - name: Check if Beszel folder exists
        stat:
          path: "{{ beszel_dir }}"
        register: beszel_dir_search
    
      - name: Create Beszel directory if needed
        file:
          path: "{{ beszel_dir }}"
          state: directory
        when: not beszel_dir_search.stat.exists   
    
      - name: Check if Beszel docker-compose exists
        stat:
          path: "{{ beszel_dir }}/{{ compose_file }}"
        register: beszel_dockercompose_search
    
      - name: Read beszel docker compose from local system if needed
        delegate_to: localhost
        run_once: true
        ansible.builtin.set_fact:
          beszel_dockercompose: "{{ lookup('file', '{{ beszel_dockercompose }}') }}" 
        when: not beszel_dockercompose_search.stat.exists
    
      - name: Create Docker-Compose.yaml if needed 
        copy:
          content: "{{ beszel_dockercompose }}"
          dest: "{{ beszel_dir }}/{{ compose_file }}"
        when: not beszel_dockercompose_search.stat.exists
    
      - name: Start Beszel client/hub 
        ansible.builtin.shell:
          cmd: "docker compose -f {{ beszel_dir }}/{{ compose_file }} up -d"
          stdin: /dev/null
    

    I’m new to Ansible so there may be better ways to do some of this, and I’ve so far only tested with two hosts but it seems to be ok.

    Individually the bits work. Haven’t tested it completely in anger just yet. As above AddServer.js will need me to add a task to execute a local shell command.

    Hopefully I removed any passwords or keys. hah

    edit: https://monitor.courtenay.net is my bezel server address btw. Replace that and include any ports if needed,

    edit2: {{ friendly_name }} if a value on my inventory file for each host

    edit 3: I didn’t override the docker compose files each run in case I needed to make per server edits, but also because the compose file for the server acting as a hub will have the additional container for the hub added to the config (guess one could do them as two docker instances but)

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @allthemtings said:
    Does 7pm work for you? @beanman109
    26 mins from now for anyone wondering

    lets do 7:15pm

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

  • @allthemtings said:

    @allthemtings said:
    🦆🦆🦆🦆10$ credit sponsored by @kuroit duck race thank this post to be entered will be streamed live by @beanman109 🦆🦆🦆🦆

    @FAT32 MS @emgh @beanman109 @sh97 @Decicus @Blembim @admax @Smigit @oriend @muffin @ebietsy @barbaros @Penguin @NHNHNH000 @plumberg @Saragoldfarb @komdragon @nullnothere @raza19 @JohnFilch123

    WAKE UP ITS DUCK RACE DAY 🦆🦆🦆🦆🦆🦆🦆

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

    Awww :(

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @FAT32 said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

    Awww :(

    i aint giving away my voice reveal for a bunch of MJJs to get a $3 sgp vps

    Thanked by 4FAT32 admax Decicus geo
  • allthemtingsallthemtings Member, Megathread Squad

    hard watch ❌ watch while watching ✅

  • wadhahwadhah Member, Host Rep

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

    do you sound like VeiBae?

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

    Awww :(

    i aint giving away my voice reveal for a bunch of MJJs to get a $3 sgp vps

    Well you also will be doing voice reveal to MJJ

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @FAT32 said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

    Awww :(

    i aint giving away my voice reveal for a bunch of MJJs to get a $3 sgp vps

    Well you also will be doing voice reveal to MJJ

    im fine with that, although if they want to restream it to nodeseek or anywhere else i'll dmca them

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @wadhah said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

    do you sound like VeiBae?

  • allthemtingsallthemtings Member, Megathread Squad

    @wadhah said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

    do you sound like VeiBae?

    its 8:38am please keep the hentai weeb stuff away atleast until after dinner

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

    Awww :(

    i aint giving away my voice reveal for a bunch of MJJs to get a $3 sgp vps

    Well you also will be doing voice reveal to MJJ

    im fine with that, although if they want to restream it to nodeseek or anywhere else i'll dmca them

    DMCA... in that country? You sure? :joy:

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    You might even get sued back for defamation

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @FAT32 said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:

    @FAT32 said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    Will the $3/yr SGP be posted here?

    not if you guys want to hear my sweet beautiful succulent voice

    Awww :(

    i aint giving away my voice reveal for a bunch of MJJs to get a $3 sgp vps

    Well you also will be doing voice reveal to MJJ

    im fine with that, although if they want to restream it to nodeseek or anywhere else i'll dmca them

    DMCA... in that country? You sure? :joy:

    i have mjj lawyers

  • kuroitkuroit Member, Host Rep, Megathread Squad

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    I'd rather do giveaway for 1 year than $3/year :D Coz people will start spamming for more $3/year deal hahaha

  • allthemtingsallthemtings Member, Megathread Squad

    @kuroit said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    I'd rather do giveaway for 1 year than $3/year :D Coz people will start spamming for more $3/year deal hahaha

    Giveaway for 1 year you heard it here first

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire

    @kuroit said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    I'd rather do giveaway for 1 year than $3/year :D Coz people will start spamming for more $3/year deal hahaha

    Thanks to all the riggers like emgh and allthemtings

  • allthemtingsallthemtings Member, Megathread Squad

    @FAT32 said:

    @kuroit said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    I'd rather do giveaway for 1 year than $3/year :D Coz people will start spamming for more $3/year deal hahaha

    Thanks to all the riggers like emgh and allthemtings

  • @kuroit said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    I'd rather do giveaway for 1 year than $3/year :D Coz people will start spamming for more $3/year deal hahaha

    low end talk :)

  • beanman109beanman109 Member, Host Rep, Megathread Squad

    @kuroit said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    I'd rather do giveaway for 1 year than $3/year :D Coz people will start spamming for more $3/year deal hahaha

  • @beanman109 said:

    @kuroit said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    I'd rather do giveaway for 1 year than $3/year :D Coz people will start spamming for more $3/year deal hahaha

    only farting soound this time then

  • wadhahwadhah Member, Host Rep

    @FAT32 said:

    @kuroit said:

    @beanman109 said:
    @kuroit @ManishPant sort me a $3 p/yr SGP VPS and I'll do a beanman109 voice reveal on the duck race stream
    @emgh will be forever grateful

    I'd rather do giveaway for 1 year than $3/year :D Coz people will start spamming for more $3/year deal hahaha

    Thanks to all the riggers like emgh and allthemtings

    i'm just happy i didnt make this list :D

  • allthemtingsallthemtings Member, Megathread Squad

    @allthemtings said:
    🦆🦆🦆🦆10$ credit sponsored by @kuroit duck race thank this post to be entered will be streamed live by @beanman109 🦆🦆🦆🦆

    Go enter this to win 10$ kuroit credit ending in about 30 mins time mjj friendly 🦆

  • FAT32FAT32 Administrator, Deal Compiler Extraordinaire
    edited March 2025

    @kuroit How about make it $7/yr and I cover $4 per year? (just for beanman109)

  • admaxadmax Member, Megathread Squad
    edited March 2025

    LowEndGiveaway, a free one-year giveaway from @kuroit.
    Edit: Cancellation reason after one year: N/A

This discussion has been closed.