Digital Ocean Connector
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
On the left menu, click on API
and click on Generate New Token
.
- Enter
scrapoxy
as Token name; - Select
No expire
for Expiration; - Check the
Write
box on Scopes - And click on
Generate Token
.
Remember the Token
value.
Scrapoxy
Open Scrapoxy User Interface and select Marketplace
:
Step 1: Create a new credential
Select Digital Ocean
to create a new credential (use search if necessary).
Complete the form with the following information:
- Name: The name of the credential;
- Access key ID: The Access key ID of the account;
- 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:
Complete the form with the following information:
- Credential: The previous credential;
- Name: The name of the connector;
- # Proxies: The number of instances to create;
- Region: The region where the instances will be created;
- Port: The port of the proxy (on Digital Ocean);
- Size: The type of the instance;
- Snapshot: The name of the snapshot to use. ⚠️ Don't fill it, it will be created automatically during installation;
- Security group name: The name of the security group containing the firewall rules;
- 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
- Start the project;
- Start the connector.
Step 4: Stop the connector (optional)
- Stop the connector;
- Wait for proxies to be removed.