{"id":14065632,"url":"https://github.com/vincentclaes/serverless_data_pipeline_example","last_synced_at":"2026-01-05T09:13:07.756Z","repository":{"id":50185443,"uuid":"195048788","full_name":"vincentclaes/serverless_data_pipeline_example","owner":"vincentclaes","description":"Build and Deploy A Serverless Data Pipeline on AWS ","archived":false,"fork":false,"pushed_at":"2022-12-08T06:11:38.000Z","size":477,"stargazers_count":27,"open_issues_count":8,"forks_count":13,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-08-14T07:09:20.544Z","etag":null,"topics":["aws","aws-glue","aws-lambda","aws-s3","python","serverless-framework"],"latest_commit_sha":null,"homepage":"https://medium.com/@vincentclaes_43752/build-a-serverless-data-pipeline-on-aws-7c7d498d9707","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vincentclaes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-03T12:26:14.000Z","updated_at":"2024-03-21T22:49:54.000Z","dependencies_parsed_at":"2023-01-24T18:16:55.233Z","dependency_job_id":null,"html_url":"https://github.com/vincentclaes/serverless_data_pipeline_example","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentclaes%2Fserverless_data_pipeline_example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentclaes%2Fserverless_data_pipeline_example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentclaes%2Fserverless_data_pipeline_example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vincentclaes%2Fserverless_data_pipeline_example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vincentclaes","download_url":"https://codeload.github.com/vincentclaes/serverless_data_pipeline_example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228052499,"owners_count":17862102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-glue","aws-lambda","aws-s3","python","serverless-framework"],"created_at":"2024-08-13T07:04:36.314Z","updated_at":"2026-01-05T09:13:07.714Z","avatar_url":"https://github.com/vincentclaes.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# SERVERLESS-DATA-PIPELINE\n\nUsing AWS Cloud Services Lambda, S3, Glue and Athena we are going to build a data pipeline written in python and deploy it using the Serverless Framework.\n\nYou can read the article here: \n\nhttps://medium.com/@vincentclaes_43752/build-a-serverless-data-pipeline-on-aws-7c7d498d9707\n\n# Deploy and run the data pipeline\n\nmake sure you have correct user and roles defined:\n\n### Create a user to access AWS\n\ncreate an admin user using the AWS console and set the credentials under a [serverless] section in the credentials file located in \n    \n    ~/.aws/credentials\n\na step by step guide can be found here: https://medium.com/@vincentclaes_43752/create-a-user-for-the-serverless-framework-8e5c336d47c7\n\n### Create the necessary roles\nfor our project we need two roles; \n* one for lambda \n* one for glue.\n\ncreate a role with administrator access for both these roles and keep the ARN somewhere accessible. \nA step by step guide to creating a role can be found here: https://medium.com/@vincentclaes_43752/create-a-role-on-aws-for-the-serverless-framework-for-any-resource-c49712a5eee0\n\nReplace the ARN of the lambda role and the ARN of the Glue role with the ones defined in the serverless.yml file.\nThere is a comment above both roles that indicates that you should replace the ARN.\n\n### configure your local environment\n\n    git clone https://github.com/vincentclaes/serverless_data_pipeline_example.git\n    cd serverless_data_pipeline_example\n\nunder the root of this project execute:\n\n    export AWS_PROFILE=\"serverless\"\n    pip install awscli\n    sudo npm install -g serverless\n    npm install serverless-s3-remover\n    \nto deploy the data pipeline execute:\n\n    # replace the `unique-identifier` with something unique\n    sls deploy --stage unique-identifier\n    \nto remove the data pipeline execute:\n\n    # replace the `unique-identifier` with something unique\n    sls remove --stage unique-identifier\n    \nto get more context please refer to the article: https://medium.com/@vincentclaes_43752/build-a-serverless-data-pipeline-on-aws-7c7d498d9707\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentclaes%2Fserverless_data_pipeline_example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvincentclaes%2Fserverless_data_pipeline_example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvincentclaes%2Fserverless_data_pipeline_example/lists"}