| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Spring Boot is the No 1 Java Framework to develop REST API and Microservices. Azure is the One of the Top Cloud Service Providers today.
How about learning Azure by deploying Spring Applications to Cloud using Azure Web Apps and Azure App Service?
In this course, we deploy a variety of Spring Boot Applications to the Cloud:
This course would be a perfect first step as an introduction to Azure and the Cloud.
You will learn about automating deployments with Azure and creating a continuous delivery pipeline with Azure DevOps. You will learn how to Auto Scale applications based on load as well as deploy multiple instances behind a load balancer using Azure App Service.
You will be using a number of Azure Services - Azure App Service, Azure Web Apps, Azure DevOps, Azure Database for MySQL Services, Resource Groups, Azure App Service Plans and Azure Subscriptions.
You will be using deploying a variety of Java Spring Boot projects to Azure (Azure). These projects are created with React (Frontend Framework), Spring Boot (REST API Framework), Spring (Dependency Management), Spring Security (Authentication and Authorization - Basic and JWT), BootStrap (Styling Pages), Maven (dependencies management), Node (npm), Visual Studio Code (TypeScript IDE), Eclipse (Java IDE) and Tomcat Embedded Web Server. We will help you set up each one of these.
graph architecture {
node[style=filled,color="#59C8DE"]
//node [style=filled,color="#D14D28", fontcolor=white];
rankdir = TB
node[shape=record]
ManagementGroup -- Subscription1
ManagementGroup -- Subscription2
Subscription1 -- ResourceGroup1
Subscription1 -- ResourceGroup2
Subscription2 -- ResourceGroup3
Subscription2 -- ResourceGroup4
ResourceGroup1 -- WebAppRestApi
ResourceGroup1 -- WebAppFrontEnd
ResourceGroup2 -- Database
ResourceGroup3 -- Resource1
ResourceGroup4 -- Resource4
ResourceGroup4 -- Resource2
ResourceGroup4 -- Resource3
ManagementGroup[label=<Management Group>]
Subscription1[label=<Subscription - Dev>]
Subscription2[label=<Subscription - QA>]
ResourceGroup1,ResourceGroup2,ResourceGroup3,ResourceGroup4[label=<Resource Group>]
WebAppRestApi[label=<Spring Boot REST API>]
WebAppFrontEnd[label=<React Front End App>]
Database[label=<MySQL Database>]
Resource1,Resource2,Resource3,Resource4[label=<...>]
}
az --version az login mvn azure-webapp:config mvn azure-webapp:deploy az webapp log tail --name hello-world-rest-api-in28minutes --resource-group hello-world-rest-api-rg docker run --detach --env MYSQL_ROOT_PASSWORD=dummypassword --env MYSQL_USER=todos-user --env MYSQL_PASSWORD=dummytodos --env MYSQL_DATABASE=todos --name mysql --publish 3306:3306 mysql:5.7 az webapp restart --name todo-web-application-mysql-in28minutes --resource-group todo-web-application-mysql-rg az webapp log tail --name todo-web-application-mysql-in28minute--resource-group todo-web-application-mysql-rg #Cloud Shell mysql --host todo-web-application-in28minutes.mysql.database.azure.com --user todosuser@todo-web-application-in28minutes -p #MySQLSh mysqlsh todo-web-application-in28minutes.mysql.database.azure.com --user todosuser@todo-web-application-in28minutes \sql use todos; select * from todo; mysqlsh todo-web-application-in28minutes-command-line.mysql.database.azure.com --user todosuser@todo-web-application-in28minutes-command-line -p az extension add --name db-up az mysql up -g in28minutes-database -s todo-web-application-in28minutes-command-line -d todos -u todosuser -p YOUR@PASSWORD1 # Environment Variables RDS_HOSTNAME - todo-web-application-in28minutes.mysql.database.azure.com todo-web-application-in28minutes-command-line.mysql.database.azure.com RDS_PORT - 3306 RDS_DB_NAME - todos RDS_USERNAME - todosuser@todo-web-application-in28minutes todosuser@todo-web-application-in28minutes-command-line RDS_PASSWORD - az webapp up --name frontend-full-stack-in28minutes --plan ServicePlan763a680f-840a-4de0 --resource-group rest-api-full-stack-rg --location westeurope az webapp up --name frontend-full-stack-in28minutes --plan ServicePlan763a680f-840a-4de0 --resource-group rest-api-full-stack-front-end-rg --location westeurope watch -n 0.1 curl https://hello-world-rest-api-v2-in28minutes.azurewebsites.net/hello-world-bean-list npm install npm start npm run build az webapp log tail --name todo-web-application-mysql-in28minutes --resource-group todo-web-application-mysql-rg az group create --name container-resource-group --location westeurope az appservice plan create --name container-service-plan --resource-group container-resource-group --sku P1v2 --is-linux az webapp create --resource-group container-resource-group --plan container-service-plan --name todo-rest-api-h2-container --deployment-container-image-name in28min/todo-rest-api-h2:1.0.0.RELEASE docker run --detach --env MYSQL_ROOT_PASSWORD=dummypassword --env MYSQL_USER=todos-user --env MYSQL_PASSWORD=dummytodos --env MYSQL_DATABASE=todos --name mysql --publish 3306:3306 mysql:5.7 docker stop 4ff5238b9464ed7050b89ef137e1b86bbf27c21aa74d5b62090f8fc3e86b4d17 docker rm 4ff5238b9464ed7050b89ef137e1b86bbf27c21aa74d5b62090f8fc3e86b4d17 docker run --detach --env MYSQL_ROOT_PASSWORD=dummypassword --env MYSQL_USER=todos-user --env MYSQL_PASSWORD=dummytodos --env MYSQL_DATABASE=todos --name mysql --publish 3306:3306 mysql:5.7 docker run --name todos-api --publish 5000:5000 --link mysql:mysql in28min/todo-rest-api-mysql:1.0.0.RELEASE docker-compose --version docker container ls docker container stop f25f59ebec84 docker container rm f25f59ebec84 docker-compose up az group delete --name hello-world-rest-api-rg az webapp restart -name hello-world-rest-api-in28minutes --resource-group hello-world-rest-api-rg az provider list az group delete --name container-resource-group --yes az group delete --name hello-world-rest-api-rg cd /in28Minutes/git/hello-world-rest-api-azure-pipelines git init git add * git status git commit -m "first commit" git remote add origin https://github.com/in28minutes/hello-world-rest-api-azure-pipelines.git git push -u origin master git status git add * git commit -m "V10 change" git push -u origin master password - password@123 PRODUCTION - v1 DATABASE_URL -> PROD_URL Deployment Slot Setting STAGE - V2 DATABASE_URL -> STAGE_URL Deployment Slot Setting NEW_SETTING
az webapp show --name todo-web-application-h2-2111 --resource-group in28minutes-02 az webapp config show --name todo-web-application-h2-2111 --resource-group in28minutes-02 az webapp deployment slot list --name todo-web-application-h2-2111 --resource-group in28minutes-02 az webapp list az webapp list-runtimes
in28Minutes is creating amazing solutions for you to learn Spring Boot, Full Stack and the Cloud - Docker, Kubernetes, AWS, React, Angular etc. - Check out all our courses here
| Back | FazBrowse Home | New Git URL |