Book Image

Distributed Computing with Python

Book Image

Distributed Computing with Python

Overview of this book

CPU-intensive data processing tasks have become crucial considering the complexity of the various big data applications that are used today. Reducing the CPU utilization per process is very important to improve the overall speed of applications. This book will teach you how to perform parallel execution of computations by distributing them across multiple processors in a single machine, thus improving the overall performance of a big data processing task. We will cover synchronous and asynchronous models, shared memory and file systems, communication between various processes, synchronization, and more.
Table of Contents (15 chapters)
Distributed Computing with Python
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Creating an EC2 instance


After all this setup work, we are now ready to create our first virtual machine; start it in the geographical region of our choice (remember to create a key for every region you choose to use) and log in to the running instance. We will do all of this through the web console for now.

If you are not there already, go back to the AWS web console, log in as our user (remember that you can use https://<ACCOUNT NUMBER>.signin.aws.amazon.com/console/ URL), and click on the EC2 icon.

The page that opens up is the EC2 console, as shown in the following screenshot:

Click on the blue Launch Instance button toward the middle of the page, just under the Create Instance heading. Now, we will be guided through the process of creating and starting up a virtual machine. First, choose the Amazon Machine Image (AMI), that is to say, the base operating system and default set of software packages that come with your VM.

There are many possible configurations to choose from. For now...