Distributed configuration with Spring Cloud Config



FIRST 25 students to sign up before Labor Day get this course for FREE using the following link:


About the course

This course will lead intermediate to advanced SpringFramework and Spring Boot developers in creating a centralized Cloud Configuration server for use in cloud environments and MicroService architectures.

The course starts by creating a centralized Spring Cloud Config server. Students will learn how this can be used with or without a cloud oriented system like AWS. This technique can give great flexibility and manageability to any Spring-based deployment.

Students will create Spring Boot projects based mostly on Maven, but will also learn how to create the same projects using Gradle.

Then students will create a local GIT repository and pushing configuration files the students have created.

Then students will create remote Spring Boot clients to pull configuration from the Central config server, detailing out the various configuration that each remote application retrieve.

The students will then cover additional topics such as GIT TAG’s and BRANCH’s, and how applications can pull from them.

Students will also learn techniques for dynamically changing version of configuration to be pulled from a Spring Cloud Config server, for applications like parallel Microservice deployments.

Spring Cloud Config Server features:

  • HTTP, resource-based API for external configuration (name-value pairs, or equivalent YAML content)
  • Encrypt and decrypt property values (symmetric or asymmetric)
  • Embeddable easily in a Spring Boot application using @EnableConfigServer
  • Enable BASIC Authentication for configuration access

Config Client features (for Spring applications):

  • Bind to the Config Server and initialize Spring Environment with remote property sources
  • Bind directly to complex Objects using @ConfigurationProperties with remote property source
  • Enable BASIC Authentication for configuration access


What are the requirements?

  • The student should be familiar with the SpringFramework, inversion of control (IoC) @Profile’s and the Spring configuration lifecycle.
  • The student should be familiar with Spring boot.
  • The student should be familiar with GIT, versioning files, and potentially branching and labeling.
  • The student should have some exposure to Maven and/or Gradle build system tool.

What am I going to get from this course?

  • The students will learn how to use to host a centralized configuration repository that can be used for Spring cloud and/or MicroServices instances.
  • The Students will learn how to use Spring RestTemplate to pull Spring Configuration from a centralized Spring Cloud Config Server.
  • Students will learn how configuration is stored and managed in Cloud Config
  • Students will learn how branching and tagging of configuration can provide total control over complex configuration requirements
  • Students will learn how to secure the Spring Cloud Config endpoints with BASIC Authentication.
  • Students will create a Client application that connects to a Config Server using BASIC Authentication.

What is the target audience?

  • Spring Framework and/or Spring Boot developers that want to learn about distributed Spring configuration management with Spring Cloud Config.

Mick Knutson

Java, JavaEE, J2EE, WebLogic, WebSphere, JBoss, Tomcat, Oracle, Spring, Maven, Architecture, Design, Mentoring, Instructor and Agile Consulting. http://www.baselogic.com/blog/resume

View all posts

Java / JavaEE / Spring Boot Channel

BLiNC Supporters

BLiNC Adsense