Breaking Passwords in the Cloud: Using Amazon P2 Instances

August 1st, 2017 by Andrey Malyshev
Category: «Elcomsoft News», «Hardware», «Software»

Cloud services such as Amazon EC2 can quickly deliver additional computing power on demand. Amazon’s recent introduction of the a type of EC2 Compute Units made this proposition much more attractive than ever before. With Elcomsoft Distributed Password Recovery now supporting Amazon’s new P2 instances, each with up to 16 GPU units, users can get as much speed as they need the moment they need. In this article, we’ll discuss the benefits of using cloud compute units for password recovery, and provide a step-by-step guide on how to add virtual instances to Elcomsoft Distributed Password Recovery.

Why Amazon EC2?

Why move to the cloud instead of building a data center in-house? While each individual EC2 Compute Unit packs significantly less power compared to even a modest PC equipped with a single NVIDIA 1080 board, you don’t have to buy and maintain those units ahead of time. The power of cloud computing is available on demand right when you need it. With Amazon EC2, you are only paying for instances while you need them – and let them go when you don’t.

Compared to Amazon’s older G2 units, the P2 is significantly faster due to the use of a newer generation of NVIDIA GPU chips. Support for Amazon’s new compute units allows users of Elcomsoft Distributed Password Recovery to dynamically scale their existing data centers without making new capital investment. You can add extra processing power right when you need it, and scale back to your existing infrastructure immediately once job is complete. On-demand use of cloud instances with Elcomsoft Distributed Password Recovery delivers not only unmatched recovery speeds, but also best-in-class price-performance ratio.

Amazon P2 Compute Units

The new P2 Compute Units come with up to 16 GPUs each. The new P2 instances are powered by NVIDIA Tesla K80 GPU units, allowing Elcomsoft Distributed Password Recovery to run with full GPU acceleration to deliver record-breaking performance when integrating multiple units.

Additional details on P2 units are available from Amazon:

Up-to-date pricing information is available at

Using Amazon P2 Compute Units for Breaking Passwords

Elcomsoft Distributed Password Recovery supports agents installed into the Amazon EC2 account. Depending on performance requirements and budget constraints, Amazon EC2 instances can quickly scale to speed up the job, and can be scaled back when not in use. Elcomsoft Distributed Password Recovery running in an Amazon cloud is a perfect solution when additional computational power is needed without the need to invest into building permanent infrastructure in-house.

Elcomsoft Distributed Password Recovery scales to up to 10,000 mixed instances. Supporting a heterogeneous mix of local computers, remote workstations and cloud compute instances allows Elcomsoft Distributed Password Recovery to deliver all the power on demand.

To set up a P2 instance in Elcomsoft Distributed Password Recovery, perform the following steps.

  1. Install and launch EDPR server. You can do it either on your local server or in EC2 cloud. The server must have an external IP address with port 12121 opened and available.
  2. Log in to your EC2 Management Console and click “Instances”.
  3. Select the appropriate region.
    P2 instances are available in the following data centers:

US East (N.Virginia)

US East (Ohio)

US West (Oregon)

Asia Pacific (Seoul)

Asia Pacific (Sydney)

Asia Pacific (Tokyo)

EU (Ireland)

  1. Click “Launch instance”.
  2. Choose the virtual machine “AMI” from “Community AMIs”. Select “Community AMIs” and search for the Elcomsoft AMI. Type the exact AMI name in the search box.

If using p2.xlarge and p2.8xlarge instances: select “EDPR-agent-1059-8” AMI.

If using p2.16xlarge instance: select “EDPR-agent-1059-16” AMI.

  1. Choose Instance type from P2 series.
  2. Click “Next: Configure instance details”. Specify the number of instances you require. Expand “Advanced details” and enter your server address and port number in the “User data” field.
  3. Click “Review and launch”. Review instance details and click “Launch”.
  4. Select your key pair or create a new one.
  5. Your new instance will be launched shortly. After several minutes, you will see your new EDPR agent appear in the console:
  6. To launch additional agents, repeat steps 1 through 7. New agent will appear on the server as soon as a new instance is started:
    Please note that p2.16xlarge agents will take a while to launch because of the large number of CPU and GPU cores.
  7. Please note that Amazon EC2 instances are charged on hourly basis. To prevent unnecessary charges, make sure to stop instances when you no longer need them.


Elcomsoft Distributed Password Recovery

Build high-performance clusters for breaking passwords faster. Elcomsoft Distributed Password Recovery offers zero-overhead scalability and supports GPU acceleration for faster recovery. Serving forensic experts and government agencies, data recovery services and corporations, Elcomsoft Distributed Password Recovery is here to break the most complex passwords and strong encryption keys within realistic timeframes.

Elcomsoft Distributed Password Recovery official web page & downloads »