github micro/go-micro v5.13.0
v5.13.0 - Deployment Support

9 hours ago

What's New

Seamless Deployment to Linux Servers

Deploy your services to any Linux server with systemd:

# One-time server setup
ssh user@server
curl -fsSL https://go-micro.dev/install.sh | sh
sudo micro init --server

# Deploy from your laptop
micro deploy user@server

New Commands

  • micro init --server - Initialize a server to receive deployments
  • micro deploy - Deploy services via SSH + systemd
  • micro status --remote - Check service status on remote servers
  • micro logs --remote - Stream logs from remote servers
  • micro stop --remote - Stop services on remote servers

Configuration

Named deploy targets in micro.mu:

deploy prod
    ssh deploy@prod.example.com

deploy staging
    ssh deploy@staging.example.com

Then: micro deploy prod

Philosophy

  • systemd is the process supervisor (battle-tested)
  • SSH is the transport (no custom agents)
  • No platform needed (unlike Micro v3)
  • Helpful error messages guide you through setup

See docs/deployment.md for the full guide.

Full Changelog

v5.12.0...v5.13.0

Don't miss a new go-micro release

NewReleases is sending notifications on new releases.