Azure Classroomnotes 09/Jul/2022

Scenario 1: Migrating one server to Azure

  • The steps which we follow to migrate one server or from other clouds is almost the same.
  • The supported operating systems are
    • Linux
    • Windows
      Preview
  • Source For migration: (Simulated)
    • I will be creating an ubuntu 20.04 LTS vm in (AWS/Azure/GCP/Vmware)
  • In the source we will be installing some sample application (Spring petclinic)
sudo apt update
sudo apt install openjdk-11-jdk -y
java -version
sudo mkdir /usr/share/spc
cd /usr/share/spc
sudo wget https://referenceapplicationskhaja.s3.us-west-2.amazonaws.com/spring-petclinic-2.4.2.jar
java -jar spring-petclinic-2.4.2.jar
  • Now navigate to the publicip on port 8080
    Preview

Order of Migration

  • Consider the below architecture
    Preview
  • When we migrate, we follow the migration from least dependent server to the most dependent server
  • In the above case, we should be migrating in the following order
    1. database server
    2. application/middle ware
    3. webserver

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

About continuous learner

devops & cloud enthusiastic learner