Hanjo Oden wraps up a series on training models on AWS using H2O in R:
To generate these, you can log into your AWS dashboard, go to the IAM (Identity and Access Management) dashboard and select the
Users tab. On the
Userstab, add a user and also the administration rights that you want the user to have.Remember to restart R once you have filled in the access key information in the .Renviron file for it to take effect.
At this point, those familiar with
cloudyr suite is probably asking – “This is exactly the same as
library(aws.ec2), so why use boto3?“. Well, to be honest, I was using
aws.ec2 for a while, but I find spot-instances, which the current version of
aws.ec2 does not support. In addition I found that
boto3 has some other functionalitue – which I prefer. For a full list of
boto3 functions to interact with an EC2 instance, have a look at the reference manual.
It’s pretty good stuff; check it out.