This post I will try to go through the steps I took to build a Kubernetes cluster from scratch.
The physcial host is an old Dell Latitude laptop with 8GB memory, which runs VMware ESXi 6.7. The plan is to run 3 nodes on it with one of the VM set as master. Each server runs Ubuntu 20.04. I will skip the VM building steps here as our focus is Kubernetes.
I just wrote a Cloudflare CLI tool called flare 🔥! Check it out from my GitHub repo [email protected]:tomkingchen/cloudflare-cli.git.
The tool does some basic queries to Cloudflare API and retrieves information based on the parameters provided.
The reason for creating the tool is mainly to help myself to quickly identify information hard to find through Cloudflare dashboard like Firewall rule ID.
The current version is to focus on display information only rather than modifing configuration within Cloudflare.
I had enough of Google Blogger! It has terrible editing UI for and I constantly receiving SPAM comments for my posts😤. Time to move my blog off to somewhere better! I was thinking to run a Wordpress server. Though I think it’s way cooler to run my blog simplely without worrying about backend infrastructure.
After look around, I ended up using Cloudflare Pages to publish my blog. This allows me to write my posts with Markdown and then generate static html pages using Hugo.
One way to improve website performance is to use CDN to distribute the static contents of your site. S3 is a common place to host such type contents. In this post, I will show you how to publish a S3 bucket using Cloudflare. In fact, the screen shots used in this blogpost is published exactly through this manner.
Setup S3 Bucket Permissions This is an optional step which adds a S3 bucket policy to your bucket.
In this post I will show how to setup Cloudflare for a Serverless app built with AWS API Gateway and Lambda. For demonstration, I use a simple web app I built (rona.tomking.xyz). The app is hosted in AWS Sydney region. It displays daily Victoria COVID case and that’s it.
To use Cloudflare, I have signed up a free Cloudflare account. The first site can be added for free with following features.