How do you check if Apache is installed?

“To check if Apache is installed, run systemctl status httpd (or apache2).

what does 'git clone' command do?

git clone copies a remote repository to your local machine, including all files and version history.

What happens when you create an AMI from an EC2 instance?

When I create an AMI from an EC2 instance, AWS takes snapshots of all attached EBS volumes and stores system configuration, metadata, and block device mappings. These snapshots form the AMI, which can then be used to launch identical EC2 instances.

Why do we copy AMI to another region?

We copy an AMI to another region for disaster recovery, high availability, compliance, and to ensure we can launch EC2 instances even if the original region becomes unavailable.

Do we need to pay for AMI snapshots created by our own?

Creating AMIs is free, but you must pay for the EBS snapshots stored behind the AMIs.