Published January 14, 2019
A Google Cloud load balancer is not a single thing. It is made of many different components that all work together to provide regional or global load balancing to your applications.
What follows are some quick diagrams I have created to better understand how all of the components that make up the various Google Cloud load balancers work together.
Published September 22, 2018
• Updated September 24, 2018
Stackdriver Logging makes it easy to export Admin Activity logs to BigQuery, Cloud Storage, or Cloud Pub/Sub.
Cloud Pub/Sub is typically used to export logs as messages to an external system such as Splunk. Configuring this can be done using the GCP Console.
Published July 30, 2018
• Updated January 14, 2019
A common configuration for any web serving infrastructure is to redirect all HTTP requests to HTTPS. Because a Google Cloud HTTP(S) Global Load Balancer is a globally available resource comprised of many software defined networking components, configuring this, despite the end result being the same, works a bit differently than what you might be used to.
Published June 17, 2017
• Updated December 17, 2018
Multi-tier architectures are a common way to design web applications:
- A frontend - presentation - tier which provides the user interface
- An application - logic - tier where the processing happens
- A backend - data - tier where different storage technologies run
The different tiers could be deployed to a single virtual machine. Configuration management tools such as Ansible, Salt, Chef, or Puppet could be used to automate the deployment process. However, if the web application needs to start handling more traffic, it is only a matter of time before the resources of that single virtual machine are consumed. The single virtual machine could be scaled up by adding more CPU, RAM, and storage, but there is usually an upper limit to doing that.
Published November 26, 2016
• Updated February 16, 2019
While trying to generate Let’s Encrypt SSL certificates with lego and gcloud DNS, I encountered an error that would not allow me to obtain a certificate.