Comments (5)
Currently, it is only possible to use AMIs that are provided as part of cfncluster. They have all the software pre-installed that is required for cfncluster such as a scheduler and bootstrap scripts. You could build custom AMI's if you install all of the same software, packages and scripts on your AMI.
You can also launch one of the AMI's found in amis.txt, customize that instance and then run /usr/local/sbin/ami_cleanup.sh before making an image.
Once you have a working custom AMI, you can simply specify that in the cfncluster config as custom_ami= setting.
With regards to the template URL, they are versioned. So the current us-east-1 template URL is https://s3.amazonaws.com/cfncluster-us-east-1/templates/cfncluster-0.0.17.cfn.json
from aws-parallelcluster.
Hi Dougal,
Thank you so much for your response! I tried to customize the AMI (us-west-2 ami-2b095a1b) from amis.txt. I found it is different from the AMI (Amazon Linux AMI 2014.09.1 (HVM) - ami-b5a7ea85). When I tried to install R and got the below error message,
sudo yum install R
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
- base: mirrors.xmission.com
- extras: mirror.spro.net
- updates: linux.mirrors.es.net
No package R available.
Error: Nothing to do
Then I tried to install epel using the below command,
su -c 'rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm'
But it was still failed. I am wondering if you can provide an example to install a scheduler and bootstrap scripts on the Amazon Linux AMI 2014.09.1 (HVM) - ami-b5a7ea85 then I can launch a cluster with cnfcluster. Or could you tell me how to install R on your customized ami (us-west-2 ami-2b095a1b)?
Thanks a lot!
from aws-parallelcluster.
cfncluster AMIs are based on CentOS 6 and track errata with each update.
The easiest way to customize a cluster deployed with cfncluster, is to utilize pre/post install actions. I have written some documentation that describes this and provides an example of adding R to a cluster.
You can find the doc here - https://github.com/awslabs/cfncluster/blob/develop/docs/staging/pre_post-install-actions.txt
from aws-parallelcluster.
Hi, I'm having same issue configuring ubuntu os AMI and launch. I'm wondering what could be wrong? Thanks
from aws-parallelcluster.
@cgibioinformatics May I understand why you want to customized AMI ?
Suggestion:
- Please look at pre_install/post_install option of cfncluster instead of creating custom AMI
- If you still want to create AMI, Please use packer command to create ami (E.g. for ubuntu14 https://github.com/awslabs/cfncluster-cookbook/blob/develop/packer_ubuntu1404.json)
from aws-parallelcluster.
Related Issues (20)
- Integrate parallelcluster deployment with Terraform HOT 2
- EFS not mounting on computing nodes HOT 1
- [Feedback Requested] PCluster 3 Python 3.X environments HOT 2
- pcluster create fails with tag policy HOT 3
- Newer Ubuntu Versions
- Maximum policy attachements on ClusterLambdaRole HOT 5
- cluster create can't access script on S3 HOT 3
- Lack of guidance on how to succeed with Service-Linked-Roles Using UI to create a FSX/Lustre S3 backed cluster
- FSX and HeadNode:Iam:AdditionalIamPolicies result in failed cluster creation due to policy name restrictions HOT 1
- (3.7.0‐3.8.0) ParallelCluster API Deployment fails due to IAM Policy size exceeding service limits HOT 1
- Cluster Stopped Appearing in Lists for CLI/UI HOT 4
- Enable QUIC transport protocol for DCV on head node HOT 1
- DCV on Ubuntu 22.04 ARM not possible w/ v3.8.0 despite availability of compatble DCV binaries HOT 3
- imagebuilder custom_script.yaml is incompatible with GovCloud regions (work-around provided) HOT 1
- Redundant step required for PCluster UI to AWS Identity Center integration
- Feature request: include user instance tags with job HOT 1
- Need to use parameters without cloudformation using the cli HOT 6
- FSx creation failure due to FSx Security Group creation race condition? HOT 2
- (3.3.0-3.9.0) Potential data loss issue when removing storage with update-cluster in AWS ParallelCluster 3.3 and above HOT 1
- Question: Slurm Accounting migration between ParallelCluster versions HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-parallelcluster.