Multi-tiered architecture with AWS Network ACL.
Apply the infrastructure:
terraform init
terraform apply -auto-approve
Once created, deploy the application from the app
directory:
bash ecrBuildPush.sh
The application should be available. Test it hitting the ELB endpoints.
For local development:
docker run --name mysql-local -p "3306:3306" -e MYSQL_ROOT_HOST=% -e MYSQL_ROOT_PASSWORD=p4ssw0rd -d mysql:latest
Running the application:
go get
go run .
Destroy the resources:
terraform destroy -auto-approve