How to ditch hard code credential when you use AWS CLI

While reading the AWS Well-Architected Framework, I noticed the emphasis on ditching the use of hard code secrets everywhere you can. As a hard coded credential AWS CLI user, I challenged myself to improve it.

Some pitfalls in deploying a Next JS web application

I have deployed Next JS applications for so many time, and each time there will always be an issue running it as a static site. This blog will go through some problems I have faced and how I dealt with it(sort of).