A backup you have to babysit is not a backup. The whole point is that it runs without you, at 2 am, while you sleep, which means it cannot stop to ask anyone for a password. Day 10 was about making that automation genuinely hands-off and then giving a server an address that does not move.
One Linux task, one AWS task. Write a Bash script that zips a directory and ships it to a backup server over SSH, then associate an Elastic IP with an EC2 instance so its public address survives a reboot. The tasks come from the KodeKloud Engineer platform.
The backup script: zip, ship, and never type a password
The script itself is short. Zip a directory, then copy the archive to a remote backup server with scp:
#!/bin/bash






