Pushing EC2 logs to CloudWatch

AWS CloudWatch is a centralized logs aggregation services what provided by AWS with the high availability and unlimited storage capacity. It’s a default log location for most of the AWS services and you may also manually push the log from your EC2 to the CloudWatch for storage. To push your…

Top 5 DeFi Wallets in the Market Right Now

DeFi is arguably the hottest space in the entire cryptocurrency and blockchain ecosystem right now. It has gained quite a significant amount of traction in the last year, so much that an increasing number of institutional investors (already dabbling in crypto) are looking to up their risk appetite by entering…

Terraform generate subnet CIDR using network function

Need an easy and simple way to create the subnet CIDR that adhere the specific pattern such as even number for public subnet, odd number for private subnet. Look no further than the cidrsubnet() function along with a for loop and the range function! By providing a range to the…

Setup and run website in Docker Container with Terraform

In this post, I will share on how to create the simple Hello World Nodejs Docker container and deploy it with Terraform in your local machine. To test on this demo, you need to make sure that you have docker and terraform installed, if not, you may refer to their…

Paying TNB bill using Boosts, Grabpay, Tng eWallet in Pos Malaysia Mobile Apps

In my previous post regarding how “How To Pay TNB Bills With Boost, GrabPay and TnG eWallet“, I share on how to make the TNB bill payment at the https://www.e-pay.com.my, but just few weeks after my blog get publish, they remove the TNB bill payment option from their portal. Not…

Terraform workspace to deploy multiple environment stack

When working with infrastructure, we always have to deal multiple environment such as development, staging, production or UAT, as a system engineer or infrastructure engineer, we always want to make sure that all our deployed environment should work the same and can be repeatedly deploy without any code changing or…

Importing AWS EC2 resources back to Terraform

Terraform is a great Infrastructure as Code tools where it allow you to define and deploy all your resources to the public cloud such as AWS, Azure, GCP and more. Terraform is a stateful IAC tools where it will use a state file call terraform.tfstate store the state of your…

Laravel Code Analysis using SonarQube Docker Container

DevOps automation become a mainstream nowadays, there are plenty of tools available for you to build, deploying and automated testing. SonarQube is one of the tools that empower all developer to write a clean and safer code by inspecting the code base on static code analysis rule. SonarQube currently supporting…

Installing OpenVPN server in AWS EC2 with User data and Terraform

This is the terraform version of installing OpenVPN in the EC2 with user data, and it’s the 2nd part from the previous post to install the OpenVPN using the AWS EC2 console. Everything will be work the same but I’m using the terraform script to deploy the resources. I will…

Installing OpenVPN server in AWS EC2 with User data

OpenVPN Server is one of the common and popular VPN server available in the market, I will share the installation of the OpenVPN with EC2 using the user-data to automate the installation during the boot up of the server. You may refer to the official AWS user guide about what’s…