ElastiCluster on AWS Educate Starter Account

17 views
Skip to first unread message

Xoan Carlos Pardo Martinez

unread,
Jul 21, 2020, 6:47:01 AM7/21/20
to elasticluster
Hi,

I would like to know if anybody has tried ElastiCluster on an AWS Educate Starter Account. 
This is an special type of AWS account that is offered to students and has some IAM limitations that prevent a tool like AWS ParallelCluster from working on this type of account. 

Thanks very much!

Xoan Carlos Pardo Martinez

unread,
Aug 1, 2020, 3:06:35 AM8/1/20
to elasticluster
Hi all,

after doing some tests, I can confirm that elasticluster doesn't work on an AWS Educate Starter Account.

The reason is that these accounts use temporary credentials (i.e. an additional session token is required in addition to the public/private keypair) and this is not currently supported by elasticluster, that only uses the keypair in the connection with the EC2 service:

ec2_boto.py: 157

# connect to webservice
ec2_connection = boto.ec2.connect_to_region(
    self._region_name,
    aws_access_key_id=self._access_key,
    aws_secret_access_key=self._secret_key,
    is_secure=self._secure,
    host=self._ec2host,
    port=self._ec2port,
    path=self._ec2path,
)

I guess this could be addressed in boto2 by adding support for using the additional parameter aws_session_token.

Best regards
Reply all
Reply to author
Forward
0 new messages