Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
cf-jenkins-503.yml

README.md

Table of Contents

Requirements

  1. Start ECS with 2 node
  2. Start Jenkins service within ECS. 1 Master and 3 Slaves
  3. Enable ALB for Jenkins master

Procedures

Launch

  • Use CF to setup the env
export STACK_NAME="aws-jenkins"
export TMP_FILE="file://cf-jenkins-503.yml"

[ -n "$SSH_KEY_NAME" ] || export SSH_KEY_NAME="YOUR_SSH_KEYNAME_CUSTOMIZE"
aws cloudformation create-stack --template-body "$TMP_FILE" \
    --stack-name "$STACK_NAME" --parameters \
    ParameterKey=JenkinsUser,ParameterValue=username \
    ParameterKey=JenkinsPassword,ParameterValue=mypassword \
    ParameterKey=KeyName,ParameterValue=$SSH_KEY_NAME
aws cloudformation delete-stack --stack-name "$STACK_NAME"

  • Verify Jenkins curl -I http://$server_ip:8080

More Resources

You can’t perform that action at this time.