yellow-gopher-background

[INFRA PART 1/2] Serverless Highscore Go API with Faasd and CockroachDB

The Series Intro Hi everyone, in this series we will be creating serverless highscore REST API in Go and utilize the most advanced and bleeding-edge open-source technologies such as Faasd(OpenFaaS engine) and CockroachDB(our cluster database). Keep in mind that we will actually need a server to do serverless computing :) (Plot Twist) In this 1st part, we will be setting up the infrastructure side for Hetzner Cloud with Terraform then in the 2nd part we will develop/deploy our functions with help of faas-cli. Faasd is developed by OpenFaaS to make self-hosted serverless functions much easier to develop/deploy without any vendor lock-in giant cloud company or K8s requirement. We will also be using CockroachDB as a single node database for our cloud server instance. There are some requirements but keep in mind that Terraform and Hetzner Cloud are not mandatory requirements. ...

September 8, 2021 · 5 min · 1002 words · Talha Altinel
blue-gopher-background

Localstack with Terraform and Docker for running AWS locally

The Intro Hello everyone, in this post I will be demonstrating how you can run localstack with Terraform and Docker and give you a proof of concept go application so you can tweak it according to your logic and follow anything you want to do such as integration/system tests for AWS services in your own CI/CD or localhost. Github Repository for PoC(proof of concept): hotdog-PoC-repository Requirements: Docker docker-compose Terraform Go aws CLI A bit of lambda, dynamodb and kinesis knowledge Localstack is a testing/mocking framework for developing Cloud applications locally. Where in theory, you can stick any AWS service and emulate them in localhost without ever needing the real AWS account. Localstack’s primary goal to make integration/system testing less painful for developers. ...

July 3, 2021 · 4 min · 789 words · Talha Altinel