> For the complete documentation index, see [llms.txt](https://omalab.gitbook.io/guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://omalab.gitbook.io/guide/engineering-wiki/big-data-pipeline-stuff/spark.md).

# Spark

In your park distribution there's`./ec2/`folder, where you can execute:

```
./spark-ec2 -k spark -i ~/.ssh/spark.pem -s 1 --region=us-east-1 launch spark-test
```

This will launch an cluster with a master node and one slave.

```
./spark-ec2 -i ~/.ssh/spark.pem login spark-test
```

You can download the key spark.pem on the ec2 console.
