ianlewis / homepage

My homepage/blog
MIT License
4 stars 3 forks source link

Reduce number of load balancers #10

Closed ianlewis closed 8 years ago

ianlewis commented 8 years ago

I want to reduce the number of load balancers to reduce costs on GCP. Since all my exposed services are HTTP services I can use one global forwarding rule and map to the different backend services on different paths.

Pros:

  1. This allows me to have only 2 global forwarding rules (one for HTTP and one for HTTPS) for all HTTP services, thus cutting costs.
  2. Using paths means I can use a free cert from letsencrypt.

Cons

  1. letsencrypt doesn't support wildcard domains so I can't use subdomains and host forwarding rules