Skip to main content

libaws is a program can implement amason web service ,such as download files from bucket and upload multipart files to bucket etc, which support resume from break point and create instance vpc subet etc from config file

Project description

# genetalk_upload

awskit --help information

1.upload file to bucket
awskit -s3 -upload xxxxx
useage:
-file FILE_PATH, --file FILE_PATH [Required]
-bucket BUCKET, --bucket BUCKET
dest bucket to upload [Required]
-part PART_NUM, --part PART_NUM
part num of file [DEFAULT 6]
-key KEY, --key KEY dest bucket key
-ignore-bucket-file, --ignore-bucket-file
when file exist in bucket ,ignore it or not [DEFAULT False]
-force-again-upload, --force-again-upload
need to upload again when upload is exists [DEFAULT False]



2.awskit -s3 -download xxxxx
download bucket file to local computer
useage:
-bucket BUCKET, --bucket BUCKET
dest bucket to download file [Required]
-key KEY, --key KEY bucket file to download [Required]
-path PATH, --path PATH
file download path to save [Default .]
-filename FILENAME, --filename FILENAME
download file name [DEFAULT False]
-force-again-download, --force-again-download
need to download again when download is exists[DEFAULT False]


3. awskit -s3 -bucket xxxx
operation on bucket
useage:

name BUCKET, --name BUCKET
dest bucket to operate
-put-bucket-policy, --put-bucket-policy
set bucket policy
-json BUCKET_POLICY_JSON, --json BUCKET_POLICY_JSON
bucket policy json file

4. awskit -ec2
create instance vpc subnet route security from config
a):
create instance
awskit -ec2 --instance -c xxxxxxx (create and lanuch instance from config)
create vpc
awskit -ec2 --vpc -c xxxxxx (create vpc from config)
create subnet
awskit -ec2 --subnet -c (create subnet from config)
create route:
awskit -ec2 --route -c (create route from config)
create security group
awskit -ec2 -security -c (create security group from config)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

libaws-1.0.4.tar.gz (48.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page