Zero 2 Prod In 3 Commands

Ever wanted to get an end-point in Azure?

With Azure Spring Apps Enterprise this is possible. You start simply with a spring-boot .jar and off you go!

TLDR; Please see this video on how:
https://www.youtube.com/watch?v=UhkD37gGu7Q

The code for this example, and more detail can be found at:
https://github.com/ericm48/azure-asa/tree/main/hello-spring-controller

This assumes you have correctly installed the azure cli, and are az logged in.

Steps:

az spring create --name hello-spring-controller \
--resource-group azure-asa-uswest \
--location us-west \
--sku Enterprise \
--enable-application-configuration-service \
--enable-service-registry --enable-gateway \
--enable-api-portal --build-pool-size S2 &

az spring app create -n hello-spring-controller \
-s hello-spring-controller-ent \
-g azure-asa-uswest \
--assign-endpoint true \
--verbose &

az spring app deploy -n hello-spring-controller \
-s hello-spring-controller-ent \
-g azure-asa-uswest \
--artifact-path ./target/hello-spring-controller-0.0.8-RELEASE.jar \
--build-env BP_JVM_VERSION=17 \
--verbose &

Leave a comment