We want to migrate our existing Jenkins Server from AWS account A to Account B

Currently the Jenkins version is 2.332.1 and requirement is to move on LTS Version. The current setup has over 200 plug in and 700 jobs /pipelines. The existing server is built on AWS manually and the requirement is to move on IaaC. current jobs are not in DSL

The moment we provision the server through terraform , it has to create Ec2 with jenkins package and plug ins
the second ask is how to convert the existing work loads to DSL and move into the newlly created servers.

All this to be automated via Terraform if possible using JAAC,
Any help that would be greatly help to create this use case.