Some useful commmands you will need to build your goloang binary and deploy to aws-ec2
$ GOOS=linux GOARCH=amd64 go build -o [binary-name]
- type
go env
to check your environment variables GOOS
stands for Go OS, depends on what ec2 machine you rent, you might have different os settingGOARCH
stands for Go Archetecture-o
only allowed when compiling a single package, define the name of output file