Restore the AWS storage configuration code