Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/build-on-aws/ci-cd-serverless-spark
Sample CI/CD pipeline for using GitHub Actions with Amazon EMR Serverless Spark.
https://github.com/build-on-aws/ci-cd-serverless-spark
amazon-emr apache-spark aws github-actions serverless spark
Last synced: 29 days ago
JSON representation
Sample CI/CD pipeline for using GitHub Actions with Amazon EMR Serverless Spark.
- Host: GitHub
- URL: https://github.com/build-on-aws/ci-cd-serverless-spark
- Owner: build-on-aws
- License: mit-0
- Created: 2023-04-05T22:04:23.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-07T17:43:20.000Z (almost 2 years ago)
- Last Synced: 2024-12-17T17:40:53.560Z (about 1 month ago)
- Topics: amazon-emr, apache-spark, aws, github-actions, serverless, spark
- Language: Python
- Homepage: https://buildon.aws/tutorials/deploy-serverless-spark-jobs-to-aws-using-github-actions
- Size: 13.7 KB
- Stars: 5
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
## Serverless Spark CI/CD on AWS with GitHub Actions
Sample code repo that shows how to run GitHub Actions with Amazon EMR Serverless. Forms the basis of the following tutorial:
- [Deploy Serverless Spark jobs to AWS using GitHub Actions](https://buildon.aws/tutorials/deploy-serverless-spark-jobs-to-aws-using-github-actions)
The code here represents what your repository should look like after following the tutorial.
## Pre-requisites
- An AWS Account with Admin privileges
- GitHub OIDC Provider in AWS
- S3 Bucket(s)
- EMR Serverless Spark application(s)
- IAM Roles for GitHub and EMR ServerlessYou can create all of these, including some sample data, using the included [CloudFormation template](template.cfn.yaml).
> **Warning** 💰 The CloudFormation template creates EMR Serverless applications that you will be charged for when integration tests **AND** the scheduled workflow runs.
> **Note** The IAM roles created in the template are _very tightly scoped_ to the relevant S3 Buckets and EMR Serverless applications created by the stack.
## Other resources
- [EMR Serverless User Guide](https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/emr-serverless.html)
- [EMR Serverless Samples](https://github.com/aws-samples/emr-serverless-samples/)
- [EMR toolkit for VS Code](https://marketplace.visualstudio.com/items?itemName=AmazonEMR.emr-tools)
- [Amazon EMR CLI](https://github.com/awslabs/amazon-emr-cli)## Security
See [CONTRIBUTING](CONTRIBUTING.md#security-issue-notifications) for more information.
## License
This library is licensed under the MIT-0 License. See the LICENSE file.