Install Terraform plugin for Jenkins
Download Terraform CLI and associate Terraform binary path to jenkins terraform section.
Azure, RPA, AI, Selenium, Angular, API
Install Terraform plugin for Jenkins
Download Terraform CLI and associate Terraform binary path to jenkins terraform section.
Karate-config.js is a javascript file placed in the karate framework’s classpath to store all the relevant confifurations, global variables etc.
After loging in openshift container platform, follow the YAML build condiguration strategy.
Associate the OCP Jenkins for deployment via Jenkinfile and YAML instructions.
Open Chrome Browser, Login to your youtube.com
After login, just retype url https://www.youtube.com/account
Then a hyperlink “add or manage your channel(s)” will be available on page.
Terraform Jenkins pipeline setup
Assume Jenkins server is already setup
Dowload and install terraform cli.
Note the path of terraform binary downloaded
Install Terraform plugin from Jenkins plugin Manager.
Navigate to Global tool configuration in jenkins.
in terraform section, map the terraform binary folder path
create pipeline jenkins job
write pipeline script, utilize pipeline script
generator’s option ‘Declarative Directive Generator’ for terraform scripting
utilize pipeline script generator, create different CI/CDstages like git checkout, sonar, image publish
RedHat Openshift Container platform Nodejs
Angular app deployment options:
Deployment strategy 1 ::: Source to Image (S2I)
Select Nodejs environment from Catalogues finish setup wizard
Deployment strategy 2 ::: Use Exisitng Docker images
Deployment strategy 3 ::: Write instructions in YAML file
What is Openshift Container Platform?
Openshift Container platform is Red Hat’s PaaS for Applocation development and deployment.
OCP supports various deployment strategy with help of Docker(Pods) and Jenkins under the hood.
Openshift Container platform (OCP) Build
Deployment pipeline:
After login to OCP
“Creat Deployment” option in console will change to “Start pipeline” as YAML build config is created
Click “Start Pipeline”, wait for build to create
pods. A link for Jenkins dashboard will be disaplyed in OCP console
Enable Webhook integration with OCP endpoint
for triggering jobs on git commits
here after on every Git code commits would
build and deploys using OCP
AZ 900 notes 📝 helps for exam preparations:
Overview : In the following article, I will try to explore the different types of Cloud computing, especially Cloud provider Azure and some of the important features packed with Azure.
What are the different types of Cloud computing?
SaaS(Software as a Service) – Provider takes care of services and consumer/customer does not need to worry about any maintenance. E.g. Yahoo email, Salesforce, or similar ERP solutions.
PaaS(Platform as a Service) – Hardware provisioning , configurations, OS maintenance, networking, virtualization etc all been taken care by provider, but the development and management of apps needs to be taken care by customer. Examples are Heroku, Google app engine platform, etc
IaaS(Infrastructure as a Service)- Harware , Data centers, networking, virtualization etc are taken care here by Vendors and consumer can maintain SaaS, PaaS in it. Examples are AWS, Azure, Oracle cloud.
How do I deploy different cloud models?
The options are following,
Public cloud/Cloud-native : here the public cloud of Azure will be used and is most economic compared to other models. This means data centers, storage, networking all done by cloud provider.
Private cloud: Certain organization insists of using their own data centers and make the cloud in their data centers. This is expensive and cloud providers support this.
Hybrid: Orginization picks the options and this is the combination of the above two on how organizations selection.
On premises development are expensive as it comes with complete responsibility starting from procuring servers, networking , virtualization etc. Another note cloud computing side , there can be combination of multiple cloud providers like AWS business application development and Azure for all Microsoft OS related app and dependencies.
What are the different terminologies on cloud computing side?
Scalability vs Elasticity:
Availability and Disaster recovery(DR)/Higly Durable:
What is Hypervisor vs Docker Daemon?
Hypervisor is a software layer that helps to build Virtual machines on top of host machine. VM comes with guest Operating system so the memory consumption from host machine is more.
Docker daemon is software that support Docker containers to run on any host machine or even VMs. The containers are light weight as compared to VMs as it does not need a guest Operating system. Containers can be spun up easily based on Dockerfile is written and build as images.
What is Serverless compute and Functions?
Serverless compute feature is available with cloud providers and is done via managed Servers/VMs and managed containers. So the customer does not need to worry about these aspects and focus on peice of code or Functions that they are responsible for. Costing is minimal and based on computing memory.
How does the Global infrastructure (Regions, Geography) works for cloud computing ?
A Region is ‘group of Datacenters’ or Availabiltiy Zone(AZ). An AZ is one or more datacenter. A region usually conatins 3 AZ.
Azure has 58 regions (1 region = 3 AZ) spreader across 140 countries when I learned about Azure in 2020.
There are paired region Concepts to avoid outage.
Geography is a specific market containing 2 or more Regions. Example US, Canada Geography(group of regions) where companies from respective countries will choose respective Geography as Geography provides a databoundary and specific compliances.
Other Notes:
General Availabiltiy: Service is available in General and there are 3,
Azure Storage services:
Azure database services are the following:
Azure computing Sevices include following:
Azure Integration Services:
Azure Mobile and Developer tools
Azure DevOps Services :
Azure Resource Manager(ARM):
Azure Virtual Network(vNet) and Subnet:
Azure Cloud Native Networking Services:
Azure Networking
Azure IoT
Azure DNS
Azure Scale Set
Azure Loadbalancer
Azure Traffic Manager:
Azure BigData(unstructured/structured data):
AI, ML and DL:
Serverless services:
Cloud provider takes care of the infrastructure and OS.
Serverless services are economical and faster to implement.
Event driven scale – serverless functions can be triggered and build complex and scalable apps.
Abstraction of servers – here servers are abstracted and code is described as functions
Micro billing – serverless functions run for shorter time and cost is based on run time only.
Blob storage – for Serverless object storage
Azure functions – helps to run small amount of code.
Logic apps – helps to build app workflow
Event grid – helps to react to events using pub/sub messaging and also trigger other serverless services such as functions
Azure CLI:
What is Kernel in Operating system?
Kernel is the center core of operating system that controls all the low level activities. Kernel coordinate the software and hardware integration.
What is BIOS?
BIOS is the basic input output system to initiate the booting process and kicked off prior OS takes care of user interactions via software interfaces.
What is Cybersecurity?
Cybersecurity is the practice and processes meant to protect computer systems, programs and networks from malware attacks, data theft etc.
What is penetration testing?
Penetration testing is a planned and controlled ethical hacking on computer system to make sure system is stable against the hackers and malware programs.
What is port scanning ?
Port scanning is a method of identifying which server or network port are open and listening. This is the first step usually hackers do when they target a system.
What is DDoS ?
Distributed denial of service (DDoS) is cyber attack where the hacker tried to bring down the system or network or servers by loading the system with heavy transactions. These attacks make the system temporarily or indefinitely unavailable to users.
What is Botnet ?
Botnet is a group of compromised computers/servers often referred as ‘zombies’ in the control of hackers which may cause DDoS , data theft , unauthorized attack on host systems/network/servers.
What is web reconnaissance ?
Web reconnaissance is the hacking process where the intruder makes the compromised system to gather the nerwork vulnerabilities to make use of further hacking.
What is PyTorch ?
PyTorch is a machine learning library written in python and C++. PyTorch is used for Machine learning projects like computer Vision, Natural language processing. Facebook had developed PyTorch.
What is Computer Vision?
Computer Vision (CV) is an Artificial Intelligence on Machines to be able to identify and categorize real world object using machine learning models, images and videos.