An open API service indexing awesome lists of open source software.

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.

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