提示&诀窍

AWS Cli Commands to remember

Just some commands for me to remember so I can look it up easily.

Upload Certificate:
aws iam upload-server-certificate --server-certificate-name ulyaoth --certificate-body file://2_ulyaoth.crt --private-key file://3_ulyaoth.key --certificate-chain file://1_Intermediate.crt --path /cloudfront/

Delete Certificate:
aws iam delete-server-certificate --server-certificate-name ulyaoth

Sync S3: (add –dryrun for test)
aws s3 sync --delete .\Repository\RPMs\ s3://repos.ulyaoth.net/ --exclude "*System Volume Information/*"

Cloudfront Batch Invalidation: (invalidate-ulyaoth-repository-fedora.json)
aws cloudfront create-invalidation --invalidation-batch file://invalidate-ulyaoth-repository-fedora.json --distribution-id XXXXXXX

Related posts

How to make Nginx log in JSON format

Sjir Bagmeijer

MacBook Air (mid 2011) bootcamp Windows 8.1 enterprise wifi fix

Sjir Bagmeijer

如何从后院天文台获得最佳观星体验

Melyria Hamasaki

本网站使用缓存提升你的体验。我们假设你同意该做法,但是如果你不想用可以选择不用。 接受 浏览更多