Boto

From air
Jump to navigation Jump to search

http://boto.cloudhackers.com/en/latest/


boto: A Python interface to Amazon Web Services

Boto3, the next version of Boto, is now stable and recommended for general use. It can be used side-by-side with Boto in the same project, so it is easy to start using Boto3 in your existing projects as well as new projects. Going forward, API updates and all new feature work will be focused on Boto3.

An integrated interface to current and future infrastructural services offered by Amazon Web Services.

Getting Started

Récupérer les crédentials AWS

#!/bin/python

import boto.ec2
conn = boto.ec2.connect_to_region(
    "us-west-2",
    aws_access_key_id='<aws access key>',
    aws_secret_access_key='<aws secret key>')

TBC