knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The images for the 2018-07-26 Duke workshop were already running, and possibly in use. The web interface only allows to update security group settings one at the time. This crude script (which assumes that aws
command line tool is installed and properly configured) updates the security group settings for all these images.
get_aws_instances() %>% extract_aws_info() %>% dplyr::filter(instance_tag == "2018-07-26-duke") %>% dplyr::pull(instance_id) %>% purrr::map(~ update_aws_security_group(instance_id = .))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.