October 9, 2018 Mayank Baweja

Pricing information

100 credits

Duration

8 Hours

Audience

Application developers

DevOps engineer

Technologies

Web App for Containers

Azure Container Registry

Docker

Cosmos DB

Azure Functions

Logic App

Visual Studio Code

VSTS

Jenkins VM

OSS PaaS And DevOps  – 8 HRS Hands-on Workshop

This workshop is designed to help you gain a better understanding of how to integrate and deploy complex open-source software (OSS) workloads into Azure Platform-as-a-Service (PaaS). You will migrate an existing MERN (MongoDB, Express.js, React.js, Node.js) stack application from a hosted environment into Azure PaaS services, and fully embrace modern DevOps tools.

Agenda

2 H

Run starter application

Connect to your Lab VM
Grant permissions to Docker
Integrate GitHub into VS Code
Clone the starter application
Launch the starter application

2 H

Migrate the database to Cosmos DB

Provision Cosmos DB using the MongoDB API
Update database connection string
Pre-create and scale collections
Import data to the API for MongoDB using mongo import
Install Azure Cosmos DB extension for VS Code
Decrease collection throughput

2 H

Containerize the app

Create an Azure Container Registry
Install Docker extension in VS Code
Create Docker image and run the app
Run the containerized App
Push image to Azure Container Registry

1 H

Set up Web App for Containers

Provision Web App for Containers
Navigate to the deployed app

3 H

Configure CI/CD pipeline

Prepare GitHub account for service integrations
Open connection to Jenkins
Configure Continuous Integration with Jenkins
Trigger CI build
Install Docker on the Jenkins VM
Add an Azure service principal for Jenkins
Add continuous delivery to Jenkins build job
Trigger CI-CD pipeline

2 H

Create Azure Function for order processing

Provision a Function App
Configure storage queues
Create Cosmos DB trigger function
Create Queue function

1 H

Create Logic App for sending SMS notifications

Create Free Twilio account
Create Logic App