Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Python & Amazon EC2 -- Recommended Library? [closed]

What is the recommended library for python to do everything that is Amazon EC2 related?

I came across boto and libcloud. Which one is easier to use? does libcloud offer the same functionality as boto?

like image 300
user3262424 Avatar asked Jun 28 '11 14:06

user3262424


People also ask

What is Python used for?

Python is commonly used for developing websites and software, task automation, data analysis, and data visualization. Since it's relatively easy to learn, Python has been adopted by many non-programmers such as accountants and scientists, for a variety of everyday tasks, like organizing finances.

Can I use Python with HTML and CSS?

If you're interested in web development with Python, then knowing HTML and CSS will help you understand web frameworks like Django and Flask better. But even if you're just getting started with Python, HTML and CSS can enable you to create small websites to impress your friends.

What is A += in Python?

The plus-equals operator += provides a convenient way to add a value to an existing variable and assign the new value back to the same variable. In the case where the variable and the value are strings, this operator performs string concatenation instead of addition.

Is Python easy to learn?

Python is widely considered among the easiest programming languages for beginners to learn. If you're interested in learning a programming language, Python is a good place to start. It's also one of the most widely used.


1 Answers

The big advantage of libcloud is that it provides a unified interface to multiple providers, which is a big plus in my mind. You won't have to rewrite everything if you plan to migrate some instances to Rackspace later, or mix and match, etc. I haven't used it extensively but it looks fairly complete as far as EC2 goes. In boto's favor it has support for nearly all of Amazon's web services, so if you plan to be Amazon-centric and use other services you'll probably want to use boto.

That said, try both packages and see which you prefer.

like image 61
zeekay Avatar answered Oct 15 '22 05:10

zeekay