I currently have a t2.medium EC2 instance running on AWS. I realized that I need to be able to use systemctl in my instance to correctly set up certbot. systemctl is only available on Amazon Linux 2 (https://aws.amazon.com/amazon-linux-2/)
The instance I currently have is hosting a web server, and contains credentials that I want to transfer to the new instance. The instance is also connected to other AWS services(S3, dynamoDB) via Amazon SDK. What's the best way to create this new instance and transfer all of my configuration files over?