I've written a couple of posts about how to set up JavaScript and TypeScript Monorepos over the past three years (#1, #2, #3, #4, #5, #6, #7), and I kind of thought I had it all figured out - but I didn't. It turned out that for various reasons it is fiendlishly difficult to develop … Continue reading The Ultimate Guide to TypeScript Monorepos
Tag: AWS
Amazon Transcribe for Dictation
I have been doing some research on how to do speech to text conversion. Initially, I thought there may be a good iOS app that I could simply use on my iPhone. But while there were a number of apps available to support dictation most of these seem to be focused on allowing you to … Continue reading Amazon Transcribe for Dictation
Next.js 11 Images with Static Export
Next.js 11 includes an exciting new feature for dynamically optimising images using the <Image> tag. Unfortunately, this new feature does not play nicely with exporting a static version of the Next.js app using yarn next export by its very design. This is not great for serverless deployments, which often will rely on uploading the static … Continue reading Next.js 11 Images with Static Export
Lambda Go Starter Project
Serverless development allows deploying low-cost, low-maintenance applications. Go is an ever-more popular language for developing backend applications. With first rate support both in AWS Lambda and GCP Cloud Functions, Go is an excellent choice for serverless development. Unfortunately, setting up a flexible infrastructure and efficient deployment pipelines for Serverless applications is not always easy. Especially … Continue reading Lambda Go Starter Project
Express.js on Lambda Getting Started
AWS Lambda is a cost efficient and easy way to deploy server applications. Express.js is a very popular Node.js framework that makes it very easy to develop REST APIs. This post will go through the basics of deploying an Express.js application to AWS Lambda. You can also check out the sample project on GitHub. Develop … Continue reading Express.js on Lambda Getting Started
Deploy Next.js to AWS
Next.js is becoming ever more popular these days and rightfully so. It is an extremely powerful and well-made framework that provides some very useful abstractions for developing React applications. An easy way to deploy Next.js application is through using Vercel. However, it can also be useful to deploy Next.js application into other environments to simplify … Continue reading Deploy Next.js to AWS
Deploy Java Lambda using SAM and Buildkite
I've recently covered how to deploy a Node JS based Lambda using SAM and Buildkite. I would say that this should cover most use cases, since I believe a majority of AWS Lambdas are implemented with JavaScript. However, Lambda supports many more programming languages than just JavaScript and one of the more important ones among … Continue reading Deploy Java Lambda using SAM and Buildkite
Deploy Lambda using SAM and Buildkite
One of the many good things about Lambdas on AWS is that they are quite easy to deploy. Simply speaking, all that one requires is a zip file of an application that then can be uploaded using an API call. Things unfortunately quickly become more complicated, especially if the Lambda depends on other resources on … Continue reading Deploy Lambda using SAM and Buildkite
Resize EC2 Volume (without Resizing Partition)
Problem You would like to resize a volume attached to an EC2 instance. Solution Do the following: Create a snapshot of your volume (instructions) Stop your instance Go to EBS / Volumes and select Actions / Modify Volume Enter the new size for your volume (note you can only ever make the volume larger) and … Continue reading Resize EC2 Volume (without Resizing Partition)
Set up MySQL Replication with Amazon RDS
Problem You have an existing server that runs a MySQL database (either on EC2 or not) and you would like to replicate this server with a Amazon RDS MySQL instance. After you follow the instructions from Amazon, your slave reports the IO status: Slave_IO_State: Connecting to master ... and the replication does not work. Solution … Continue reading Set up MySQL Replication with Amazon RDS