page_type: sample languages:
You will find here a full workshop on Azure Spring Apps, including guides and demos. You can run this workshop with the monthly free grant from Azure Spring Apps. Learn More
This lab is open-source, and under the MIT license. All Contributions are more then welcome! Learn more at contribution guidelines.
This is not the official documentation but an opinionated training.
It is a hands-on training, and it will use the command line extensively. The idea is to get coding very quickly and play with the platform, from a simple demo to far more complex examples.
After completing all the guides, you should have a fairly good understanding of everything that Azure Spring Apps offers.
π - Manual Modification Required. When this symbol appears in front of one or more commands, you will need to modify the commands as indicated prior to running them.
π§ - Preview-specific. This symbol indicates steps that are only necessary while Azure Spring Apps is in preview.
π‘ - Frustration Avoidance Tip. These will help you avoid potential pitfalls.
Prerequisites and environment setup.
Basics on creating a cluster and configuring the CLI to work efficiently.
Build the simplest possible Spring Boot microservice using the Spring Initializr.
Access Spring Boot applications logs to understand common issues.
Configure a Spring Cloud Config Server, that will be entirely managed and supported by Azure Spring Apps, to be used by Spring Boot microservices.
Build a Spring Boot microservice that is cloud-enabled: it uses a Spring Cloud Service Registry and a Spring Cloud Config Server which are both managed and supported by Azure Spring Apps.
Build a reactive Spring Boot microservice, that uses the Spring reactive stack and is bound to a Cosmos DB database in order to access a globally-distributed database with optimum performance.
Build a classical Spring Boot application that uses JPA to access a MySQL database managed by Azure.
Build a Spring Cloud Gateway to route HTTP requests to the correct Spring Boot microservices.
Use a front-end to access graphically our complete microservice stack. Monitor our services with Azure Spring Apps's distributed tracing mechanism and scale our services depending on our needs.
Deploy new versions of applications in a staging environment and switch between staging and production with Azure Spring Apps.
Configure a Continuous Integration / Continuous Deployment platform using GitHub Actions, so our Spring Boot microservices are automatically deployed.
Creating a microservice that talks to other microservices.
Microsoft and any contributors grant you a license to the Microsoft documentation and other content in this repository under the Creative Commons Attribution 4.0 International Public License, see the LICENSE file, and grant you a license to any code in the repository under the MIT License, see the LICENSE-CODE file.
Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.
Privacy information can be found at https://privacy.microsoft.com/en-us/
Microsoft and any contributors reserve all other rights, whether under their respective copyrights, patents, or trademarks, whether by implication, estoppel or otherwise.