Skip to content

Provision an EC2 instance with Docker installed Using Jenkins and Terraform. Afterwards, setup your Docker instance as a Worker Node.

Notifications You must be signed in to change notification settings

Ohubabs/DB-Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DB-Docker

DragonBall Project Part 2

Project Objective

For this project, you are to setup a pipeline to provision an EC2 instance with Docker installed. After provisioning the instance, configure it as a worker node for carrying out Docker related tasks.

Prerequisites

Docker Instance Setup

Step 1: Go to “New Item”, Select “Pipeline” and give it a name e.g. “Docker”

Screenshot 2024-06-24 at 2 56 04 PM

Step 2: Go to “Pipeline Syntax”, select from the dropdown menu the option below with the corresponding variables for your AWS credentials and finally, select the AWS credentials you setup in project 1 (DB-Pipeline)

Screenshot 2024-06-24 at 3 21 50 PM

Screenshot 2024-06-24 at 3 22 06 PM

Step 3: Go to “Configuration”, select “Poll SCM” and enter the details for your github repository or copy, edit, and paste the Jenkinsfile in this repo.

image

Step 4: Click “Build Now”

Screenshot 2024-06-24 at 4 38 28 PM

Screenshot 2024-06-24 at 4 40 06 PM

Screenshot 2024-06-24 at 4 40 15 PM

Screenshot 2024-06-24 at 4 40 33 PM

Screenshot 2024-06-24 at 4 40 48 PM

Screenshot 2024-06-24 at 4 40 58 PM

Step 5: Go to "Manage Jenkins", Select "Nodes" , Enter a name for your Docker Worker Node, and fill in the details for your Docker server

Screenshot 2024-06-24 at 6 03 09 PM

Screenshot 2024-06-24 at 6 04 15 PM

About

Provision an EC2 instance with Docker installed Using Jenkins and Terraform. Afterwards, setup your Docker instance as a Worker Node.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published