Your Own Server, Your Own Privacy, Multiple Users

Image for post
Image for post
Image by Stefan Coders from Pixabay

I have recently stumbled upon a video on YouTube by Wolfgang’s Channel about how to setup your own VPN server using OpenVPN. There’s also a transcript version of the video that you can read and follow along. Or you can follow my guide below.

TL;DR

In this guide, I will show you how to setup OpenVPN server on a Linux VM hosted on Linode. The cost of the VM is $5 per month (1TB traffic inclusive) but you can get free $100 credit for 60 days from this link. …


Docker is not the only tool to work with containers

Docker vs. Podman+Buidah+Skopeo
Docker vs. Podman+Buidah+Skopeo
Docker vs. Podman+Buidah+Skopeo —Image by Chairat Onyaem (Par)

We often use Docker when we talk about containers, similar to we use ‘Coke’ when we talk about carbonated soft drink. We all know that Coke is not the only brand that sells carbonated soft drink. Same to Docker, it is not the only one that does containers.

Why not Docker

Docker has been around for quite a while and it is a good tool. It is one of the very first thing I always tell junior developers to study when they start their first job from school.

Recenly, I feel annoying installing…


Image for post
Image for post
A man standing on top of a mountain — Le Ngoc Tan

Updated Jan 2019: Azure Container Service (ACS) has been replaced by Azure Kubernetes Service (AKS). Please refer to this guide on how to easily create an AKS cluster.

Table of Contents

1. Create Application ID

1) Go to Azure Active DirectoryApp registrations and click New application registration


Image for post
Image for post

Introduction

SSH is the way to connect and command your Linux machine. Doing this from Windows is even more painful as you need a client like Putty installed (Or enable built-in SSH if you’re using Windows 10).

What if you can do it right from your web browser from any OS without installing anything!?!

What is Wetty?

Wetty = Web + tty.

Terminal over HTTP and HTTPS. Wetty uses ChromeOS’ terminal emulator (hterm) which is a full fledged implementation of terminal emulation written entirely in Javascript. Also it uses websockets instead of Ajax and hence better response time.

Source: https://github.com/krishnasrinivas/wetty

Prerequisite

  • Ubuntu Server with Docker…


Image for post
Image for post

In my last blog, I’ve explained about deployment pipeline I built for Continuous Integration and Continuous Delivery in ABAP. Another thing that our team has built was the application monitoring.

For our Java Spring Boot services, it can seamlessly integrate Prometheus module in the POM file and then your application is ready to be monitored with built-in metrics.

I managed to create Prometheus client for ABAP. I will explain how you can setup one for yours below.

What is Prometheus?


In my recent project, we are building Java miniservices that connect to SAP backend via RESTful APIs. The team has setup a CI/CD pipeline in Jenkins to automate build, test, and deploy of those Java services. At the time we had the pipeline, I have realized the benefits for having such pipeline and that became my motivation to build one for ABAP.

The most important benefit in my view is the visibility over your software’s health. If someone asks whether the Java piece is working fine at the moment, we can have a glance at Jenkins monitor and be able…


Image for post
Image for post

In my last blog, we’ve create a Hello Application easily without any coding and deployed it to the cloud.

In this blog, let’s explore the continuous integration and continuous delivery for the application which SAP has prepared for us a template which is ready for our use.

Prerequisites

Push Your Codes to Git

  1. Install Git client if you haven’t done so. (Windows:choco install git)
  2. Setup Git
git config --global user.email "you@example.com"
git config --global user.name "Your Name"

3. Add .gitignore file to your project folder. The file should contain one line:

target

4. Init and commit local repository

git init git add . git commit -m…


Image for post
Image for post

Introduction of Cloud Foundry on SAP Cloud Platform enables a lot of possibilities to deploy various applications on the cloud. Jenkins is one of the most asked and some people may struggle to find a place to run it.

In this blog, I’ll show how to deploy Jenkins on Cloud Foundry environment on SAP Cloud Platform.

Download Jenkins.war

Go to https://jenkins.io/download/ and download Generic Java Package (war) of the version you prefer.

Deploy Jenkins on Cloud Foundry

Login

Connect to Cloud Foundry using CLI. (See how to download here).

cf api https://api.cf.eu10.hana.ondemand.com
cf login

Deploy Jenkins

We’re going to deploy Jenkins.war using this special buildpack.

cf push <path_to_jenkins.war> -b https://github.com/Altoros/jenkins-buildpack…


Image for post
Image for post

The introduction of S/4HANA Cloud SDK makes it even easier to develop cloud applications and integration with back-end SAP and cutting-edge tools and technologies like Hystrix, Docker, and Jenkins.

In this blog, I’m showing you how to deploying a Hello World application on SAP Cloud Foundry without any coding using S/4HANA Cloud SDK.

Prerequisite

Make sure you have a trial account on Cloud Foundry. If not, get one from here.

Make sure your PC has the following installed:

  • JDK
  • Maven
  • Cloud Foundry CLI

On Windows, you can use these commands to install those softwares with Chocolatey:

choco install jdk8 choco install…


Image for post
Image for post

If you get alien characters in console log of your job like this:

Chairat Onyaem (Par)

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