1.6 KiB
AWS Configuration
To use AWS as a provider, you’ll first need to create an IAM User.
Steps
- Login to your AWS console.
- Go to Identity and Access Management (IAM).
- On the left-hand panel, click 'Users'.
- Click 'Add user'.
- Choose a username e.g. CloudProxy and select 'Programmatic access', then click Next.
- Click 'Attach existing policies directly' and then select 'AmazonEC2FullAccess', then click Next.
- Tag is optional, you may want to create the key as 'CloudProxy', then click Next.
- Now Review and then click 'Create user'.
Now you have your access key and secret access key, you can now use AWS as a proxy provider, below details of the environment variables.
Configuration options
Environment variables:
Required:
AWS_ENABLED - to enable AWS as a provider, set as True. Default value: False
AWS_ACCESS_KEY_ID - the access key to allow CloudProxy access to your account.
AWS_SECRET_ACCESS_KEY - the secret access key to allow CloudProxy access to your account.
Optional:
AWS_MIN_SCALING - this is the minimal proxies you required to be provisioned. Default value: 2
AWS_MAX_SCALING - this is currently unused, however will be when autoscaling is implemented. We recommend you set this as the same as the minimum scaling to avoid future issues for now. Default value: 2
AWS_SIZE - this sets the droplet size, we recommend the smallest droplet as the volume even a small droplet can handle is high. Default value: t2.micro
AWS_REGION - this sets the region where the droplet is deployed. Some websites may redirect to the language of the country your IP is from. Default value: eu-west-2