Amazon Simple Email Service (SES) is a serverless service for sending emails from your applications. Like other AWS services, you can send emails with SES using the AWS REST API or the AWS SDKs. In this article, I want to look at how to send emails using SES with TypeScript specifically. tl;dr Fork the automatically … Continue reading SES, Terraform and TypeScript Starter Project
Tag: DevOps
Next.js + Bootstrap Boilerplate
Provides a ready-to-use project that combines Next.js + Bootstrap. Regularily and automatically updated.
Deploy Serverless Next.js to AWS with Terraform 1.1
Terraform for better or worse is frequently updated with new versions. Many of these introduce incompatibilities with previous versions that require manual rework of Terraform definitions as well as require updating the local or remote Terraform state. I originally developed a solution for deploying Next.js to AWS using Terraform version 0.12 and that has been … Continue reading Deploy Serverless Next.js to AWS with Terraform 1.1
Setting up Continuous Deployment with Lerna and Buildkite
Buildkite is a great tool for running multi-step build and deployment pipelines. Lerna is a tool for managing multiple JavaScript packages within one git repository. Given that both Lerna and Buildkite are quite popular, it is surprising how difficult it is to set up a basic build and deployment with these tools. It is very … Continue reading Setting up Continuous Deployment with Lerna and Buildkite
The Production-Grade Infrastructure Checklist
Sometimes it feels that it takes more time setting up the infrastructure of an application that actually writing the application code. The following infographic from gruntwork nicely illustrates this by showing the breath of tasks one needs to undertake to get a production-grade infrastructure running:
Easy VPS Backup
I love VPS providers such as RamNode or ServerCheap which provide excellent performance at a low price point. Unfortunately, when going with most VPS providers, there are no easy built-in facilities for backing up and restoring the data of your servers (such as with AWS EC2 snapshots). Thankfully, there is some powerful, easy to use … Continue reading Easy VPS Backup
Java Logging – The Ultimate, Easy Guide
On first glance, logging looks like an exceedingly simple problem to solve. However, it is one of these problems which unfortunately become more and more complex the longer one looks at it. I think because of this, there are many frameworks in Java to support logging (since everyone seems to have thought they have found … Continue reading Java Logging – The Ultimate, Easy Guide
Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring
As mentioned in my previous post, I have long been looking for a centralised solution for collecting logs and monitoring metrics. I think my search was unsuccessful since I was looking for too many things in one solution. Instead I found now two separate solutions, one for log management (using Graylog) and one for metrics … Continue reading Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring
Setting Up Graylog Server
I have been looking around for an easy to use and reasonable priced solution for managing logs distributed among many servers and system metrics for these servers. I had a brief look into setting up an ELK system but I found that looked quite cumbersome. Recently I came across Graylog and I found it looked … Continue reading Setting Up Graylog Server
Installing Jenkins on Centos 7
I set up a Jenkins server on a brand new Centos 7 VPS. In the following the instructions for doing this in case you are looking at doing the same: Setting up Jenkins Server Install OpenJDK Java sudo yum install java-1.8.0-openjdk Add Jenkins Repo and install Jenkins sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import … Continue reading Installing Jenkins on Centos 7