`aws s3 cp` vs `aws s3 sync` behavior and cost
I have a static site that I am deploying to s3 and then using CloudFront to distribute to users. After I build the site, I want to push the new build to s3 . I found 2 approaches to do that. aws s3 cp --recursive ./public/ s3://bucket-name --cache-control 'public, max-age=300, s-maxage=31536000' aws s3 sync --delete ./public/ s3://bucket-name --cache-control