AWS Auto Scaling: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
A step-by-step instruction how to create a slurm cluster on AWS with auto-scaling possibility | A step-by-step instruction how to create a slurm cluster on AWS with auto-scaling possibility | ||
a) upgrade your pip: | |||
pip install --upgrade pip | |||
b) install aws client: | |||
pip install awscli | |||
c) pip install aws-parallelcluster | |||
d) prepare your aws_access_key_id and aws_secret_access_key. Those can be found in "My Security Credentials -> Access keys (access key ID and secret access key)" section. | |||
If you haven't got it yet, press "Create New Access Key" and follow the instructions. | |||
aws configure | |||
Access Key ID [None]: _YOUR_ACCESS_KEY_ID_ | |||
AWS Secret Access Key [None]: _YOUR_SECRET_ACCESS_KEY_ | |||
Revision as of 13:21, 2 June 2020
A step-by-step instruction how to create a slurm cluster on AWS with auto-scaling possibility
a) upgrade your pip:
pip install --upgrade pip
b) install aws client: pip install awscli
c) pip install aws-parallelcluster
d) prepare your aws_access_key_id and aws_secret_access_key. Those can be found in "My Security Credentials -> Access keys (access key ID and secret access key)" section.
If you haven't got it yet, press "Create New Access Key" and follow the instructions.
aws configure Access Key ID [None]: _YOUR_ACCESS_KEY_ID_ AWS Secret Access Key [None]: _YOUR_SECRET_ACCESS_KEY_
Useful links:
- https://support.lumerical.com/hc/en-us/articles/360034082194-AWS-Use-Case-Multi-node-clusters-with-launch-templates
- https://github.com/aws/aws-parallelcluster
- https://aws-parallelcluster.readthedocs.io/en/latest/
- https://docs.aws.amazon.com/parallelcluster/index.html
- https://docs.aws.amazon.com/autoscaling/ec2/userguide/what-is-amazon-ec2-auto-scaling.html