David

Git Command-Line Shortcuts

As a programmer cum consultant who have a lot of hand-on on programming, I actually spend a lot of time on typing Git commands. I actually found a set of keyboards shortcuts with Bash aliases and it actually speed up my Git workflow as well as save me hundreds of keystrokes every single day. Git…

CloudFormation Ref & GetAtt cheatsheet

After joining my current company Sourced Group, and I need to deal a lot with CloudFormation in my daily working life, I manage to find a full list of Ref and GetAtt cheatsheet which help me a lot when I working on CloudFormation. Please bear in mind that difference resources type in AWS, there will…

Former2 – A tools for you to generate Infrastructure as code from your existing resources

Former2 is a reverse engineering tools that allow you to generate Infrastructure-as-Code from your existing resources within your AWS account. By using the AWS JavaScript SDK, Former2 will scan across your infrastructure and present you with the list of resources for you to choose which one to generate outputs for. This is very helpful tools…

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 log from EC2 to CloudWatch…

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 the DeFi market. However, this…

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 cidrsubnet() function, the function automatically…

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 official website on how to…

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 too sure the reason behind.…

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 complicated logic required. Terraform is…

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 resources, keep track the metadata,…

google.com, pub-3772983857049267, DIRECT, f08c47fec0942fa0