<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def upload_to_s3(file_path, config):
 """ Upload html file to S3 """

    logging.info("Uploading file to S3 bucket: %s", config['s3_bucket_name'])
    s3 = boto3.resource('s3')
    s3_filename = config['s3_bucket_path'] + config['rendered_filename']
    s3.Bucket(config['s3_bucket_name']).upload_file(
        file_path, s3_filename, ExtraArgs={
            'ContentType': 'text/html', 'ACL': 'public-read'})