Spring Boot - Admin Server
Last Updated :
24 Apr, 2025
Spring boot is one of the most popular applications to develop Java enterprise applications. When you have so many components in your application, you need to monitor and manage them. You have multiple spring boot applications running you need an admin for monitoring. Spring boot admin provides you the power to manage and monitor your spring boot applications. The Spring Boot admin treats all other spring applications configured in your system as clients and gives all necessary details about them in a web application.
Behind the scenes, Spring Boot Admin is using Spring Boot Actuator. Spring boot actuator provides endpoints to manage and monitor spring applications. But it is all manual while monitoring spring applications using an actuator, as it provides you only the endpoints and you have the format of the view and then individually check all the endpoints for better monitoring.
You can check out the following articles for a better understanding:
In this article, we will be learning how we can set up a Spring Boot - Admin Server to get insights from client spring boot applications.
Steps to Configure Spring Boot - Admin Server
Step 1: Create a spring boot application
Visit start.spring.io and create a new spring boot project which we will be using as the Spring Boot -Admin Server. Select the configurations as below:
- Project: Maven
- Language: Java
- Spring Boot version: 3.2.1
- Packaging: Jar
- Java Version: 17
Select Spring Web dependency from the dependency tab.

Click on generate and then open the project with any IDE.
Step 2: Add Spring Boot Admin Dependency
Once you open the project wait till it is configured automatically by the IDE, then open in pom.xml file and paste the following dependency for Spring boot Admin server.
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
<version>2.4.1</version>
</dependency>
Once you add this dependency this alone will generate the actuator endpoints for you, but you may not get the web page with proper UI. use the following dependency management to resolve this.
<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-dependencies</artifactId>
<version>${spring-boot-admin.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
Please make sure to have a stable internet connection as this will download all necessary files required. Once you have pasted this reload the file.
Here is the pom.xml given below for your reference.
pom.xml:
XML
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.1</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<groupId>com.gfg</groupId>
<artifactId>SpringBootAdminApp</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>SpringBootAdminApp</name>
<description>project for Spring Boot admin server</description>
<properties>
<java.version>17</java.version>
</properties>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-starter-server</artifactId>
<version>2.4.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>de.codecentric</groupId>
<artifactId>spring-boot-admin-dependencies</artifactId>
<version>${spring-boot-admin.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>