machine_AWS: Create a docker machine on AWS.

Description Usage Arguments Details

Description

Defaults are pretty sensible. You must provide only the following:

Usage

1
2
3
machine_AWS(name, vpc_id, cores = 2, ami = "ami-4ae27e22", root_size = 16,
  security_group = "docker-machine", zone = "a", iam = NULL,
  region = NULL, session_token = NULL, subnet_id = NULL)

Arguments

name

character. Required. The name of the machine.

vpc_id

character. Required. The VPC id. Get it from AWS console.

cores

integer. Number of cores. More cores = more expensive!

ami

character. AMI to use. Don't touch if you don't know what you are doing. If you do, then see https://docs.docker.com/machine/#drivers for more details.

root_size

integer. The root disk size of the instance (in GB). Default: 16

security_group

character. AWS VPC security group name. Default: docker-machine

zone

character. The AWS zone launch the instance in (i.e. one of a,b,c,d,e). Default: a

iam

character. IAM role for the instance.

region

character. EC2 region. Default is us-east-1.

session_token

character. Your session token for the Amazon Web Services API.

subnet_id

character. AWS VPC subnet id.

Details

Note that this can be expensive, so make sure you clean up after yourself!

Creates an EC2 instance for you.


kirillseva/dokk documentation built on May 20, 2019, 10:23 a.m.