Skip to content

Instantly share code, notes, and snippets.

@D3vl0per
Last active February 14, 2023 18:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save D3vl0per/3a3bfb1075bdf4619336d837fba76c84 to your computer and use it in GitHub Desktop.
Save D3vl0per/3a3bfb1075bdf4619336d837fba76c84 to your computer and use it in GitHub Desktop.
[Install]
WantedBy=multi-user.target
[Unit]
Description=Google Cloud Compute Engine AlloyDB Proxy
[Service]
Type=simple
WorkingDirectory=/usr/local/bin
ExecStart=/usr/local/bin/alloydb-auth-proxy projects/PROJECT/locations/REGION/clusters/CLUSTER/instances/INSTANCE?address=0.0.0.0&port=PORT
Restart=always
StandardOutput=journal
User=root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment