Down the rabbithole

ekov @ pm.me
Back to cheat sheets

AWS

You’ll need awscli for these.

Deploy a static site to s3 *

aws s3 sync ./dist s3://my-repo --delete

Invalidate CloudFront cache *

aws cloudfront create-invalidation --distribution-id myDistributionId --paths '/*'