Zero Downtime Deploy python script
Steps to run the script.
- Install the dependencies via pip3 install -r requirements.txt
- Edit task.py file to enter region, access_id and access_key.
This is for test purpose only. For production we shall use either environment variables or file paths for accessing these credentials
- Run the task as python3 task.py <old_ami> <new_ami>
- Use -v for info logging