use http config for aws