Questions tagged [boto]

boto is an open-source Python Interface to Amazon Web Services

Boto is a Python package that provides an interface to Amazon Web Services. The code is hosted on github.com (https://github.com/boto/boto) and the documentation can be found at http://docs.pythonboto.org.

Boto supports the following services:

  • Compute
    • Amazon Elastic Compute Cloud (EC2)
    • Amazon Elastic Map Reduce (EMR)
    • AutoScaling
    • Elastic Load Balancing (ELB)
  • Content Delivery
    • Amazon CloudFront
  • Database
    • Amazon Relational Data Service (RDS)
    • Amazon DynamoDB
    • Amazon SimpleDB
  • Deployment and Management
    • AWS Identity and Access Management (IAM)
    • Amazon CloudWatch
    • AWS Elastic Beanstalk
    • AWS CloudFormation
  • Application Services
    • Amazon CloudSearch
    • Amazon Simple Workflow Service (SWF)
    • Amazon Simple Queue Service (SQS)
    • Amazon Simple Notification Server (SNS)
    • Amazon Simple Email Service (SES)
  • Networking
    • Amazon Route53
    • Amazon Virtual Private Cloud (VPC)
  • Payments and Billing
    • Amazon Flexible Payment Service (FPS)
  • Storage
    • Amazon Simple Storage Service (S3)
    • Amazon Glacier
    • Amazon Elastic Block Store (EBS)
    • Google Cloud Storage
  • Workforce
    • Amazon Mechanical Turk
  • Other
    • Marketplace Web Services
2362 questions
1
vote
2 answers

In dynamodb can you use "put" instead of "update_item"

I want to update an item in dynamodb using boto, and the way I do it, I need to get_item it first anyways, then I change the item and put it back, is there any difference, performance penalty or otherwise, to do it using update_item and not put.
Ali
  • 18,665
  • 21
  • 103
  • 138
1
vote
1 answer

Django media uploads to AS3

I'm trying to upload all the Django media files (uploaded from the admin panel) to Amazon S3. So settings file look something like this : INSTALLED_APPS =…
user1115538
1
vote
1 answer

Boto with py2exe

I am using Python 2.7, Boto 2.6, and py2exe to create a windows executable that interacts with Amazon's Dynamodb. The application compiles using py2exe but hangs indefinitely whenever interacting with any AWS. Here is my setup.py for py2exe from…
1
vote
0 answers

Can't Figure Out Ajax Image Uploads from Django Model to AWS S3

I am using AWS S3 for image storage for my userprofile images, and need to use AJAX to set the image URL in the database. I have django-storage / Boto setup correctly so that my media url is my S3 account so that is not the problem. I have tested…
bevinlorenzo
  • 486
  • 7
  • 18
1
vote
0 answers

Post a file to AWS from a credentialed client in Python

I am writing a client application to post a file to our S3 instance, but I am not getting any response and the file is not posting when using the code below. It works by hitting our server for credentials, the details are then used by the client to…
Jjensen.mike
  • 55
  • 1
  • 1
  • 5
1
vote
0 answers

boto.sns BotoServerError when publishing a notification

I am using Python 2.7 and boto library for Amazon SNS. I am trying to send a notification when I get an exception with detail of the exception. In some cases exception string contains strings like this "--->" or " \ ". I suspect these characters…
huzeyfe
  • 3,554
  • 6
  • 39
  • 49
1
vote
1 answer

select itemName() from amazon simpledb using boto

I'm trying to get itemName() from a simpleDB select query using boto, but doing select itemName() from domain where attribute = 'foo' limit 10 gives me an result set with 10 items but they are all empty. I've also tried select `itemName()` from…
Calin Don
  • 865
  • 2
  • 11
  • 19
1
vote
0 answers

django-storages s3boto backend uploaded file links are broken

I am using django-storages' s3boto backend as my default storage backend. If I upload to my publicly accessible bucket via AWS console, I have no problem accessing it. If I use my Django form to save a file, the file appears in the AWS console with…
onurmatik
  • 5,105
  • 7
  • 42
  • 67
1
vote
2 answers

Multi-threaded S3 download doesn't terminate

I'm using python boto and threading to download many files from S3 rapidly. I use this several times in my program and it works great. However, there is one time when it doesn't work. In that step, I try to download 3,000 files on a 32 core…
Max
  • 1,218
  • 1
  • 12
  • 20
1
vote
1 answer

tracking a message in an SQS queue

I have a request queue and a response queue. I would like to take the message out of the request queue and put it into the response queue. I would like to be able to identify that the same message that was taken out of the request queue has been put…
waigani
  • 3,570
  • 5
  • 46
  • 71
1
vote
1 answer

Limit is ignored in python boto aws simpleDB queries

The following query returns all the records instead of just 2. When I run the query in the AWS SimpleDB browser it works, however. Am I using boto wrong? conn = boto.connect_sdb() dom = conn.get_domain('taxplan') query = 'select Descr, PlanName,…
mcktimo
  • 1,440
  • 4
  • 19
  • 35
1
vote
2 answers

Boto DynamoDB error when using attributes_to_get in table.query

I've got a DynamoDB database set up with string hash key and range keys. This works: >>> x = table.query(hash_key='asdf@asdf.com', range_key_condition=BEGINS_WITH("20"), request_limit=5) >>> [i for i in x] [{u'x-entry-page': ... This doesn't,…
Harlan
  • 18,883
  • 8
  • 47
  • 56
1
vote
3 answers

Boto - how do I wait for a background process (e.g. mdadm) to finish before running a new command?

I'm scripting up my amazon deployment, and I haven't managed to automate a step in it. The step is between setting up RAID (via mdadm) and then installing my db (mongo) on the new mounted directory. This is because I have to wait for mdadm to finish…
Louis Sayers
  • 2,162
  • 3
  • 30
  • 53
1
vote
1 answer

Django-storages and boto and REST

Good evening, I am a bit confused about what Django-Storages is needed for? (http://django-storages.readthedocs.org/en/latest/index.html) Does it simply provide a layer to continue using basic Django storages code, but with Amazon S3? If so, is…
abisson
  • 4,365
  • 9
  • 46
  • 68
1
vote
0 answers

Is there a workaround for key.open_write not being implemented in boto?

I have a Python iterator backed by a DB query (a MongoDB cursor in this case). I'm trying to write its contents as a text file on S3, using boto. The simplest way to do this is to concatenate everything into a string and call…
nickbaum
  • 583
  • 4
  • 11
1 2 3
99
100