aws_default_ec2_image: Get a default image name for a given region

Description Usage Arguments Value See Also Examples

View source: R/aws.R

Description

AWS works in regions. And just like instances, also Amazon Machine Images are customized per region (e.g., timezone, language ...). This function serves as helping dictionary in that it provides you with the AMI image name for a given image. The image returned here is the one for an Ubuntu Server 20.04 LTS with SSD volume (64-bit x86, if available). This has proven to work well with both AWS and ScrapeBot. It is also eligible for the free tier.

Usage

1
aws_default_ec2_image(region = "eu-central-1")

Arguments

region

The AWS region to fetch the image name for (e.g., "eu-central-1" for Frankfurt/Europe) as character.

Value

AWS Amazon Machine Image (AMI) name as character string or (character) NA if region unknown.

See Also

connect_aws(), aws_launch_instance()

Examples

1
2

MarHai/ScrapeBotR documentation built on March 10, 2021, 10:10 a.m.