Playing with Serverless in Kubernetes with Knative

Playing with Serverless in Kubernetes with Knative

The serverless architecture became one of the most buzzy words nowadays. Almost all the cloud providers have a Serverless platforms in their catalogues: Microsoft Azure Functions Amazon Web Services Lambda Google Cloud Functions IBM Cloud Functions Oracle Functions In an other world, there are many solutions to have a Serverless Runtime into Kubernetes, which is the most popular (and the most wonderful) container orchestrator in the market. These solutions are so helpful especially if you need portability for your functions. For example, you can have the same Serverless Runtime deployed to Azure Kubernetes Service and Google Kubernetes Engine. You can be deploying the same binaries as functions identically to both of the cloud providers. ...

November 28, 2019 · 16 min · Nebrass Lamouchi
Playing with Serverless Architecture

Playing with Serverless Architecture

In some previous articles, I was writing about the Azure Functions, which is the Microsoft Serverless solutions. After joining Microsoft, I got the chance to work on this great product for many business cases and I found it was really great 🥳 Recently, one of my Facebook friends asked me to write a blog post about what is Serverless architecture ? 🤔 what is for ? 🤔 and especially, what are the scenarios that are not suitable for Serverless ? 🤔 ...

November 21, 2019 · 4 min · Nebrass Lamouchi
Playing with Spring Cloud in Azure Functions

Playing with Spring Cloud in Azure Functions

In this tutorial, we will be experimenting a new use case of the great Azure Functions service 😁 one of my favorite products in Azure. In this tutorial, we will bring the powerful features of the Spring Framework to our Azure Functions Java projects. After this tutorial, creating a new Azure Functions Java based on business logic that you already have in your Spring Boot Application will be a very easy game. ...

November 19, 2019 · 10 min · Nebrass Lamouchi
Playing with Java in Azure Functions - New Release

Playing with Java in Azure Functions - New Release

In one of the previous posts, I introduced the Azure Functions Java. I felt that I need to write a dedicated tutorial to this great Azure Serverless service 😁 In this post, I will be covering many concepts in deep: Triggers and bindings Events and messaging Deployments & Consumptions Monitoring Generating the hello-world project We will scaffold a Java-based Azure Function project using Maven Archetypes, using this command: 1 2 3 4 5 6 7 8 9 $ mvn archetype:generate -DarchetypeGroupId=com.microsoft.azure \ -DarchetypeArtifactId=azure-functions-archetype \ -DappName=hello-world-app-example \ -DappRegion=FranceCentral \ -DresourceGroup=helloworld-rg \ -DgroupId=com.helloworld.group \ -DartifactId=helloworld-functions \ -Dpackage=com.helloworld \ -DinteractiveMode=false The generated project will look like: ...

October 19, 2019 · 25 min · Nebrass Lamouchi
Playing with Azure Monitor services and Spring Boot

Playing with Azure Monitor services and Spring Boot

In enterprise application, performance is major requirement of success. Especially for applications where slowness will have a direct detrimental impact on business productivity, profits and even the brand itself, like trading platforms and e-commerces. If a trading platform loads slowly or experiences errors, it will translate into loss of business, and losses can be extremely high, and the customer might end up switching to another competitor. In this context comes the Application Performance Management (APM). APM is the monitoring and management of performance and availability of applications. APM strives to detect and diagnose complex application performance problems to maintain an expected level of service. ...

September 23, 2019 · 10 min · Nebrass Lamouchi
Playing with OpenShift 4 locally

Playing with OpenShift 4 locally

January 2018, Red Hat acquired CoreOS for 250 million dollars 🤩. CoreOS was one of the leading companies of Linux & Containers market with their wide offer of products: CoreOS Tectonic: container application platform based on Kubernetes. CoreOS Container Linux: lightweight Linux distribution designed to run containerized applications. CoreOS Operators Framework: an open source toolkit designed to manage Kubernetes native applications. CoreOS Quay: a container registry for building, storing, and distributing your private containers. CoreOS rkt: an application container engine developed for modern production cloud-native environments. even more and more.. Red HatOpenShift 3.x was facing many big problems especially in installations and upgrades. It was a real nightmare to install an OCP Cluster. I never heard an OCP Admin talking about upgrading OCP without discussing the problems that they faced. Personally, I worked for two customers from 2017 to 2019 that adopted OCP, and when it comes to cluster upgrades they were dedicating time and they were bringing people from Red Hat to help them do that 😂 Although, the upgrades were guaranteed by Red Hat in all technical and commercial announcements. ...

September 20, 2019 · 8 min · Nebrass Lamouchi
Playing with Java under the shield of SonarQube

Playing with Java under the shield of SonarQube

Introduction We.. developers.. we spend all our time writing code (and drinking coffee).. but we rarely care about the code quality.. until we get some pressure from a reviewer or from some quality scanner tool.. and as every field in the Java ecosystem, we have many choices when we come to choose a Quality Scanner tool: FindBugs, CheckStyle, PMD and of course the GREATEST SonarQube 😍 I fully worked with SonarQube since January 2014, during my M.Sc. internship to analyze my code and even to check if there are some Security Flaws using the OWASP and SANS _Quality Gate_s. ...

August 26, 2019 · 10 min · Nebrass Lamouchi
Big up! My book is FREE now !!

Big up! My book is FREE now !!

To celebrate the Groundbreaker Award and Oracle Code New York, my book “Playing with Java Microservices on Kubernetes and OpenShift” will be FREE forever ! This is a gift is for the community that voted for me and helped me to achieve this great award ! 🤩 The book is available on the Leanpub website: Thank you so much for voting for me !! 🥳

May 22, 2019 · 1 min · Nebrass Lamouchi
Discovering Machine Learning ?!

Discovering Machine Learning ?!

Some days ago, I got an idea to make a personal project about “Connected Devices”. This idea led me to discover some Artificial Intelligence and especially Machine Learning. The first thing that I did: I started seeking for a good course in many websites: edx, coursera and udemy.. These are the most popular sites of elearning that I am usually referencing to when I want to attack new technology or any CS field. ...

April 22, 2019 · 3 min · Nebrass Lamouchi
Playing with Istio Service Mesh on Kubernetes

Playing with Istio Service Mesh on Kubernetes

What is Istio? Google presents Istio as an open platform to connect, monitor, and secure microservices. Istio is a service mesh implementation that provides many cloud-native capabilities like: Traffic management: Service Discovery, Load balancing, Failure recovery, A/B testing, Canary releases, etc… Observability: Request Tracing, Metrics, Monitoring, Auditing, Logging, etc… Security: ACLs, Access control, Rate limiting, End-to-end authentication, etc… Istio delivers all these great features without any changes to the code of the microservices running with it on the same Kubernetes cluster. ...

March 10, 2019 · 22 min · Nebrass Lamouchi