% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/setup.R
\name{starburst_setup_ec2}
\alias{starburst_setup_ec2}
\title{Setup EC2 capacity providers for staRburst}
\usage{
starburst_setup_ec2(
  region = "us-east-1",
  instance_types = c("c7g.xlarge", "c7i.xlarge"),
  force = FALSE
)
}
\arguments{
\item{region}{AWS region (default: "us-east-1")}

\item{instance_types}{Character vector of instance types to setup (default: c("c7g.xlarge", "c7i.xlarge"))}

\item{force}{Force re-setup even if already configured}
}
\value{
Invisibly returns \code{TRUE} on success or \code{FALSE} on failure
  or cancellation.
}
\description{
One-time setup for EC2 launch type. Creates IAM roles, instance profiles,
and capacity providers for specified instance types.
}
\examples{
\donttest{
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"))
}
}
}
