I host my own WordPress in AWS EC2 and every time before I install new plugin or tweak settings that I’m unsure of, I have a habit to make an AMI image.
This is in case I messed up or I disliked how the plugins behave and that I have an image that I can rollback to.
Is it very easy to create and image. Just go to EC2 and choose the instance that you wish to create an AMI image > Image and templates > Create image
Give it a name, I personally like to put timestamp suffix so that I can sort it by name and also give some description to it.
Click [Create image] and wait for it to complete.