GithubHelp home page GithubHelp logo

terraform-jenkins's Introduction

terraform-jenkins

Create a Jenkins master and a slave on Google Cloud

Requirement

  • Terraform is installed and included in path.

Setup

terraform init

Run the above command only once.

Run

Place the Google Cloud authentication JSON file in the project root folder and rename it to account.json.

Run the following command.

terraform apply

Provide the ID of the Google Cloud project (project_id) when prompted.

Example Output

jenkins_ip = 35.197.134.186
jenkins_password = password
  • jenkins_ip indicates the public IP address of the Jenkins master.
  • jenkins_password is the admin password for Jenkins.

Browse http://<jenkins_ip>:8080 to access the Jenkins web UI. Use the following details to authenticate:

username: admin
password: <jenkins_password>

If the environment is no longer needed,

terraform destroy

Configuration

  • The default admin password for Jenkins can be modified in main.tf.
  • The default value for project_id can be provided in main.tf.

terraform-jenkins's People

Contributors

unyoungwax avatar

Watchers

 avatar

Forkers

sureshaws2143

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.