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 theUsers
tab, 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 aslibrary(aws.ec2)
, so why use boto3?“. Well, to be honest, I was usingaws.ec2
for a while, but I find spot-instances, which the current version ofaws.ec2
does not support. In addition I found thatboto3
has some other functionalitue – which I prefer. For a full list ofboto3
functions to interact with an EC2 instance, have a look at the reference manual.
It’s pretty good stuff; check it out.