Question: Need to create these scripts for my ec2 instance. Instance ID: i-01feb1198cc2757c0 Public DNS (IPv4): ec2-3-81-211-127.compute-1.amazonaws.com IPv4 Public IP: 3.81.211.127 1. Make a script that

Need to create these scripts for my ec2 instance.

Instance ID:

i-01feb1198cc2757c0

Public DNS (IPv4):

ec2-3-81-211-127.compute-1.amazonaws.com

IPv4 Public IP:

3.81.211.127

1. Make a script that iterates through the IPs that accessed your wordpress site,

and then uses whois to determine what country that IP is from. Then output a

file located in your home directory that is a list of all the unique countries that

visited your wordpress site.

2. Make a script that creates a file located in your home directory with a unique

list of users who tried to login to your instance in the /var/log/secure

3. Make a script that creates a file located in your home directory with a unique

list of IPs who tried to login to your instance in the /var/log/secure

4. Make a script that updates your instance

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!