Securing Quarkus Backend App with IBM App ID

Introduction This tutorial provides a step-by-step guide on securing a Quarkus backend application using IBM App ID. Configure IBM App ID Login to IBM Cloud and create an App ID instance using the lite (free) plan. Then create an application as a regular web app. Next, create a test user using Cloud Directory -> Users menu. Configure Quarkus First, update Maven pom.xml : <dependency> <groupId>io.quarkus</groupId> <artifactId>quarkus-oidc</artifactId> </dependency> Next, find the client ID/secret/login URL in IBM App id application details:...

December 30, 2023 · 3 min · Alex Popescu

Installing SQL Server in a Free Kubernetes Cluster on IBM Cloud

Let’s install SQL Server in a free Kubernetes cluster on IBM Cloud. Kubernetes installation Installing Kubernetes on IBM Cloud is free. Simply search for Kubernetes, select the Kubernetes service or use this link), and create a free cluster in the desired resource group. After 5-10 minutes, the cluster should be created. To test the connection to the cluster, select the Kubernetes cluster and then click Actions > Connect via CLI. The command we are looking for is the second one....

June 28, 2023 · 5 min · Alex Popescu

Toying with IBM Cloud Transient Servers

Last week I was toying with IBM Cloud tranzient servers, and got to setting a webhook url to be notified if the server needs to be reclaimed. In case the name doesn’t tells you anything, Transient Virtual Servers is the IBM Cloud equivalent to AWS Spot Instances. Creating a tranzient servers is easy enough trhough IBM Cloud portal, setting the webhook URL is not. It’s available only through API here...

June 4, 2023 · 2 min · Alex Popescu

How to use Java 17 on IBM Cloud Code Engine

In the previous articles here I used IBM Cloud Code Engine do deploy a Quarkus REST web service, but on Java 11. Now it’s the time to use Java 17. First, let’s update pom.xml to Java 17: <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> Then create a new file in the root of the project with the name .buildenv and set the content: BP_JVM_VERSION=17 There are more variables to be set in the documentation. Then, commit, push the change to GIT, and rebuild the image and deploy it to IBM Cloud....

February 7, 2023 · 1 min · Alex Popescu

How to investigate Code Engine problems

Let’s say that the build proccess is successfull, but the deploy is not. As a result, the IBM Cloud portal is not very helpfull. The error is Revision failed You may wonder why ? Well, the IBM Cloud portal is not all that helpful in this regard. In order to investigate, you need to install and configure IBM Cloud console - or use the one from IBM Cloud portal. First, let’s see if we can get any more informations about our app:...

January 12, 2023 · 4 min · Alex Popescu