Skip to content

Latest commit

 

History

History
29 lines (25 loc) · 591 Bytes

README.md

File metadata and controls

29 lines (25 loc) · 591 Bytes

Deploy

To deploy:

cd platform
terraform init 
terraform apply --auto-approve

Demo

Once deployed

  1. Connect to consul-backend and start the sidecar
consul connect proxy -sidecar-for webapp-backend-01 > webapp-backend.log &
  1. Connect to consul-frontend and start the sidecar
consul connect proxy -sidecar-for webapp-frontend-01 > webapp-frontend.log &
  • To test that the proxy is working
    curl localhost:5000 # This should return "Hello from backend". 
  1. To see the consul UI
<public_dns_of_server_1>:8500