Skip to content

Instantly share code, notes, and snippets.

@hari796
hari796 / AWSDevOpsStudyNotes
Created February 20, 2021 19:16 — forked from ejlp12/AWSDevOpsStudyNotes
AWS DevOps Engineer Professional Study Notes
CI & CD:
========
2 core software development processes
CI process of automating regular code commits followed by an automated build and test process designed to highlight intergration issues early.
Additional tooling and functionality provided by Bamboo, CruiseControl, Jenkins, Go and TeamCity etc.
workflow based
CD takes the form of a workflow based process which accepts a tested software build payload from a CI server. Automates the deployment into a working QA, Pre-prod or Prod environment.
AWS CodeDeploy and CodePipeline provide CI/CD services
Elasticbeanstalk and CFN provide functionality which can be utilized by CI/CD servers.
@hari796
hari796 / devops_training.txt
Created February 20, 2021 19:24 — forked from ssmythe/devops_training.txt
Training materials for DevOps
======
Videos
======
DevOps
What is DevOps? by Rackspace - Really great introduction to DevOps
https://www.youtube.com/watch?v=_I94-tJlovg
Sanjeev Sharma series on DevOps (great repetition to really get the DevOps concept)
@hari796
hari796 / jenkins_kubernetes_setup.txt
Created February 20, 2021 19:25 — forked from ssmythe/jenkins_kubernetes_setup.txt
Jenkins Kubernetes Setup
Configure Global Security
====
Agents
----
TCP port for inbound agents: 50000
Configure System
====
Main config
@hari796
hari796 / docker
Created February 20, 2021 19:36 — forked from IngmarBoddington/docker
Docker / Dockerfile notes
TERMINOLOGY
-----------
Images - The file system and configuration of our application which are used to create containers
Dockerfile describes an image
Image identifiers can be repo:tag or ID
Containers - Running instances of Docker images — containers run the actual applications. A container includes an application and all of its dependencies. It shares the kernel with other containers, and runs as an isolated process in user space on the host OS. You created a container using docker run which you did using the alpine image that you downloaded. A list of running containers can be seen using the docker ps command.
Image ID != Container ID
When containers are recreated they will have lost any changes made since last created
Docker daemon - The background service running on the host that manages building, running and distributing Docker containers.
Docker client - The command line tool that allows the user to interact with the Docker daemon.
@hari796
hari796 / Ansible: Playbooks Deep Dive
Created February 20, 2021 19:40 — forked from vsathyak/Ansible: Playbooks Deep Dive
Ansible Playbook Notes
Ansible Playbooks
~~~~~~~~~~~~~~~~~
As ad-hoc commands are to bash commands, playbooks are to bash scripts. Playbooks run using 'ansible-playbook' command
and not the ansible command. Playbooks are written in YAML. It contain different elements called plays. Plays contain
list of host and at minimum one task.
You can use default host inventory or you can create a new inventory file.
>> sudo su - ansible
>> pwd ==> /home/ansible
@hari796
hari796 / Docker.txt
Created February 20, 2021 19:43 — forked from vsathyak/Docker.txt
Docker Notes
What is Docker?
Docker is open source project that automates the deployment of applications inside software containers by providing an
additional layer of abstraction and automation of operating-system level virtualization on Lennox seems
DOCKER INSTALLATION
=====================================================================================================================
Install Docker in CentOS
~~~~~~~~~~~~~~~~~~~~~~~~
@hari796
hari796 / ansible.md
Created February 20, 2021 19:50 — forked from douglasmiranda/ansible.md
Ansible: Notes, Errors and Solutions

Ansible for Configuration Management

I'm using Ansible only for Configuration Management, the server is up and I want to configure users, install packages and configure them.

For infrastructure provisioning terraform.io is nice!

Currently, my deployment flow includes Drone.io/GitlabCI for CI/CD and Docker Swarm for orchestrating containers.