README.md
page_type | languages | |
---|---|---|
sample |
|
Azure Spring Apps training
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.
What you should expect
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.
Symbols
🛑 - 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.
00 - Prerequisites and Setup
Prerequisites and environment setup.
01 - Create an Azure Spring Apps cluster
Basics on creating a cluster and configuring the CLI to work efficiently.
02 - Build a simple Spring Boot microservice
Build the simplest possible Spring Boot microservice using the Spring Initializr.
03 - Configure application logs
Access Spring Boot applications logs to understand common issues.
04 - Configure a Spring Cloud Config server
Configure a Spring Cloud Config Server, that will be entirely managed and supported by Azure Spring Apps, to be used by Spring Boot microservices.
05 - Build a Spring Boot microservice using Spring Cloud features
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.
06 - Build a reactive Spring Boot microservice using Cosmos DB
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.
07 - Build a Spring Boot microservice using MySQL
Build a classical Spring Boot application that uses JPA to access a MySQL database managed by Azure.
08 - Build a Spring Cloud Gateway
Build a Spring Cloud Gateway to route HTTP requests to the correct Spring Boot microservices.
09 - Putting it all together, a complete microservice stack
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.
10 - Blue/Green deployment
Deploy new versions of applications in a staging environment and switch between staging and production with Azure Spring Apps.
11 - Configure CI/CD
Configure a Continuous Integration / Continuous Deployment platform using GitHub Actions, so our Spring Boot microservices are automatically deployed.
12 - Making Microservices Talk to Each Other
Creating a microservice that talks to other microservices.
Conclusion
Legal Notices
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.