Database Reference
In-Depth Information
access key ID and secret access key, respectively. These can be obtained from the
AWS homepage by clicking Account | Security Credentials | Access Credentials .
When creating a key pair, choose a name that is easy to remember. We will simply use
spark for the key pair name. The key pair file itself will be called spark.pem . As
mentioned earlier, ensure that the key pair file permissions are set appropriately and that
the environment variables for the AWS credentials are exported using the following com-
mands:
>chmod 600 spark.pem
>export AWS_ACCESS_KEY_ID="..."
>export AWS_SECRET_ACCESS_KEY="..."
You should also be careful to keep your downloaded key pair file safe and not lose it, as it
can only be downloaded once when it is created!
Note that launching an Amazon EC2 cluster in the following section will incur costs to
your AWS account.
Search WWH ::




Custom Search