AWS: Setup LAMP environment on Amazon Linux2
So, you have created a server instance in AWS using their Amazon Linux 2 options. This OS feels like using centOS or fedora, but there are a few differences; you have to do things a little differently in some cases.