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
    
    • 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
    
  • 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
  • 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
  • Now after the configuration is successful, Navigate to the connectors section in AWS Server Migration Service
  • 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.

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

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

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%