AWS Fargate is a serverless compute engine for containers that work with both Amazon Elastic Container Service (ECS) and Amazon Elastic Kubernetes Service (EKS). Fargate makes it easy for you to focus on building your applications. Fargate removes the need to provision and manage servers, lets you specify and pay for resources per application, and improves security through application isolation by design. (refer)

In this article, we will use Terraform to provision DotNet container API to ECS using Fargate Launch Type. To make things simpler, I remove all the optional attributes; only fill in the required attribute that helps us to deploy into ECS using Fargate. …

Serverless Application has become a buzz word for quite some time, but some still claim that it is not compatible with my current code base and need much effort to convert. Some even claim that vendor lock-in is the main reason to avoid using Serverless technology like AWS Lambda. Today I’m going to show you how we can easily convert your existing DotNet Core 3.1 WebApp with Razor view to Serverless Application live in AWS within 5 minutes.

Introduction

Image for post
Image for post

Serverless technology is already a mature technology. Many applications on the internet are now using Serverless technology especially AWS Lambda. Many businesses hesitate to adopt Serverless technology but with the announcement of Lambda Provisioned Concurrency, this cold start issue is resolved. However, there is still one major concern for Enterprise player which is Vendor lock-in issue. AWS aggressively address this issue with building lots of frameworks and tools for popular framework such as DotNet Core to allow easy port in and port out to their Lambda framework. Today, we will look into how we can easily convert our existing DotNet Core 3.1 Web App with standard DotNet core 3.1 …

Although Serverless applications become very popular nowadays, EC2 still commonly used in some uses cases. When coming to EC2 monitoring, AWS comes with native CloudWatch metric for some basic metrics, but exclude memory and disk usage metric. This article going to show you how we can simply enable CloudWatch agents to monitor memory and disk usage metric using Terraform. To make things simple we will provision 1 EC2 using Terraform.

Image for post
Image for post
Image credit to AWS

Requirements

If you want to follow this guide, please make sure you have the following tools installed and configure:-

Terraform

Visual Studio Code

AWS Account

AWS CLI

Configure AWS Credential on your…

During the release planning, we always face challenges on how to tag our Software Version and how to prepare our release Changelog, and this question becomes a routine during the release flow. Some team will inject a manual process to create a Release PR that includes all the release information and update the version manually. This manual process slows the team down, and it’s not integrated smoothly in the CICD flow. …

In this article, we will build a sample DotNet Core API to run in single-node Docker in EC2, and utilize AWS ECR to store our application image. To provision the infrastructure, we use Terraform to help us provision require components in AWS to run our Docker application. The commands used here had been tested in Linux and Mac environments.

Introduction

The main force in this article is to learn how to set up a basic terraform script to help us provision EC2 and automatically run our application in the Docker environment. …

Docker Swarm is a simple Docker Orchestration framework, it is the hottest tool to discuss and used before Kubernetes, and it still very popular now in small scale Applications. Today we going to demonstrate how we can use Vagrant to setup Docker Swarm in your local machine without provision cloud or physical environment.

Introduction to Vagrant

Vagrant is a tool for building and managing virtual machine environments in a single workflow. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases production parity, and makes the “works on my machine” excuse a relic of the past. Learn Vagrant from Hashicorp. …

Image for post
Image for post
reference image from https://blogs.tensult.com/wp-content/uploads/2019/11/aws-terraform-1024x576.jpg

With Serverless technology developer now with more powers and controls. With IaC using Terraform, create new API no longer need to deal with the Ops team or headache of designing server topology. Today we going to go through step by step API creation using Golang, Lambda, and Terraform.

Introduction

We going to create one API that can print out Hello world when we invoke the API URL. …

If you are an active contributor to the open-source community, there will be always needed to find a good build server to build your docker image, especially in this dockerize era, if you can dockerize your tool and program, many magic can be happen

Image for post
Image for post
Image from twitter

Pre-requirements

This guide will only focus on Github and Docker:-

You must have Github account

You must be a registered user in Docker Hub

Create a Simple Docker file in Github

Create a new repository in your Github and add the following Dockerfile, it is a simple docker with printing hello world when running it, commit your code and make sure your file name is Dockerfile.

In this story, we will discuss what a standard Serverless Architecture should have in building a Mobile Application, it is not a framework or bulletproof for any use cases, but it is kick start architecture for anyone would like to have a full total ownership of your Mobile backend but without overhead of operation support and cost to maintain servers, the reason I mention about ownership is the control and extension that you want to have in the future. There are many ways can build Mobile Backend, some will have partial or zero control over what you allow to do to extend your Mobile Application, but they provide a very easy start for Mobile Centric development team to build a Mobile Application without a real backend, e.g: Firebase, Streamdata.io.

Welcome to the first chapter of boyfriend Bot series. In the recent day, Bot and AI becoming a buzzword to any solution that displaying automatically answer and reply to the human query. Technically, they are not the same category, a Bot system merely interpret human intent from the query and convert into system command to execute the tasks, some powerful Bots might able to proactively asking the question to human to get more intents. In the other way, AI not limited to interpret human language but will able to learn and improve themselves automatically with the neural network. In this story, I will share about the capabilities of Bot by building them step by step in an interesting use case, a Boyfriend Bot. It is a virtual user that will wish your girlfriend Happy Birthday and wish Good Morning like you. I do not know how much we can go with Bot without AI, but I definitely will cover the basic fundamental to set up a basic Bot. If you would like to see more capabilities to this boyfriend Bot, do share with me your request :). …

About

Jazz Tong

A software engineer that believe to change the world, first you need to fix the code.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store