AWS outage caused by a DNS automated systems error may result in a $581 million loss for Amazon as the cloud and AI company make changes to prevent similar failures.