Services move your agent to your own cloud
Your agent starts on your computer, and moves to a machine in your own AWS or Google Cloud account in one command, and back. Your files back up to your own clouds, and anything you run can have a public address.
lnk agent move --cloud aws # to your box in AWS, made if you have none
lnk agent move --here --agent main # and back
lnk bucket push ~/Photos # your folder, in every cloud you connected
lnk tunnel open 3000 --name my-app --auth # a public address for itMove Machines covers moving your agent and what comes along.
On your computer
Your agent starts here, with lnk agent start, and keeps running in the
background. It answers only while this computer is on. On a Linux
server it keeps running after you log out. Agents
covers the rest.
On a box
A box is an Ubuntu machine in your own account, with lnk on it,
signed in as you. Your cloud bills you, and Local Link bills nothing.
Boxes covers making, stopping and removing them.
lnk up boxes # the cloud, box, exit and accounts plugins
lnk auth login # your account: your boxes are tagged as yours
lnk cloud connect aws # or gcp: your own account
lnk agent create work --on aws-1 # a new agent, there from the startYour secrets, granted where they're used
A secret stays on your computer and goes only where you grant it, never to a file just because it names it. See Secrets.
lnk secret create NPM_TOKEN --internet-host registry.npmjs.org # kept here, given to no one yet
lnk secret add NPM_TOKEN --agent main # given to main aloneYour files, in your buckets
Your folders and your agent's go to every cloud you connect, and each copy is checked, so it's safe to delete them here. Your agent's backups go there too. See Buckets.
lnk up buckets
lnk bucket push photos/2019 # to every cloud, then checkedA public address
Anything running on your computer, such as a web app or a model, gets a public URL, with nothing to set up on your router. Tunnels covers who can reach it.
lnk up tunnels
lnk tunnel open 3000 --name my-app --auth # https://my-app.USER.DOMAINFrom your home address
With lnk exit start, this computer stays awake and carries the box's
traffic, so sites see you, not a data center. If this computer is off,
your agent on the box has no internet at all. See
Exit.
lnk agent exit --here # your agent on a box reaches the internet from this computer
lnk agent exit --direct # from the box it runs on