Coder Social home page Coder Social logo

terraform-ecs-jenkins's Introduction

terraform-ecs-jenkins

Bootstrap AWS account with an ECS cluster running jenkins

This repo contains a Terraform plan to run an Amazon ECS cluster with a private Amazon ECR Docker registry. And Jenkins 2.0 running from a container with ability to build and run more Docker images.

This project is based on material in Capgemini/terraform-amazon-ecs.git but has deviated to a point where a fork no longer makes sense.

Includes -

  • ECS cluster, launch configuration and autoscaling group
  • ECR repository for one Docker application
  • Jenkins container service with an ELB
  • CloudFormation log group

### Prerequisites

### Usage

  1. Clone the repo
  2. cp terraform.tfvars.example terraform.tfvars
  3. edit terraform.tfvars with your details
  4. Run the plan -
terraform apply

For a full list of overridable variables see variables.tf

Jenkins backup

You can preserve your Jenkins settings by copying your /var/jenkins_home to the s3 bucket path defined by the variable s3_jenkins_backup eg: aws s3 sync /var/jenkins_home/ $s3_jenkins_backup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.