Includes:
- the Terraform scripts to create the Windows server and security groups
- the Ansible configuration to connect and deploy a simple app
- a simple Spring Boot app that responds to requests with the date and time that it was built
You'll need make, docker and docker-compose installed. You'll need an AWS account with the environment variables AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
set.
make infra-deploy
This will create a Windows AWS instance with a random password.
make infra-destroy
make infra-test
Responds to http requests with the date and time it was built
make app-dev
make app-build
make app-deploy
Use make deploy
to create the infrastructure, build the app and deploy it.
Use make destroy
to destroy everything.