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
1 answer

Amazon S3 URL redirect with trailing forward slash

I'm trying to do some URL redirects and the redirects are working properly, however if I try to redirect a URL that ends in a forward slash the redirect does not work. For example, I'd like to redirect http://mydomain/foo/ to /bar/ does not work.…
turtle
  • 7,533
  • 18
  • 68
  • 97
1
vote
1 answer

EMR Job Failing

Folks, The following python script is terminating with job state = FAILED and Last State Change: Access denied checking streaming input path: s3n://elasticmapreduce/samples/wordcount/input/ Code: import boto import boto.emr from boto.emr.step…
Cmag
  • 14,946
  • 25
  • 89
  • 140
1
vote
1 answer

Incorrect value from dynamodb table description and scan count

I'm having a problem with dynamodb. I'm attempting to verify the data contained within, but scan seems to be only returning a subset of the data, here is the code I'm using with the python boto bindings #!/usr/bin/python #Check the scanned length of…
1
vote
1 answer

Change shutdown behavior EC2 python instance using boto python

Can i use python boto to change the shutdown behavior of my instance: Basically, the same thing that we change from the the web interface: The code i use to run the instance is: # Create and run a instance based on our predefined image …
rajat
  • 3,415
  • 15
  • 56
  • 90
1
vote
1 answer

making query using asyncdynamo

I am using asyncdynamo library to interact with Amazon Dynamo DB. I can successfully get items using get_item() but don't know how to format a query for it. I have tried different patterns but got no luck. The Library itself doesn't have any…
1
vote
1 answer

Where is the documentation on boto's filters?

Throughout the boto ec2 documentation, anything that accepts a filter advises you to "Check the EC2 API guide for details." Googling around I see a few supported filters, but I can't find an exhaustive list. Help!
user2076663
  • 430
  • 6
  • 12
1
vote
1 answer

boto Count number of versions for a specific object

I have a s3 bucket with versions on and a key with a number of version. I was wondering if there's an efficient way of finding the number of versions of a particular key that are in the bucket. Here's the only way I know of version_count =…
Jeff
  • 6,932
  • 7
  • 42
  • 72
1
vote
2 answers

How to add a list-unsubscribe header in amazon SES send_email function in python?

This is my python code for amazon SES: import mimetypes from email import encoders from email.utils import COMMASPACE from email.mime.multipart import MIMEMultipart from email.mime.audio import MIMEAudio from email.mime.base import MIMEBase from…
Shashank
  • 462
  • 1
  • 8
  • 26
1
vote
1 answer

query DynamoDB, return result based on timestamp

Folks, I have a DynamoDB table where the HashKey is EmailAddress and RangeKey is a Date... For example: Hash Key Range Key test@test.com Thu, 03 Oct 2013 14:55:44 GMT foo@bar.com Thu, 03 Oct 2013 14:48:12 GMT Now, I would like…
Cmag
  • 14,946
  • 25
  • 89
  • 140
1
vote
1 answer

Heroku + S3 + Django: Static Files not Cached

Currently have a project deployed on Heroku with static files loaded from S3. I'm using boto/django-storage to manage my S3 content, but if I call the same view or load the same page repeatedly, all the images/static content load twice and is not…
zhuyxn
  • 6,671
  • 9
  • 38
  • 44
1
vote
0 answers

Python Boto S3Connection through proxy

I am building a web app that will automatically download some data from Amazon's S3 cloud, unzip and load the unzipped data into a PostGRE SQL database. I have all the scripts developed and working. However, I'd like to create a front-end where a…
TDrabas
  • 858
  • 6
  • 13
1
vote
1 answer

How to pass UniqueRequestToken to AWS mechanical turk using Boto

I'm trying to use the UniqueRequestToken parameter of create_hit as documented here. It doesn't show up as a parameter in boto.mturk.connection.MTurkConnection.create_hit. I tried to use it, guessing that it would be called unique_request_token, and…
bgschiller
  • 2,087
  • 1
  • 16
  • 30
1
vote
1 answer

What is causing this sporadic IntegrityError when calling get_thumbnail in sorl-thumbnail?

I am getting sporadic IntegrityError when running get_thumbnail. I have two API calls: /listing/create which creates a listing, and /listing/mystuff which retrieves details of all your listings. mystuff is run immediately after create completes, and…
awidgery
  • 1,896
  • 1
  • 22
  • 36
1
vote
2 answers

Is having a long running boto SNSConnection a bad idea?

I'm using boto and SNS to send push notifications to iOS. I've made a wrapper class, APNS, that keeps a long running boto.SNSConnection as a member variable. I'd like to have an instance of the APNS class as a global variable, so I can use celery to…
Dr. Acula
  • 2,392
  • 4
  • 17
  • 17
1
vote
2 answers

Django local version using remote static files despite local settings

I have managed to successfully deploy my Django app to AWS Elastic Beanstalk (using eb). I have followed the steps laid out here http://www.youtube.com/watch?v=YJoOnKiSYws and here…
greenafrican
  • 2,516
  • 5
  • 27
  • 38