set up saving content to aws.