[MSPVN - Azure Workshop] Day 1 - Azure Web App with WordPress deployment

Preview:

Citation preview

Azure for

MSPVNWorkshop

First day: June 10th 2017

Duc (Henry)

Email me: Duc.LaiTrunMinh@studentpartner.com

Websites: https://minhduclaitrung.wordpress.com

Leader of External Communication Management

@MSPVN - HCM

Agenda

• First day – June 10th 2017

• Second day – June 17th 2017

Agenda

• First day – June 10th 2017

o Microsoft Azure in brief

o Azure Web App in brief

o Activate Azure for Students account

o Deploy WordPress in 1-line

o Create Landing-page on WordPress

Install Theme online and from file

Change Password of WP account in “creative” way

Agenda

• Second day – June 18th 2017

o Scale in Azure Web App

o Compare Azure Web App and Azure Virtual Machine

o Create E-Commerce Website on WordPress – Azure

Microsoft

Azure

in brief

First day: June 10th 2017

What is Microsoft Azure?

What is Microsoft Azure?

• Definition: Cloud computing service

• Purpose: Building, testing, deploying, and managing applications and

services.

• Location: Microsoft’s Datacenters (Americas, Europe, Asia Pacific, Africa)

Why Microsoft Azure?

Why not Microsoft Azure?

Azure

Web App

in brief

First day: June 10th 2017

Azure App Service Family

Web AppsWeb apps that scale with

your business

Mobile AppsBuild mobile apps for any

device

Logic AppsAutomate business

processes across SaaS and on-premises

API AppsBuild and consume APIs in

the cloud

Activate

Azure for

Student

First day: June 10th 2017

Step-by-step

• Sign up MS account

• Add MS Imagine Key to activate student account

• Link:

o https://imagine.microsoft.com/en-us/Catalog/Product/99

o https://azure.microsoft.com/en-us/pricing/member-offers/imagine/

• Fill the form.

DEMO

Activate Azure for Student

Deploy

WordPress

in 1-line

First day: June 10th 2017

Create Azure Web App – FREE F1

• Sign in: https://portal.azure.com

• New >>> Web + Mobile >>> Web App

• Fill the form

o App name: Web URL

o Subscription: …

o Resource group: …

o App Service Plan: F1

• Pin to Start >>> Create

Deploying WordPress

• https://<App_Name>.scm.azurewebsites.net

• Debug Console >>> CMD

• Paste the script and execute it (http://bit.ly/MSPAzureQuick)

cd "D:\home\site\wwwroot" &

curl "https://lovehackclub.azurewebsites.net/Resources/WP/SetupWP.txt" >

SetupWP.bat &

SetupWP.bat

Post Setup for Azure Web App

• Go back to: https://portal.azure.com

• Search: Application Settings:

o PHP version: 5.6

o Virtual applications and directories: / >>> site\wwwroot\wordpress

• Search: MySQL in-app

o Turn ON >> Save

• Go to: https://<App_name>.azurewebsites.net – Do nothing

• Go to: https://<App_name>.scm.azurewebsites.net/phpMyAdmin

• Create Database and name it: wordpress

DEMO

Deploying WordPress in 1-line

Create

Single Page

Web

First day: June 10th 2017

Create Single Page App

• Go to: https://<App_name>.azurewebsites.net/wp-admin >> Login

• Appearance >>> Themes >>> Add New

• Search: One Page Express

• Install >>> Activate >>> Install Plugin

THANK YOU

Email me: Duc.LaiTrunMinh@studentpartner.com

Websites: https://minhduclaitrung.wordpress.com

Finish your first Web App

Research about Why and Why not using Azure

Writing your first blog about Azure

(What you learn, How you feel, Tutorial for this)

Recommended