| starburst_setup_ec2 | R Documentation |
One-time setup for EC2 launch type. Creates IAM roles, instance profiles, and capacity providers for specified instance types.
starburst_setup_ec2(
region = "us-east-1",
instance_types = c("c7g.xlarge", "c7i.xlarge"),
force = FALSE
)
region |
AWS region (default: "us-east-1") |
instance_types |
Character vector of instance types to setup (default: c("c7g.xlarge", "c7i.xlarge")) |
force |
Force re-setup even if already configured |
Invisibly returns TRUE on success or FALSE on failure
or cancellation.
if (starburst_is_configured()) {
# Setup with default instance types (Graviton and Intel)
starburst_setup_ec2()
# Setup with custom instance types
starburst_setup_ec2(instance_types = c("c7g.2xlarge", "r7g.xlarge"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.