Automate day to day DevOps and SysAdmin Related Tasks with Bash, Python and AWS CLI
- first create aws iam user with s3 full access permission
- create aws access and secret access for s3 user
- deploy awscli in desire linux instance
crontab -e
- @daily /home/ubuntu/backup_folder.sh
- @weekly /home/ubuntu/backup_folder.sh
- @monthly /home/ubuntu/backup_folder.sh
- first create aws iam user with s3 full access permission
- create aws access and secret access for s3 user
- deploy awscli in desire EC2 instance
- @hourly /home/ubuntu/shellscripts/mongodb_backup/hourly/mongodb_backup.sh
- @daily /home/ubuntu/shellscripts/mongodb_backup/daily/mongodb_backup.sh
- @weekly /home/ubuntu/shellscripts/mongodb_backup/weekly/mongodb_backup.sh
- @monthly /home/ubuntu/shellscripts/mongodb_backup/monthly/mongodb_backup.sh
-
- 23 * * * /home/ubuntu/shellscripts/mongodb_backup/mongodb_daily_remove.sh