An idiot-proof way to make a public AWS based service.
-
Install it.
pip install simpleaws
-
Copy settings_template.py to settings.py and enter your keys.
-
Use your Amazon Web Services console to enable S3, CloudFront and Glacier has needed.
-
Run test_simpleaws.py.
python test_simplaws.py
Connect to S3!
simpleaws.set_keys(settings.AWS_ACCESS_KEY, settings.AWS_SECRET_ACCESS_KEY)
simpleaws.connect()
Create a bucket!
simpleaws.create_bucket(bucketname)
Create a user!
simpleaws.create_user(username)
Move a bucket to CloudFront!
simpleaws.move_bucket_to_cloudfront(bucketname)
Backup a bucket!
simpleaws.backup_bucket(bucketname)
Vanquish your foes!
simpleaws.vanquish_foes(vanquish)
Just kidding.