Tuesday, February 17, 2015

How to use python BOTO framework to connect to Amazon EC2

 Python Boto framework is an excellent tool to automate things with Amazon. You have almost everything to automate Amazon EC2 using this comprehensive library.

A quick guide on how to use it in your project

1) Configure your EC2 credentials to be used by your application using one of the followings.

  • /etc/boto.cfg - for site-wide settings that all users on this machine will use
  • ~/.boto - for user-specific settings
  • ~/.aws/credentials - for credentials shared between SDKs 


2) Refer the API and choose what you need to do.


3) Sample code for a simple autoscaler written using Boto framework. You may reuse the code in your projects quickly. This autoscaler spawn new instances based on the spike pattern of the load.



  1. Very useful information in connection both together since Python and AWS Cloud are the latest software trends which also get more number of job opportunities. Keep it up

    aws solution architect training in chennai

  2. Assam 7th Model Paper 2023, Assam 7th Question Paper 2023 English Maths Hindi Assam 7th Model Paper 2023 is A Very Important Resource for Student Assam Board who are Going to Appear for the Upcoming Board Examination. Assam 7th Class Question Paper 2023 Scroll Down to Download and Check the Assam Board 7th Model Question Paper 2023 Andhra Pradesh 7th Class new and Latest Model Paper 2023 has Been Released on Official Website the Student Assam 7th Class Model Paper 2023 PDF on Official Website.