Upgrading the Site

After, analysing my personal site usage over the past couple of days, I’ve found that most of my ‘costs’ come from Cloud SQL. This approximately sets me back around ~$70/month, which for a personal website is not sustainable. 

Hence why I’ve decided to move my site over to AWS EC2 (taking advantage of the Free Tier), so hopefully this works out!

Travelling to Japan and China 🎉

So after 3 years of working on various project(s): MARIE.js and MonPlan during my holidays and studying full time, I have finally decided to take a nice, long and well-deserved holiday.

So I am really excited to be going to Japan and China right after Uni exams. So keep an eye out on this blog especially the Travel and China 2018, Japan 2018 categories, where I will be blogging and uploading links to photos.

 

Building NodeJS Apps on Google’s Scalable Infrastructure for JuniorDev

Node.js has offered Monash University a very flexible framework to build and develop rapid prototypes and minimal viable products that provide our stakeholders and users with scalable solutions for their needs. The launch of Node.js on App Engine standard has added the bonus of being a fully managed platform, ensuring our teams can focus their efforts on developing products.

Eric Jiang
Quote for Now, you can deploy your Node.js app to App Engine standard environment (Google Cloud Platform Blog)

To view talk click here.

Date: September 19, 2018
Presenter(s): Eric Jiang
Location:  Zendesk, Melbourne, Vic AU 3000
Part of JuniorDev Meetup Group, September Code & Tell Session

This talk is a brief introduction to Google Cloud Platform and dives deep into Google App Engine. And Also deploying to Google App Engine

Hello world!

👋 Hello world! 🌏

I’m really excited to announce that after a few weeks of looking at and exploring different options for a new platform to build upon for my personal site. This is that site.

Why? 🤷‍♂️

I’ve always loved static sites, but due to complexity of my site it’s really hard to manage, typing stuff in markdown is not bad (but when you type a lot it gets really tedious).

Especially as I provide lots and lots of interactive content.

I’ve always used WordPress, and hosting it was not really a good option (as it has lots of security vulnerabilities, etc.) and managing lots of DB versions will cost a lot of money, and especially I get sudden peaks of traffic, it simply wasn’t cost effective enough.

In comes Google Cloud Platform ☁️

I use a lot of Google Cloud Platform at work. So I know the ins and outs of Google Cloud Platform, and Google App Engine. By utilising the GAE Standard Environment, I get cheaper and faster scaling and it also supports PHP7.2 in the standard environment. By utilising the WordPress template provided by GCP I had a sandbox instance up in no time!

I also had NameCheap setup so my Nameserver (NS) points to CloudFlare servers, this is so that I get the nice DDOS and Free SSL cert that CloudFlare providers. By setting a custom DNS, I also my project-id hidden. Now, I need to block all access to my Appspot Domain (https://lorderikir-prod.appspot.com). This was done via the Google Application Firewall, all I did was added the CloudFlare IPs to the allow list, and blocked everything else. This means that accessing my appspot domain is impossible, and you could only access it via the CloudFlare network.

The CloudFlare Configuration is setup so it aggressively caches at the Boundary Nodes, so that:

  1. It’s relatively faster to load
  2. It’s protecting all my domains against DDOS attacks.

CloudFlare also auto minifies as everything passes through its network.

Bringing it all Together