-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathawscli
More file actions
28 lines (20 loc) · 761 Bytes
/
awscli
File metadata and controls
28 lines (20 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# install s3cmd
sudo apt-get install s3cmd
s3cmd --version
s3cmd --configure
# list aws s3 bucket
s3cmd ls
# list s3 bucket objects
s3cmd ls s3://night-dev-zergs3-9hxv27xdysnv
# upload production zerg.js to bucket
s3cmd put /home/oak/git/zerg/resources/public/js/compiled/zerg.js s3://night-dev-zergs3-9hxv27xdysnv
s3cmd put /home/oak/git/zerg/resources/public/css/style.css s3://night-dev-zergs3-9hxv27xdysnv -m "text/css"
# resources zerg
v /home/oak/git/zerg/resources/public/index.html
v /home/oak/git/zerg/resources/public/css/style.css
v /home/oak/git/zerg/resources/public/js/compiled/zerg.js
# list cloudfront dist point
s3cmd cflist
# cf resources
https://d3fk9rmuefewkk.cloudfront.net/zerg.js
https://d3fk9rmuefewkk.cloudfront.net/style.css