export AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
export AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
http://linuxamination.blogspot.com/2019/04/s3cmd-error-test-failed-400.html
https://medium.com/@_samkitjain/how-to-deploy-go-web-application-on-aws-elastic-beanstalk-81e67c69dfa1
https://stackoverflow.com/questions/26390610/static-ip-using-elastic-beanstalk
https://docs.aws.amazon.com/pt_br/elasticbeanstalk/latest/dg/chapter-devenv.html
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/go-tutorial.html
https://gist.github.com/DevoKun/9eea593d8c258c9476d9fd87d25d1a54
https://medium.com/sk-geek/deploying-a-simple-golang-application-to-aws-elastic-beanstalk-echo-framework-78b79efa0a4a
import (
"database/sql"
"fmt"
_ "github.com/go-sql-driver/mysql"
)
db, err := sql.Open("mysql", "<username>:<password>@tcp(<AWSConnectionEndpoint >:<port>)/<dbname>")
if err != nil {
fmt.Print(err.Error())
}
defer db.Close()
https://stackoverflow.com/questions/25999714/how-to-connect-to-amazon-rds-using-go-sql-driver
https://aws.amazon.com/pt/blogs/aws-cost-management/launch-resource-optimization-recommendations/
https://www.sitepoint.com/deploy-your-rails-app-to-aws/
Full Stack Developer, DevOps, CSM e LKU. coutoarmando@gmail.com