Ota overview

please help with following for aws s3 ota with mqtt having freertos:

  1. ota demo code flow. referring “esp-aws-iot/examples/ota/ota_mqtt at release/beta · espressif/esp-aws-iot · GitHub
  2. ota bootloader code availability
  3. what libraries are required for ota
  4. what are ram and flash usage for ota
  5. when programming esp, if 2 partitions are created say ota0 & ota1, are both partitions erased while programming from esp idf eclipse

Have you seen the documentation here: FreeRTOS Over-the-Air Updates - FreeRTOS