Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Distributed configuration with Spring Cloud Config
Rating: 3.8 out of 5(31 ratings)
260 students

Distributed configuration with Spring Cloud Config

Centralized, distributed external configuration management backed by a GIT repository.
Created byMick Knutson
Last updated 12/2017
English
English [Auto],

What you'll learn

  • 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.

Course content

7 sections47 lectures3h 29m total length
  • Course Introduction0:54

    Explore spring cloud config server and the spring ecosystem, and see how this cloud configuration power supports microservices and cloud oriented systems. Gain lifetime access to updates and source code to accelerate your project.

  • About Mick Knutson2:53

    Meet Mick Knutson, a software architect and instructor with decades of Java and Spring experience, including authoring the Java E6 cookbook, Spring Security third edition, and Spring Cloud training.

  • What you will learn in this class2:55

    Explore the Spring Cloud Config ecosystem, build and configure a cloud config server, manage local git repositories with branching and tagging, and develop config clients with Spring Boot.

  • Tools and Source for this Course7:07

    Review the tools and source code for distributed configuration with Spring Cloud Config, including config server, microservices client, and labs with releases, and cloud config repos, Maven and Gradle.

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.

Description

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

next...


Who this course is for:

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