Objective: AWS instances are assigned tags per instance. Need tags to be environment parameters for Apache2; thus, web application can retrieve environment parameter. Step 1: Configure tags in AWS EC2 instance Step 2: Setup IAM user and get access key id and secret access key Step 3: Access to SSH and append…