Auto scaling on AWS Auto scaling on AWS is a feature that allows users to…