ec2_instance_prebuilt: ec2_instance_prebuilt

Description Usage Arguments

View source: R/ec2_instance_prebuilt.R

Description

ec2_instance_prebuilt

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
ec2_instance_prebuilt(
  ImageId = NA,
  InstanceType = "t2.nano",
  min = 1,
  max = 1,
  KeyName = NA,
  SecurityGroupId = NA,
  InstanceStorage = 50,
  postgres_password = "password",
  phone_number = NA,
  DeviceName = "/dev/sda1",
  user_data = NA
)

Arguments

ImageId

An aws ec2 id: i.e., 'ami-0174e69c12bae5410'

InstanceType

See https://aws.amazon.com/ec2/instance-types/

min

min instances

max

max instances

KeyName

A .pem file to ssh

SecurityGroupId

SecurityGroupId of security group you have created in UI

InstanceStorage

Size of the box in gb

postgres_password

password for postgres database. username is postgres

phone_number

For notification of completion

DeviceName

"/dev/sda1"

user_data

A shell script that runs on startup


fdrennan/awsR documentation built on Sept. 26, 2020, 8:28 a.m.