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

S3ResponseError: 403 Forbidden using boto

I have a script that copy files from one S3 account to another S3 account, It was working befoure!!!! That's for sure. Than I tried it today and it doesn't any more it gives me error S3ResponseError: 403 Forbidden. I'm 100% sure credentials are…
Vor
  • 33,215
  • 43
  • 135
  • 193
1
vote
1 answer

Map Reduce multiple outputs in python boto

I am trying to partition an input file using AWS EMR. I use a streaming step to read from stdin. I want to split this file into 2 files based on the values of specific fields from each line of stdin and store the resulting outputs into S3 to be used…
Zihs
  • 347
  • 2
  • 4
  • 17
1
vote
1 answer

Unable to install boto in a virtualenv

I was able to install boto==2.9.0 inside global site-packages, but when I try to install the same within a virtualenv, it fails with the following error. Running setup.py egg_info for package boto Traceback (most recent call last): File…
Zakiullah Khan
  • 1,445
  • 2
  • 15
  • 26
1
vote
2 answers

django storages with boto using pirvate ACL throws 404 on save

I am using django-storages with boto. Everything works fine if I let storages handle S3 file uploads in my model as public. However when I set the ACL to private on save/update I get this error message S3ResponseError: 404 Not Found
Abhishek Dujari
  • 2,343
  • 33
  • 43
1
vote
1 answer

Will I get charge for transfering files between S3 accounts using boto's bucket.copy_key() function?

I wrote a little script that copies files from bucket on one S3 account to the bucket in another S3 account. In this script I use bucket.copy_key() function to copy key from one bucket in another bucket. I tested it, it works fine, but the question…
Vor
  • 33,215
  • 43
  • 135
  • 193
1
vote
0 answers

copy files from s3 to glacier

The following code is working as expeceted and showing bucket name, file name. for e.g. I need to download all these files and transfer them to…
shantanuo
  • 31,689
  • 78
  • 245
  • 403
1
vote
1 answer

boto dynamodb: why am I getting "'Layer2' object has no attribute 'new_batch_write_list'"?

I am trying to batch-write a list of items into a database using code sample from here Here's a code excerpt from my script: import boto conn = boto.connect_dynamodb(...) main_table = conn.get_table(...) do_batch_write(items,conn,main_table) def…
I Z
  • 5,719
  • 19
  • 53
  • 100
1
vote
1 answer

Creating links to private S3 files which still requires authentication

I'm having trouble with S3 files. I have some python code using boto that uploads file to S3, and I want to write to a log file links to the files I created for future reference. I can't seem to find a way to generate a link that works to only…
OphirHz
  • 11
  • 1
1
vote
3 answers

Django, boto, S3 and easy_thumbnails not working in production environment

I'm using Django, django-storages with S3 (boto) in combination with easy-thumbnails. On my local machine, everything works as expected: if the thumbnail doesn't exists, it gets created and upload to S3 and saves in the easy-thumbnails database…
Peter
  • 1,658
  • 17
  • 23
1
vote
2 answers

boto 2.8.0 and cloudseach

Hi I am trying to add documents to a cloudsearch domain as per http://docs.pythonboto.org/en/latest/cloudsearch_tut.html#adding-documents-to-the-index my code snppet is: import boto conn =…
1
vote
2 answers

Removing Amazon EC2 instance using python boto

I have found some example code which is apparently able to create an Amazon Ec2 instance using python boto. However, for the life of me I can't work out how to make a function to delete the instance. Can anyone who knows a bit more about python and…
Jimmy
  • 12,087
  • 28
  • 102
  • 192
1
vote
1 answer

Understanding the boto documentation for Elastic Transcoder

I am trying to create my own pipe line in Elastic Transcoder. I am using the boto standard function create_pipeline(name, input_bucket, output_bucket, role, notifications). Can you please tell me the notifications (structure) how it should look? So…
Florin Dita
  • 109
  • 2
  • 11
1
vote
1 answer

How can I attach an existing EBS volume when requesting a spot instance on AWS?

I am using boto, the code like this: dev_xvdb = boto.ec2.blockdevicemapping.EBSBlockDeviceType(volume_id='vol-xxxxxx') bdm = boto.ec2.blockdevicemapping.BlockDeviceMapping() bdm['/dev/xvdb'] = dev_xvdb rs =…
Mike.G
  • 87
  • 3
  • 9
1
vote
1 answer

Incomplete transfers to amazon s3

What happens to incomplete transfers while uploading to amazon s3. I am using boto(python) for uploading.For example,i have 5 gb free in amazon s3 cloud and I want to upload 3 gb of data, but after uploading 1 gb of data, i loose the internet…
rgm
  • 1,241
  • 2
  • 16
  • 33
1
vote
2 answers

Python AWS BOTO error

So I am trying to get all instances to check their status via python. I found a script on here that someone suggested that looks like this: from boto.ec2.connection import EC2Connection conn = EC2Connection('MY Key ID', 'Secret Access…