AWS-Junk
install aws cli
- download and isntall aws-cli interface
- configure access keys
aws configure --profile NAME
Find aws s3 bucket
- some S3 bucket use as website.
1 | dig flaws.cloud |
list bucket public or not
1 | aws s3 ls s3://flaws.cloud/ --no-sign-request --region us-west-2 |
sync bucket
1 | aws s3 sync s3://level3-9afd3927f195e10225021a578e6f78df.flaws.cloud/ . --no-sign-request --region us-west-2 |
AWS Get profile
1 | aws s3 --profile kth sts get-caller-identity |
AWS mount
1 | aws --profile YOUR_ACCOUNT ec2 create-volume --availability-zone us-west-2a --region us-west-2 --snapshot-id snap-0b49342abd1bdcb89 |