Thanks for sharing the screenshot.
It seems that the bitnami installation is lost since
/opt/bitnami does not exist. My suggestion would be to launch a new instance or install LAMP stack installer in that server again. Note that lamp 7.1 is deprecated, but I could provide you with an old installer if you need this version.
We would like to know more about how it was done to figure out what happened. What steps did you follow to edit your server resources? Probably it is looking for an archived image.