asked on
Migrating VM to AWS EC2
Hi
If I want to migrate two VMs running on VMware with RHEL 7.9 and Windows server 2019 and oracle 19c server to AWS EC2, do you normally specify the OS with EC2 configuration and after creating the machine you download and install oracle software and then copy the data files?
If I used AWS server migration, will it migrate the whole VM and I end up with exact replica of the on-premise VM?
Can you also create an AMI (VM image) from source machine and use that when building the EC2 and to get exact replica?
ASKER
If that is the case, why every article or training vide shows you download oracle software on EC2 and reinstall/configure and then try moving data using datapump or RMAN or DNS.
This takes a lot of time compared to a VM clone if you can do that via clone similar to VMware import/export and Vmotion.
Does Application Migration Service migrates a windows/Linux machine at the system image level or it does a file copy from one machine to another (like an SCP source target)? An
Do you have a link or vide that shows how you can build or clone an EC2 machine based on on-remise VM or how to use Application Server migration service to move a VM to cloud?
There are two different approaches...
Let's assume your Oracle is installed in a VM on-premises.
Approach 1) Migrate the VM as is. Migrates the installed applications as well, including Oracle. You need to think about hte Oracle license here. That might be a possible reason for doing Approach 2.
Approach 2) Migrate the VM, but migrate the database installation to RDS. This requires migrating the database files to Amazon RDS. You use the Amazon RDS license, or yours if it covers use in the cloud.
ASKER
Dont worry about licenses for this question.
With RDS migration, I dont think you replicate anything. OS and Database Software is provide by AWS.
I only need to move the database files from source to target using data pump and S3 or DMS.
For RDS Custom, customer needs to provide the media for oracle though (CEV).
I know with RDS there is no VM migration because it is AWS managed service. RDS custom though requires a CEV (customer provides media) so I think that is onl
Are these the two approaches you meant although both create an AMI that is used to create EC2?
Using VM image to create AMI for EC2
https://www.youtube.com/watch?v=buzusNljpy4
Using SMS to migrate VM - Replication
https://www.youtube.com/watch?v=_SpRpC2Ez9c
ASKER
Hi
I am going to watch the full video it is about 1 1/2 hours.
Is AMS same tool as Service Migration tool or not? Are you sure SMS is no longer available in AWS?
It seems to be AMS more complex than SMS or using the VM export (vmdk) method to create an AMI and build an EC2.
From what have seen the other methods don't take that long.
The SMS is still available till March 2023. But as far as I can see it is no longer available from AWS console. At least I could not find it.
AWS docs: https://docs.aws.amazon.com/server-migration-service/latest/userguide/server-migration.html
So it looks like it can be managed now only via AWS CLI/API.
Be aware that Server Migration Service is no longer available on AWS. It was replaced by Application Migration Service. Of course it can be used to migrate servers.
https://aws.amazon.com/application-migration-service/