
James Yoo
Canada-based software engineer who loves web, technology and investment
Blog
Deploying Go Application Using EC2 and CodeDeploy
IAM - Role The IAM role for CodeDeploy is used to interact with EC2 instance(s). The one for EC2 is used to read S3. You can find the detailed instruction here: "Continuous Deployment with AWS CodeDeploy & Github". EC2 - Launch I usually prefer using…
Sort Function in JavaScript and Python
sort() is a handy function to sort elements in a list. Using the function, we can order elements in a list in ascending or descending order. Depending on a language that we use, however, we might encounter unexpected results. In this article, I…
cannot create temp file for here-document: No space left on device
When I accessed one of my EC2 instances, I found this sentence on my terminal: This did not stop my instance working, but this might bother you (like me) 😒 To solve a problem, we need to find its main cause. In my case, my instance runs cron jobs…
Running a Timer When a Tab Is Active
It should not be hard to send a request to an endpoint. From fetch to axios, there are many ways to achieve it. Using the setInterval() or setTimeout(), you can also send request(s) multiple times or after waiting for some time. However, you might…
Deploying Code on GitHub and EC2 Using AWS CodeDeploy (2)
This is the second writing about deploying a Node.js app using CI/CD tools, AWS CodeDeploy and AWS CodePipeline. The first article focuses on creating an EC2 instance and deploying a Node.js app in the instance using GitHub, CodeDeploy and…