Hi Phil,
the EC2 adaptor has not seen much exposure over the last months --
your mail prompted us to finally give it some love to see how bad the
bitrot was... Well, the good news is that it should now be working
again :) The bad news is that the last release shipped with a broken
version... If you don't mind, would you give the fix/aws branch [1] a
try?
Wrt. your actual question: the example code in
examples/resource/amazon_ec2.py also got updated, and now should be
functional with the following env settings:
Service endpoint:
EC2_URL=ec2://
ec2.amazonaws.com/
AWS account and secret:
EC2_ACCESS_KEY=ABCDEFGHIJKLMNOPQRST
EC2_SECRET_KEY=a/bcd/EfGHijkloa/bcd/EfGHijkloa/bcd/EfGHijklo
EC2_KEYPAIR_ID=my_keypair
EC2_KEYPAIR=/home/merzky/.ssh/id_rsa_aws.pub
I did not yet try an IAM ID/secret, but would hope it works just as
well as the normal account ID/secret (famous last words... :P) - so
please let us know how that goes!
The example now runs slightly differently: with no arguments, it
spins up the VM and runs a 'sleep 30' on it. It will *not* shut the
VM down. If you run the example again and give the resource ID as
parameter, it will reconnect, run the 'sleep 30' again, and then shut
it down. That is basically demonstrating the reconnect...
So, please check this out, and let us know how it behaves!
Best, Andre.
[1]
https://github.com/radical-cybertools/saga-python/tree/fix/aws
> --
> You received this message because you are subscribed to the Google Groups
> "saga-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
saga-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
99 little bugs in the code.
99 little bugs in the code.
Take one down, patch it around.
127 little bugs in the code...