upload dynamic foundation to S3