Skip to content

Digital Ocean Connector

Digital Ocean

Digital Ocean is an US multinational cloud provider.

Prerequisites

An active Digital Ocean subscription is required.

Digital Ocean Admin

Connect to Admin.

Create new credential

DO Token

On the left menu, click on API and click on Generate New Token.


DO Token New

  1. Enter scrapoxy as Token name;
  2. Select No expire for Expiration;
  3. Check the Write box on Scopes
  4. And click on Generate Token.

DO Token New Save

Remember the Token value.

Scrapoxy

Open Scrapoxy User Interface and select Marketplace:

Step 1: Create a new credential

Credential Select

Select Digital Ocean to create a new credential (use search if necessary).


Credential Form

Complete the form with the following information:

  1. Name: The name of the credential;
  2. Access key ID: The Access key ID of the account;
  3. Secret access key: The Client Secret of the account.

And click on Create.

Step 2: Create a new connector

Create a new connector and select Digital Ocean as provider:

Connector Create

Complete the form with the following information:

  1. Credential: The previous credential;
  2. Name: The name of the connector;
  3. # Proxies: The number of instances to create;
  4. Region: The region where the instances will be created;
  5. Port: The port of the proxy (on Digital Ocean);
  6. Size: The type of the instance;
  7. Snapshot: The name of the snapshot to use. ⚠️ Don't fill it, it will be created automatically during installation;
  8. Security group name: The name of the security group containing the firewall rules;
  9. Tag: The default tag for instance.

And click on Create.

Most default values can be retained if suitable for the use case.

WARNING

When setting up the connector in multiple regions, assign a unique Tag for each region. Without this, connectors may interfere with each other, shutting down instances from the same provider.

Step 3: Start the connector

Connector Start

  1. Start the project;
  2. Start the connector.

Step 4: Stop the connector (optional)

Connector Stop

  1. Stop the connector;
  2. Wait for proxies to be removed.

Released under the AGPLv3 License.