@ Bucharest DevOps Hacker Meetup

Slides:



Advertisements
Similar presentations
About Me CTO, Individual Digital, Inc. (Startup) Author of ext/tidy, PHP 5 Unleashed, Zend Ent. PHP Patterns
Advertisements

Devops – The Last Mile. Jay Flowers
Sponsored by the National Science Foundation Configuration Management For Experimenters Sarah Edwards, GPO Max Ott, NICTA.
AI project components: Facter and Hiera
Using the ALM Module Fully Automated Deployments in Stack 3.2.
Cloud Standard API and Contextualization
Puppet with vSphere Workshop Install, configure and use Puppet on your laptop for vSphere DevOps Billy Lieberman August 1, 2015.
The Art and Zen of Managing Nagios with Puppet Michael Merideth - VictorOps
CERN IT Department CH-1211 Genève 23 Switzerland t Experiences running a production Puppet Ben Jones HEPiX Bologna Spring.
Configuration Management with Cobbler and Puppet Kashif Mohammad University of Oxford.
1 PUPPET AND DSC. INTRODUCTION AND USAGE IN CONTINUOUS DELIVERY PROCESS. VIKTAR VEDMICH PAVEL PESETSKIY AUGUST 1, 2015.
Ansible with vCloud Air Workshop
CMI Cloud Solutions Overview. 2 Experts in Cloud Architecture Architect and deploy complex AWS and SoftLayer environments (EC2, EBS, ELB, RDS, Route 53,
Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.
Sponsored by the National Science Foundation Today’s Exercise.
Globus online Delivering a scalable service Steve Tuecke Computation Institute University of Chicago and Argonne National Laboratory.
Alfresco on AWS Provisioning and deploying Alfresco solutions on Amazon Web Services.
Automating Legacy Network Devices
Ansible and Ansible Tower 1 A simple IT automation platform November 2015 Leandro Fernandez and Blaž Zupanc.
Cloud Installation & Configuration Management. Outline  Definitions  Tools, “Comparison”  References.
Sponsored by the National Science Foundation Systematic Experimentation Sarah Edwards GENI Project Office.
Information Initiative Center, Hokkaido University North 11, West 5, Sapporo , Japan Tel, Fax: General.
Terraform at Adobe Kelvin Jasperson. Introduction 2 Systems Adobe Audience Manager (AAM) Been with Adobe for 18 months AAM was acquired by.
© 2015 MetricStream, Inc. All Rights Reserved. AWS server provisioning © 2015 MetricStream, Inc. All Rights Reserved. By, Srikanth K & Rohit.
Introduction to Ansible
Architecting Enterprise Workloads on AWS Mike Pfeiffer.
Pulling the Galaxy’s Strings
Introduction to Ansible
Configuration Management using Ansible
Web application hosting with Openshift, and Docker images
Site Administration Tools: Ansible
100% Exam Passing Guarantee & Money Back Assurance
Modernize Your Operations
Web application hosting with Openshift, and Docker images
Foreman in Your Data Center Lukáš Zapletal
Deploy, Manage, and Scale Your Apps with OpsWorks, Elastic Beanstalk, and CodeDeploy Part 1 – Elastic Beanstalk © 2017 Amazon Web Services, Inc. and.
Infrastructure Orchestration to Optimize Testing
Introduction to Ansible
Quattor in Amazon Cloud
MANAGE AWS INFRASTRUCTURE AS CODE USING TERRAFORM
Microsoft SharePoint Server 2016
Distributed Service Bundles
IT Atoumation / Conf. Mgmt...
Dmytro Mykhailov How HashiCorp platform tools can make the difference in development and deployment Target and goal of HashiCorp.
Puppet
Drupal VM and Docker4Drupal For Drupal Development Platform
Acutelearn Amazon Web Services Training Classroom Training Instructor led trainings at Acutelearn premises Corporate Training Custom tailored trainings.
Acutelearn Best Devops Online Training in Hyderabad Classroom Training Instructor led trainings at Acutelearn premises Corporate Training Custom tailored.
Drupal VM and Docker4Drupal as Consistent Drupal Development Platform
AWS DevOps Engineer - Professional dumps.html Exam Code Exam Name.
Where can I download Aws Devops Engineer Professional Exam Study Material - Get Updated Aws Devops Engineer Professional Braindumps Dumps4downlaod.us
2018 Amazon AWS DevOps Engineer Professional Dumps - DumpsProfessor
Get Amazon AWS-DevOps-Engineer-Professional Exam Real Questions - Amazon AWS-DevOps-Engineer-Professional Dumps Realexamdumps.com
Intro to Config Management Using Salt Open Source
Ansible and Zabbix Rushikesh Prabhune (Software Technical Consultant)
BOSSNINE Technologies
Ansible for Easy Provisioning and Application Deployment
Scaling Puppet and Foreman for HPC
Scaling Experiments.
AWS Boulder - Denver Meetup – January 2017
Introduction to Ansible
Getting Started with Kubernetes and Rancher 2.0
Presented By - Avinash Pawar
Module 01 ETICS Overview ETICS Online Tutorials
GBIF CESP Workshop, Madrid 2018 Dave Martin
In this session… Introduce what we’re talking about
Configuration Management at its peak with
Amazon AWS Certified Solutions Architect Professional solutions-architect-professional-practice-test.html.
OpenStack Summit Berlin – November 14, 2018
Securing IaaS in the cloud
Presentation transcript:

@ Bucharest DevOps Hacker Meetup You can never understand configuration management, until you know how to orchestrate it @ Bucharest DevOps Hacker Meetup

About us – Maria Niță Site Reliability Engineer @ Adobe DevOps @ Kalon Software Engineer @ Openshift via Red Hat Developer @ uberVU Faculty of Mathematics & Computer Science, University of Bucharest Member @ ROSEdu Romanian Open Source for Education Coffee & ice cream

About us – Alexandru Stancu Puppet User ~6 years. Site Reliability Engineer @ Adobe Systems Organizer of the Puppet User Group in Bucharest http://www.meetup.com/Bucharest-Puppet-User-Group/ @salecss https://www.linkedin.com/in/alexstancu

Hypothesis Short introduction to Ansible & Puppet Present the (a common) use case and how we manage it What’s that use case? We want: Dynamic Infrastructure, spread geographically on multiple zones (maybe multi-platform) Application configuration Application deployment Reporting Transition from want to have with Ansible & Puppet

Our use case We have a web app on http://demo.mydevops.ro Create an AWS infrastructure: VPC, EC2 instances, ELBs using CNS (Terraform) Configure the fleet – EC2 instances using Puppet Orchestrate the deployment of our web app with 0 downtime with Ansible

Content Ansible Puppet Demo Q&A What’s what? Ecosystem Use case Examples Puppet Language Basics Puppet server and agent setup on AWS Roles and Profiles Demo Q&A

Ansible - ”[…] until you know how to orchestrate it” Maria Niță – Site Reliability Engineer @ Adobe

What’s, what? Ansible - Simple IT Automation1 Open Source SSH ansible-vault SSH keys User & password Multi platform Roles Community Galaxy push ansible-pull shell commands Python, YAML, Jinja Easy to understand Easy to write Easy to debug Open Source SSH Security Extensible

Ecosystem ansible ansible-playbook ansible-vault ansible-galaxy ansible-pull playbook hosts variables roles tasks

Common use case Other Ansible simple push small pull complex

Example

Alexandru Stancu – Site Reliability Engineer @ Adobe Puppet - ” You can never understand configuration management, until you know how to orchestrate it[…]” Alexandru Stancu – Site Reliability Engineer @ Adobe

Puppet Ecosystem Puppet Server Puppet Agent PuppetDB – Used to store reports and Hiera – This is the place where data is stored. Data auto binding is awesome! Foreman – ENC, Reporting and many more. Puppetboard – Web frontend for PuppetDB. Mcollective – a very cool tool

Puppet Language, Modules and more … A module is a collection of classes Written in Ruby Can work in a client-server setup but also in master-less configuration file { ‘/etc/ssh/sshd_config’: ensure => present, source => “puppet:///modules/${module_name}/sshd_config” } A class is a collection of resources service { ‘sshd’: ensure => running, enable => true }

Puppet Agent Setup On AWS Bootstrap Terraform Provision facts puppet module AWS User Data my_module_facts/lib/facter my_ec2_tags.rb iam_account_alias.rb nagios_host.rb aws_region_name.rb my_other_facts.rb vpc_name.rb AWS Instance hostname = my_role = group = other_facts = fact1=val1,fact2=val2 Puppet Agent TAGS IAM instance profile IAM Role IAM Policy: ec2:Describe* AWS SDK INSTANCE METADATA

Puppet Server site.pp : Puppet DB Puppet Server node default { include ::role::${::my_role} } Node Classification Catalog Compilation AWS Instance Reporting Puppet DB Foreman (deactivate ENC function) Puppet Server Hiera config :hierarchy: - “node/%{::certclient}” - “vpc_name/%{::vpc_name}/role/%{::my_role} - “vpc_name/%{::vpc_name}/common” - “role/%{::my_role}” - common

Puppet Roles and Profiles file { ‘/path/to/custom/file’: ensure => present, source => ‘puppet:///modules/${module_name}/my_file’ } Use contain Class Ordering Hiera Resource Types M2 M1 AWS Instance Role M3 Profiles M4 M6 M5 Business Logic Technical Logic

Puppet Roles and Profiles Resource Types M1 M2 M3 Community Modules AWS Instance Role Profiles M4 M7 Site Modules M6 M5 file { ‘/path/to/custom/file’: ensure => present, source => ‘puppet:///modules/${module_name}/my_file’ } Business Logic Technical Logic

Demo

Q&A – Questions and hopefully Answers