https://github.com/yfe404/webotron
Webotron is a script that sync a local directory to an s3 bucket, and optionally configure Route 53 and Cloudfront.
https://github.com/yfe404/webotron
amazon-s3 amazon-web-services aws aws-s3 devops python
Last synced: 7 months ago
JSON representation
Webotron is a script that sync a local directory to an s3 bucket, and optionally configure Route 53 and Cloudfront.
- Host: GitHub
- URL: https://github.com/yfe404/webotron
- Owner: yfe404
- Created: 2018-10-06T16:30:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-30T09:08:11.000Z (over 7 years ago)
- Last Synced: 2025-03-24T04:11:18.404Z (about 1 year ago)
- Topics: amazon-s3, amazon-web-services, aws, aws-s3, devops, python
- Language: Python
- Size: 19.5 KB
- Stars: 2
- Watchers: 0
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: readme.org
Awesome Lists containing this project
README
* Webotron
#+BEGIN_QUOTE
Webotron is a script that sync a local directory to an s3 bucket, and optionally configure Route 53 and Cloudfront.
#+END_QUOTE
** Features
Webotron currently has the following features:
- List buckets
- List contents of a bucket
- Create and setup bucket
- Sync a local directory with a bucket
- Set AWS profile with --profile=
** Usage
#+BEGIN_SRC sh
Usage: webotron.py [OPTIONS] COMMAND [ARGS]...
Webotron deploys websites to AWS.
Options:
--profile TEXT Use a given AWS profile.
--help Show this message and exit.
Commands:
list-bucket-objects List objects in a s3 bucket.
list-buckets List all s3 buckets.
setup-bucket Create and configure s3 bucket.
sync Sync contents of PATHNAME to BUCKET.
#+END_SRC
*** Examples
- List all my S3 buckets with profile admin:
#+BEGIN_SRC sh
python webotron.py --profile=admin list-buckets
#+END_SRC