{"version":"1.0","type":"rich","title":"Some useful commmands you will need to build your goloang binary and deploy to aws-ec2","description":"This example presents a step-by-step command reference for building a Go binary and deploying it to an AWS EC2 instance. It demonstrates the use of the `go build` command with `GOOS` and `GOARCH` environment variables to cross-compile for Linux, followed by `scp` with an identity file to securely transfer the binary. The guide also shows how to configure a systemd service file via `nano`, set file permissions with `chmod`, and manage the service using `systemctl` commands like `enable`, `start`, `status`, and `stop`. The content is sourced from a gist by amazingandyyy.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-60edaede96fef0bc5524c01cb5a7f92b?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}