8
wolke
7y

That feel when you move most of your dev environment to servers and connect to it via vpn so you won't have to open 10+ terminal windows 😍

Comments
  • 1
    Can you explain more on the before and after, I like what I read
  • 2
    @gitpush Sure. Here goes nothing: I am working on a bot for discord which has the core components seperated into independent processes, one gateway, one cache, one worker and one exit node. Since I want to be able to restart the worker at any time, I am moving anything which stores data into an independent api which is publicly available. This api is also microservice oriented. When I want to test new things I can just connect the worker itself to the mq and run the more or less stable processes on the server. Since I like to have clear ips and have servers across multiple providers I've made a vpn with a server to server and client to server communication option. With this I can easily expose services within the VPN which should not be public. I hope this solves your questions ^^
  • 2
    @gitpush Follow up to above: before I had the api with 3-6 processes running locally + the bot with 4 processes. Now I only need 1-2 processes.
  • 1
    @wolke this is so cool, great job what you did there :D
    You are using OpenVPN for your vpn or something else?
  • 2
    @gitpush thanks, I'm glad you like it. I am using softether at this moment, with openvpn to connect to it from my phone and the softether client to let the servers connect to it.
  • 1
    @wolke whats its advantage over openvpn?
  • 2
    @gitpush the configuration is very easy, I can use multiple protocols/ports and site to site configuration was a breeze.
  • 1
    @wolke will try it out, for openvpn I used a docker container for it so pretty much did not have to configure anything but the new client lol
Add Comment