Skip to content

d2si/aws-ecs-jenkins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

aws-ecs-jenkins

Jenkins stack on Amazon ECS with EFS

Deploy cluster

Creates VPC Configuration, EFS and mountpoints and ECS Cluster

cd cfn
aws cloudformation create-stack --stack-name jenkins-ecs-vpc --template-body "$(<cluster.yml)"

Deploy ecs stack (Services, Tasks, ELBs, instances)

tools/deploy-services.sh --cluster-stack-name jenkins-ecs-vpc

Update services and tasks

Stopping manually services and instances to limit costs

cd cfn
aws cloudformation update-stack \
--stack-name jenkins-ecs-stack \
--template-body "$(<cfn/jenkins.yml)" \
--parameters \
  ParameterKey=ECSJenkinsServiceCount,ParameterValue=0 \
  ParameterKey=ECSProxyServiceCount,ParameterValue=0 \
  ParameterKey=ASGDesiredInstances,ParameterValue=0 \
--capabilities CAPABILITY_IAM

Jenkins Slaves images

About

Jenkins stack on Amazon ECS with EFS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published