converting for aws