Automation project for Upgrad Assignment-1
This shell script contains the automation for the following steps:
- Updates the apt repository and installs apache2
- Checks if apache2 is running and if not, it starts the service.
- Checks if apache2 is enabled and if not, it enables it.
- Compresses the log files generated by apache2
- Uploads the compressed file to the s3 bucket