8. S3: Simple storage service
Boto code:
# Connect to a bucket
s3conn = boto.s3.connection.S3Connection( KEY_ID, KEY_SECRET )
s3bucket = s3conn.get_bucket(“meetup_python_cloud”)
# Set a key
s3key = boto.s3.key.Key(bucketconn)
s3key.key = “data/file.txt”
s3key.set_contents_from_string(“Some info”,policy=policy)
# Get a key
s3key.key = “data/anotherfile.txt”
value=s3key.get_contents_as_string()
# Delete a key
S3bucket.delete_key(s3key)
@chteijon
@MindtheByte
8
9. How does all this sum up?
Amazon S3
@chteijon
@MindtheByte
9
10. How does all this sum up?
AMI
Amazon S3
@chteijon
@MindtheByte
10
11. How does all this sum up?
Amazon S3
@chteijon
@MindtheByte
11
12. How does all this sum up?
Amazon S3
@chteijon
@MindtheByte
12
13. How does all this sum up?
Amazon S3
@chteijon
@MindtheByte
13
14. Common alternatives to distribute jobs
Amazon RDS :
Relational Dabatase Service
Amazon SQS:
Simple Queue Service
@chteijon
@MindtheByte
14
15. Key advantatges of the cloud
●
(almost) Infinite computational power
available to speed up your computations
●
Pay-as-you-go, no need of initial
investment or hardware maintenance costs.
@chteijon
@MindtheByte
15