dievops / terraform-jenkins-ecs-fargate

This project launch a jenkins master on amazon ecs using fargate and efs as persisten storage.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Usage

dev.env file

Replace this values with yours.6

Create an s3 bucket and dynamodb table for store state and lock.

RUN:

./ecs.py backend_bootstrap

Deploy ecs cluster using backend from backend_bootstrap.

RUN:

./ecs.py jenkins_deploy

Destroy the s3 buckets and dynamo + ecs cluster + clean files.

RUN:

./ecs.py destroy

Jenkins image.

Use the dockerfile from this project to build your jenkins image because the official image cause permissions issues with fargate/ecs.

:)

About

This project launch a jenkins master on amazon ecs using fargate and efs as persisten storage.


Languages

Language:HCL 71.9%Language:Python 20.9%Language:Smarty 4.9%Language:Shell 2.0%Language:Dockerfile 0.4%