SlideShare uma empresa Scribd logo
1 de 20
INTRO TO DEVOPS
@shawkyz1
@shawkyz
ABOUT ME
• Built multiple CI/CD Pipelines for businesses with different needs.
• Lived/Worked 4 Years in Germany and now I’m back to ‫الوطن‬ ‫أرض‬
• A Software Engineer at day, a Hacker by night.
• Love to automate everything.
• In love with Security and an OSCP Holder.
• Technical Consultant @S3Geeks
• Security and Systems Engineer @FuturaSolutionsGmbH
DEVOPS IN A NUTSHELL
• Problem: How do we get changes in production as fast as
possible?
WHAT IS AGILE
• Planning and requirements.
• Architecture and design.
• Test planning.
• Coding.
• Testing and results.
• Release and maintenance.
SDLC PHASES
WHAT IS A CI/CD PIPELINE
• The developer writes code and checks into distributed code versioning system like
Git/Bitbucket
• The check-in of code triggers the build in the CI server
• The CI server creates deploy-able artefacts for testing (EAR, WAR, JAR, Docker
images, binaries ) for testing
• Unit tests, Functional tests and System tests are done on the new build and issues
are reported
• Security and penetration testing are done on Production ready model.
• Continuous Integration can also help to set up your production environment
• If the build or tests fail, the CI server alerts the team through, Slack channels, Hip
Chat, Email
DEVOPS IN A NUTSHELL
DEVOPS ENGINEER DUTIES
• Understand the needs and challenges of a client across operations and development, and partner to formulate solutions
that support their business and technical strategies and goals
• Develop solutions encompassing technology, process and people for:
• Continuous Delivery
• Infrastructure strategy & operations (including cloud)
• Build and release management
• Basic understanding of Networking
• Security (fair understanding of application and infrastructure security)
• Recommend and Implement solutions. Be totally hands-on and have the ability to work independently
• Ensure delivery of exceptional technical solutions
• Maintain strong expertise and knowledge of current and emerging processes, techniques and tools
• Build the DevOps practice within ThoughtWorks and drive our thought-leadership externally
• Identifies and resolves problems in a timely manner
• Design, build and maintain the CI/CD infrastructure and tools to deliver Horizon Cloud Service
• Work closely with development teams to ensure that solutions are designed with customer user experience,
scale/performance and operability in mind
WHAT IS A CI/CD PIPELINE
 Developer commits changes to the source code repository
 Build server executes the master build script, or delegates execution to another server
» Checks out source code
» Builds executable version of the application
» Runs other jobs, such as testing and code inspection
 Team is notified of build results through a feedback mechanism
» If alerts are generated, the team takes immediate action to correct problems
» If a code fix is needed, developer commits the corrected code back to the repository; this
action kicks off a new build cycle.
ARCHITECTURE OF A CI BUILD SYSTEM
Definition: CI is the practice of regular, comprehensive, and automatic building
and testing of applications in software development.
Source: NASA IT Summit 2010
WHICH PLATFORM SHOULD I USE
Source: https://stackify.com/jenkins-teamcity-bamboo/
-‫ال‬ ‫ان‬ ‫بالك‬ ‫اخدت‬ ‫حضرتك‬deployment‫شغالة؟‬ ‫مش‬
-‫انت‬ ‫ال‬‫مبتعرفش‬‫تتكلم‬
‫ال‬ ‫كاتب‬ ‫اللي‬ ‫انا‬CI/CD Pipeline‫عبقري‬ ‫كنت‬ ‫و‬
‫ايه‬‫تاني‬‫؟؟‬
SECURE YOUR CI/CD
• Code Analysis. Analyze code for application specific vulnerabilities.
• Container Hardening. Remove unneeded libraries and packages; restrict functions.
• Image Scanning. Scan images for vulnerabilities at build; regularly in registries.
• Image Signing, e.g. Content Trust. Ensure trust with signing and author / publisher verification.
• User Access Controls, e.g. Registries. Restrict and monitor access to trusted registries and deployment
tools.
• Host and Kernel Security. Use SECCOMP, AppArmor, or SELinux or equivalent host security settings.
• Access Controls. Enable restricted access to system and Docker daemon.
• Auditing, e.g. Docker Bench. Perform security audit using Docker CIS benchmark.
SECURE YOUR CI/CD
• Network Inspection & Visualization. Inspect all container to container connections and build
visualization for application stack behavior.
• Threat Detection. Monitor applications for DDoS, DNS attacks and other network based application
attacks.
• Host & Container Privilege Escalation Detection. Detect privilege escalations on hosts and containers to
predict break outs and attacks.
• Packet Capture & Event Logging. Capture packets and event logs to enable forensics.
BUZZWORDS
• Containers
• Kubernetes
• Nagios and Monitoring
• ELK Stack
MONITORING
MONITORING
FOLLOW ME?
@shawkyz1
@shawkyz
@shawkyz1
https://shawkyz.info abdelrhmanshawky4@gmail.com

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

DevOps introduction
DevOps introductionDevOps introduction
DevOps introduction
 
DevOps
DevOpsDevOps
DevOps
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
Devops Devops Devops
Devops Devops DevopsDevops Devops Devops
Devops Devops Devops
 
DevOps 101 - an Introduction to DevOps
DevOps 101  - an Introduction to DevOpsDevOps 101  - an Introduction to DevOps
DevOps 101 - an Introduction to DevOps
 
Devops online training ppt
Devops online training pptDevops online training ppt
Devops online training ppt
 
5 Best Practices DevOps Culture
5 Best Practices DevOps Culture5 Best Practices DevOps Culture
5 Best Practices DevOps Culture
 
DevOps
DevOps DevOps
DevOps
 
Devops insights
Devops insightsDevops insights
Devops insights
 
DevOps - A Gentle Introduction
DevOps - A Gentle IntroductionDevOps - A Gentle Introduction
DevOps - A Gentle Introduction
 
Devops Devops Devops, at Froscon
Devops Devops Devops, at FrosconDevops Devops Devops, at Froscon
Devops Devops Devops, at Froscon
 
DevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | Edureka
DevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | EdurekaDevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | Edureka
DevOps vs Agile | DevOps Tutorial For Beginners | DevOps Training | Edureka
 
Introduction to DevOps
Introduction to DevOpsIntroduction to DevOps
Introduction to DevOps
 
Devops ppt
Devops pptDevops ppt
Devops ppt
 
Introduction to devops
Introduction to devopsIntroduction to devops
Introduction to devops
 
Demystifying DevOps
Demystifying DevOpsDemystifying DevOps
Demystifying DevOps
 
DevOps Explained
DevOps ExplainedDevOps Explained
DevOps Explained
 
DevOps for beginners
DevOps for beginnersDevOps for beginners
DevOps for beginners
 
DevSecOps Basics with Azure Pipelines
DevSecOps Basics with Azure Pipelines DevSecOps Basics with Azure Pipelines
DevSecOps Basics with Azure Pipelines
 
What Is DevOps?
What Is DevOps?What Is DevOps?
What Is DevOps?
 

Semelhante a DevOps intro

SanDiego_DevOps_Meetup_9212016
SanDiego_DevOps_Meetup_9212016SanDiego_DevOps_Meetup_9212016
SanDiego_DevOps_Meetup_9212016
w2fong
 
SanDiego_DevOps_Meetup_9212016-v8
SanDiego_DevOps_Meetup_9212016-v8SanDiego_DevOps_Meetup_9212016-v8
SanDiego_DevOps_Meetup_9212016-v8
Rajwinder Singh
 
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Denim Group
 

Semelhante a DevOps intro (20)

CI/CD on AWS
CI/CD on AWSCI/CD on AWS
CI/CD on AWS
 
DevSecCon Tel Aviv 2018 - End2End containers SSDLC by Vitaly Davidoff
DevSecCon Tel Aviv 2018 - End2End containers SSDLC by Vitaly DavidoffDevSecCon Tel Aviv 2018 - End2End containers SSDLC by Vitaly Davidoff
DevSecCon Tel Aviv 2018 - End2End containers SSDLC by Vitaly Davidoff
 
Security for devs
Security for devsSecurity for devs
Security for devs
 
SanDiego_DevOps_Meetup_9212016
SanDiego_DevOps_Meetup_9212016SanDiego_DevOps_Meetup_9212016
SanDiego_DevOps_Meetup_9212016
 
Ci & proServer
Ci & proServerCi & proServer
Ci & proServer
 
SanDiego_DevOps_Meetup_9212016-v8
SanDiego_DevOps_Meetup_9212016-v8SanDiego_DevOps_Meetup_9212016-v8
SanDiego_DevOps_Meetup_9212016-v8
 
DevOpsCon 2015 - DevOps in Mobile Games
DevOpsCon 2015 - DevOps in Mobile GamesDevOpsCon 2015 - DevOps in Mobile Games
DevOpsCon 2015 - DevOps in Mobile Games
 
Continuous Integration
Continuous IntegrationContinuous Integration
Continuous Integration
 
Enterprise-Grade DevOps Solutions for a Start Up Budget
Enterprise-Grade DevOps Solutions for a Start Up BudgetEnterprise-Grade DevOps Solutions for a Start Up Budget
Enterprise-Grade DevOps Solutions for a Start Up Budget
 
Day 1.pptx
Day 1.pptxDay 1.pptx
Day 1.pptx
 
Devops phase-1
Devops phase-1Devops phase-1
Devops phase-1
 
Perforce on Tour 2015 - Optimising the Developer Pipeline: Deliver Faster & ...
Perforce on Tour 2015 -  Optimising the Developer Pipeline: Deliver Faster & ...Perforce on Tour 2015 -  Optimising the Developer Pipeline: Deliver Faster & ...
Perforce on Tour 2015 - Optimising the Developer Pipeline: Deliver Faster & ...
 
Agile Secure Cloud Application Development Management
Agile Secure Cloud Application Development ManagementAgile Secure Cloud Application Development Management
Agile Secure Cloud Application Development Management
 
Introduction to Continuous Integration
Introduction to Continuous IntegrationIntroduction to Continuous Integration
Introduction to Continuous Integration
 
CI/CD (DevOps) 101
CI/CD (DevOps) 101CI/CD (DevOps) 101
CI/CD (DevOps) 101
 
DevOps for AI Apps
DevOps for AI AppsDevOps for AI Apps
DevOps for AI Apps
 
CICD for the modern data platform
CICD for the modern data platformCICD for the modern data platform
CICD for the modern data platform
 
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
 
Automating Security in Cloud Workloads with DevSecOps
Automating Security in Cloud Workloads with DevSecOpsAutomating Security in Cloud Workloads with DevSecOps
Automating Security in Cloud Workloads with DevSecOps
 
Terrascan - Cloud Native Security Tool
Terrascan - Cloud Native Security Tool Terrascan - Cloud Native Security Tool
Terrascan - Cloud Native Security Tool
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

DevOps intro

  • 2. ABOUT ME • Built multiple CI/CD Pipelines for businesses with different needs. • Lived/Worked 4 Years in Germany and now I’m back to ‫الوطن‬ ‫أرض‬ • A Software Engineer at day, a Hacker by night. • Love to automate everything. • In love with Security and an OSCP Holder. • Technical Consultant @S3Geeks • Security and Systems Engineer @FuturaSolutionsGmbH
  • 3. DEVOPS IN A NUTSHELL • Problem: How do we get changes in production as fast as possible?
  • 5. • Planning and requirements. • Architecture and design. • Test planning. • Coding. • Testing and results. • Release and maintenance. SDLC PHASES
  • 6. WHAT IS A CI/CD PIPELINE
  • 7. • The developer writes code and checks into distributed code versioning system like Git/Bitbucket • The check-in of code triggers the build in the CI server • The CI server creates deploy-able artefacts for testing (EAR, WAR, JAR, Docker images, binaries ) for testing • Unit tests, Functional tests and System tests are done on the new build and issues are reported • Security and penetration testing are done on Production ready model. • Continuous Integration can also help to set up your production environment • If the build or tests fail, the CI server alerts the team through, Slack channels, Hip Chat, Email DEVOPS IN A NUTSHELL
  • 8. DEVOPS ENGINEER DUTIES • Understand the needs and challenges of a client across operations and development, and partner to formulate solutions that support their business and technical strategies and goals • Develop solutions encompassing technology, process and people for: • Continuous Delivery • Infrastructure strategy & operations (including cloud) • Build and release management • Basic understanding of Networking • Security (fair understanding of application and infrastructure security) • Recommend and Implement solutions. Be totally hands-on and have the ability to work independently • Ensure delivery of exceptional technical solutions • Maintain strong expertise and knowledge of current and emerging processes, techniques and tools • Build the DevOps practice within ThoughtWorks and drive our thought-leadership externally • Identifies and resolves problems in a timely manner • Design, build and maintain the CI/CD infrastructure and tools to deliver Horizon Cloud Service • Work closely with development teams to ensure that solutions are designed with customer user experience, scale/performance and operability in mind
  • 9. WHAT IS A CI/CD PIPELINE  Developer commits changes to the source code repository  Build server executes the master build script, or delegates execution to another server » Checks out source code » Builds executable version of the application » Runs other jobs, such as testing and code inspection  Team is notified of build results through a feedback mechanism » If alerts are generated, the team takes immediate action to correct problems » If a code fix is needed, developer commits the corrected code back to the repository; this action kicks off a new build cycle.
  • 10. ARCHITECTURE OF A CI BUILD SYSTEM Definition: CI is the practice of regular, comprehensive, and automatic building and testing of applications in software development. Source: NASA IT Summit 2010
  • 11. WHICH PLATFORM SHOULD I USE Source: https://stackify.com/jenkins-teamcity-bamboo/
  • 12.
  • 13.
  • 14. -‫ال‬ ‫ان‬ ‫بالك‬ ‫اخدت‬ ‫حضرتك‬deployment‫شغالة؟‬ ‫مش‬ -‫انت‬ ‫ال‬‫مبتعرفش‬‫تتكلم‬ ‫ال‬ ‫كاتب‬ ‫اللي‬ ‫انا‬CI/CD Pipeline‫عبقري‬ ‫كنت‬ ‫و‬ ‫ايه‬‫تاني‬‫؟؟‬
  • 15. SECURE YOUR CI/CD • Code Analysis. Analyze code for application specific vulnerabilities. • Container Hardening. Remove unneeded libraries and packages; restrict functions. • Image Scanning. Scan images for vulnerabilities at build; regularly in registries. • Image Signing, e.g. Content Trust. Ensure trust with signing and author / publisher verification. • User Access Controls, e.g. Registries. Restrict and monitor access to trusted registries and deployment tools. • Host and Kernel Security. Use SECCOMP, AppArmor, or SELinux or equivalent host security settings. • Access Controls. Enable restricted access to system and Docker daemon. • Auditing, e.g. Docker Bench. Perform security audit using Docker CIS benchmark.
  • 16. SECURE YOUR CI/CD • Network Inspection & Visualization. Inspect all container to container connections and build visualization for application stack behavior. • Threat Detection. Monitor applications for DDoS, DNS attacks and other network based application attacks. • Host & Container Privilege Escalation Detection. Detect privilege escalations on hosts and containers to predict break outs and attacks. • Packet Capture & Event Logging. Capture packets and event logs to enable forensics.
  • 17. BUZZWORDS • Containers • Kubernetes • Nagios and Monitoring • ELK Stack