Create a Redis service on GCP
Set up a Redis service using Google Cloud MemoryStore.
A Bit everyday A Byte every week
Set up a Redis service using Google Cloud MemoryStore.
Use Ngrok to temporarily obtain a publicly accessible URL for your computer.
Enable Jenkins to perform remote operations on a remote host through SSH, replacing manual deployment.
In a non-automated deployment scenario, manually connecting to the server host’s internals is required every time.
Executing deployment commands or running deployment command executables not only involves inconvenience but also carries the risk of human error.
With Jenkins’ pipeline, we can replace manual execution, making deployments easier and more pleasant.
This article discusses the process of building a Docker image and pushing it to the Google Container Registry (GCR) within a Jenkins pipeline using the 'gcloud' command.
Configuring Load Balancing on GCP for Enhanced Server Flexibility
In the previous post Scalable Server 01 Auto Scaling
, it was mentioned that we need to configure a set of Load Balancers to distribute internet requests to different server hosts.
This allows us to dynamically adjust the number of hosts based on traffic and maintain stable service operations.
Creating a basic pipeline workflow and triggering it through GitHub webhooks
In Jenkins
, the build process is known as a pipeline.
It can also be triggered through webhooks, offering various triggering and execution methods.
Below, we’ll demonstrate how to integrate GitHub webhooks and provide common trigger condition examples.
Configuring Auto Scaling on GCP for Enhanced Server Flexibility
First, you need to stop the specified VM.
Next, in the sidebar, navigate to Storage
-> Images
, then click on it to select Create Image
.
Make sure not to choose Virtual Machines
-> achine Image
as it will lead to confusion later on!
In the beginning, I mistakenly pressed Create Machine Image
from the VM section and got stuck in this alternate world, which wasted my whole afternoon.