mirrord 3.0 is out!

Posted October 20, 2022 by Eyal Bukchin ‐ 3 Min Read

Today weā€™re very excited to launch the first full, stable version of mirrord! Full because itā€™s the first version where mirrord completely wraps your process in the context of your Kubernetes cluster - it connects everything, from network traffic to file access to environment variables, so that you can keep running your process from the familiar comfort of your local environment, but with input, configuration, and state from the cloud.

Heard enough? Get started here (or on GitHub).

What is mirrord?

mirrord is the cornerstone of a new development workflow, one with dramatically shorter feedback loops. In the old days you would code your microservice on your local machine, test it with unit tests, fixtures and mockups, and only then deploy it to your organizationā€™s staging environment where it would run in the cloud for the first time; with mirrord the staging environment is always there at your fingertips, and your code can meet the cloud as soon as itā€™s written.

Hereā€™s what it looks like in the CLI:

mirrord exec -ā€“target pod/app-pod-wwv47 node app.js

Your local process (node app.js1 in this example) is now connected to the pod app-pod-wwv47 in your Kubernetes cluster. Hereā€™s what this means:

  • Incoming traffic to the pod is mirrored to your local process
  • Outgoing traffic from your local process is tunnelled through the pod, using the remote podā€™s DNS
  • Environment variables from the pod are imported to your local process
  • File access from your local process is proxied to the pod

Or in other words: your process still runs locally, but it thinks itā€™s running in the cloud.

mirrord is free and open-source and takes about ten seconds to install. When you run your process with mirrord, it takes about five seconds to plug it into your cloud environment. It requires no prior configuration or installation in your cluster - all it needs is access to your Kubernetes cluster. And when it shuts down, it leaves absolutely no trace.

Whatā€™s next?

You might have noticed that, when suggesting that every developer in the organization plug into the shared staging environment on a regular basis, weā€™ve conveniently ignored one important word: shared. Though using mirrord is already less disruptive than actually deploying your service to the staging environment, it can still mutate the cluster in unwanted ways. This is what weā€™re planning to tackle next:

  • Highly granular configuration of what happens remotely and what happens locally. For example, youā€™ll be able to read from a database remotely but write locally, filter out certain host names from remote access, even block network requests based on rules.
  • Copy-on-write functionality for various databases
  • Advanced access control through our upcoming cloud solution

Try it out!

  • Give mirrord a try here - itā€™s free and self-serve
  • Tell us about your experience: you can open an issue on GitHub, reply to our feedback thread, or talk to us on Discord
  • If youā€™d like to support mirrord, star it on GitHub or vote for it on ProductHunt

  1. Read here about what languages are supported. Donā€™t see yours on the list? Let us know! ↩︎

Your subscription could not be saved. Please try again.
Your subscription has been successful.

sign up to our blog post for updates and news

profile.png

Eyal Bukchin

CTO & Co-founder @ MetalBear.

You may also like...

(Re)Introducing mirrord