Description Usage Arguments Details Value See Also Examples
Connect to AWS to set up instances (EC2), databases (RDS), and storage (S3). Only necessary if you want to orchestrate instances through R. Requires IAM account (in credentials_file/credentials_section) to have permissions for "AmazonEC2FullAccess," "AmazonRDSFullAccess, and "AmazonS3FullAccess."
In order not to use credentials here, you need to set up an INI file containing your AWS IAM credentials. You can do this by hand (see write_aws_credentials()
) or use the write_aws_credentials()
function.
1 2 3 4 5 | connect_aws(
region = "eu-central-1",
credentials_section = "AWS",
credentials_file = "~/.scrapebot.ini"
)
|
region |
The AWS region to connect to (e.g., "eu-central-1" for Frankfurt) as character. |
credentials_section |
The section within your INI file holding the credentials. If |
credentials_file |
The INI file to use. If |
AWS works in regions. As such, you need to specify the region here in which all subsequent actions will take place. You AWS user might not have all regions enabled. Find out more about it in your account settings (https://console.aws.amazon.com/billing/home?#/account).
An AWS connection object (i.e., a specified list), ready to be passed to other ScrapeBotR functions.
write_aws_credentials()
to help create the credentials file
1 2 3 4 5 6 7 | ## Not run:
connect_aws()
connect_aws('us-east-2')
connect_aws(NULL, 'my AWS creds', '~/my_own_credentials_file.ini')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.