This assignment is to create an AWS CDN for your static content website which you have to host on S3 bucket with domain name (https://devopschallenge.postfix.in)
Case A. If the user opens (https://devopschallenge.postfix.in) it should be seen "Hello, CDN origin is working fine"
A.1 Create SSL in AWS(Certificate Manager) for the domain name with DNS verification and provide us CNAME record for validation
A.2 This behavior object content stays in an Edge Cache at for at least 48 hours
Case B. If user opens (https://devopschallenge.postfix.in/devops-folder/) it should fetch from other S3 bucket and user should see "Hello, CDN 2 origin is working fine"
B.1 This behavior header should base caching on HOST and CloudFront-Viewer-Country
We want to gather some basic statistics for our security team. They want to know the top 8 IP addresses that hit our web servers.
Your task will be the following: Implement a script (use any language you want) to get the top 8 IP addresses out of an existing log file Save your script with no file extension It has to be an executable file there is no need for using arguments The output format will be the following:(8 lines - top saw IP addresses by the number of hits):
<ip_address><number_of_hits>
A real example output would look like this:
$ count
92.6.41.236 22
186.248.72.9 19
81.243.137.36 18
217.118.78.16 15
213.118.39.51 15
93.146.139.64 14
80.116.15.0 14
186.213.159.176 11
Logfile: Click here