Skip to content

z0ph/serverless-jobs-using-fargate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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