Deploy Jenkins infrastructure to Amazon EC2 Container Service
500K+
This example deploys Jenkins infrastructure to Amazon EC2 Container Service cluster.
Check out the blog article) for this example.
This example is designed to run on micro instances (t2.micro) and the maximum size of the auto-scaling group has been set to 5 instances. Including storage and data transfer, it costs approximately $0.10/hour to run this example.
To prevent any further billing, the CloudFormation stack should be deleted when done. If you change the instance type and the maximum number of instances, check EC2 Pricing.
.
├── jenkins-home
│ ├── init.groovy.d
│ │ └── startup.groovy.override # configure Jenkins ECS plugin
│ ├── jobs
│ │ └── seed # seed job definition
│ ├── dsl
│ │ └── managedJobs.groovy.override # dsl script to generate the jenkins projects
│ └── plugins.txt # jenkins plugins (including amazon-ecs)
└── Dockerfile # build the Docker image
└── build.gradle # gradle wrapper tasks to execute docker commands
└── jenkins-ecs-stack.json # CloudFormation template to create the stack on AWS
└── deploy-stack-to-aws.sh # run CloudFormation from command line
./deploy-stack-to-aws.shHosted at ticketfly/jenkins-example-aws-ecs
Content type
Image
Digest
Size
236.5 MB
Last updated
about 9 years ago
docker pull ticketfly/jenkins-example-aws-ecs