GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Balaji504/DevOps: Building a configuration pipeline using Packer, Jenkins, AWS, NodeJS and Terraform

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

88 Commits
88 Commits

Folders and files

NameName
Last commit message
Last commit date
ansible
ansible
 
 
jenkins
jenkins
 
 
terraform
terraform
 
 
.DS_Store
.DS_Store
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
Vagrantfile
Vagrantfile
 
 
ubuntu.json
ubuntu.json
 
 
variables.json
variables.json
 
 

Repository files navigation

Golden Rules

It is good to remember these 3 golden rules, which can make your life easier:

• If you repeat an action more, than twice — it should be automated.

• If there are several steps to be done — they should be put in one script.

• When there is some complex set up before running these actions — everything should be documented.

DevOps Tools

DevOps is a set of practices that combines software development and information-technology operations which aims to shorten the systems development life cycle and provide continuous delivery with high software quality. Wikipedia

I will be building a configuration pipeline using Packer, Ansible, Jenkins, AWS, NodeJS and Terraform. And also be using a dev machine by building vagrant in virtualbox.

Virtual box setup

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2.

  1. Go to https://www.virtualbox.org/
  2. Download and install virtualbox.

Vagrant installation loop

Vagrant is an open-source software product for building and maintaining portable virtual software development environments, e.g. for VirtualBox, KVM, Hyper-V, Docker containers, VMware, and AWS. It tries to simplify the software configuration management of virtualizations in order to increase development productivity. Wikipedia

Vagrant enables users to create and configure lightweight, reproducible, and portable development environments. To use vagrant

  1. Go to https://www.vagrantup.com/
  2. Navigate to the downloads page and download the variant for you OS.

Installing Jenkins locally

  1. brew cask install homebrew/cask-versions/adoptopenjdk8
  2. brew install jenkins-lts
  3. brew services start jenkins-lts
  4. To get your password cat /Users/<yourusername>/.jenkins/secrets/initialAdminPassword
  5. Go to localhost:8080 to access jenkins

Running Jenkins from Docker

Create a DockerFile with an ubuntu base image and Jenkins

  1. Install

Packer Installation Instructions


  1. Go to https://www.packer.io/downloads.html
  2. To install Packer on MacOS
  3. Go to the terminal or iterm2
  4. Type in --> brew install packer

Below are the commands which can be used in Packer

*  build     -    Build image(s) from template       
*  fix       -    Fixes templates from old versions of packer    
*  inspect   -    See components of a template       
*  validate  -    Checks that a template is valid       
*  version   -    Prints the Packer version      

Ansible

To create ubunto image run this .

  1. Packer build -var "aws_access_key=key" -var "aws_secret_key=secret" ubuntu.json
  2. Subtitute aws_access_key and aws_secret_key with your own keys to build the image.
  3. Kubernates is to be used with docker using Docker for desktop or minikube or Amazon EKS.

Learning Git

  • https://learngitbranching.js.org/

AWS Fargate and EKS

Docker Swarm

Redis

ArgoCd

vault

https://argoproj.github.io/argo-cd/

About

Building a configuration pipeline using Packer, Jenkins, AWS, NodeJS and Terraform

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.