AWS Classroom Series – 14/Feb/2021

AWS Server Migration Contd..

  • Lets ensure both the vms are configured to login with username and password
    • open the file /etc/ssh/sshd_config and ensure PasswordAuthentication is set to yes and restart sshd service
  • Lets install
    • apache on centos vm
    sudo yum install httpd -y
    sudo systemctl enable httpd.service
    sudo systemctl start httpd.service
    sudo systemctl status httpd.service
    
    Preview Preview
    • tomcat on ubuntu vm
    sudo apt update
    sudo apt install openjdk-8-jdk -y
     sudo apt install tomcat9 tomcat9-admin tomcat9-common tomcat9-docs tomcat9-examples tomcat9-user -y
    
    Preview
  • Now that we have some vms to be migrated to AWS, Lets start using the AWS Server Migration Service to perform lift and shift (re-host) migration
  • AWS Server Migration Service (SMS) automates the process of migration from your on-premise VMWare vSphere, Microsoft HyperV/SCVMM and Azure Virtual Machines to AWS
  • Limitations of SMS
    • 50 concurrent migrations of VMs per account by default (Customers can ask to increase the limit with AWS Support)
  • Refer Here for the requirements

Migration Process

  • Create an IAM user for Server Migration Refer Here
  • Now install the connector Refer Here
    • To Download the connector Refer Here
    • Unzip the connector and import the vm by selecting hyper-v manager and import vm Preview Preview
  • Now download and install ps script on the hyperv host Refer Here
  • Now navigate to the ipaddress of appliance and follow the steps mentioned over here Preview
  • Now after the configuration is successful, Navigate to the connectors section in AWS Server Migration Service Preview Preview Preview Preview Preview Preview Preview Preview Preview
  • AWS will replicate the vms from hyper-v and creates the AMI (Amazon Machine Image) in the destination region once the replication job is successful.

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner