问题
Is there a way to specify the AWS AMI with particular OS (say Ubuntu) when launching Spark on Amazon cloud with provided scripts?
What is the default AMI, operating system that is launched by EC-2 script? Is it eligible for "Free Tier" program by AWS?
回答1:
The script (spark_ec2.py
) takes the AMI list from https://github.com/mesos/spark-ec2/tree/branch-1.3/ami-list by default. You can override it by creating a fork with your preferences and selecting it with --spark-ec2-git-repo
and --spark-ec2-git-branch
.
来源:https://stackoverflow.com/questions/28524380/spark-ami-for-aws-ec-2