Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1019 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 1019 Bytes

Schedule Serverless jobs using AWS Fargate

On this sample of Infrastructure as Code, we are using Terraform to deploy infrastructure to schedule Serverless jobs (bash script) using AWS Fargate.

Blog post available here

Requirements

Usage

Deploy

  • git clone https://github.com/z0ph/serverless-jobs-using-fargate.git
  • Prepare your Docker image (using Dockerfile)
  • Adapt the variables.tf, and "Config" part in Makefile to your needs
  • Run make build-docker
  • Prepare deployment using make init, make validate, then make plan
  • Run make apply
  • Take a nap, enjoy 🍸

Destroy

  • Run make destroy

Schema

Schema