<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tutorials on Jamkey</title><link>https://jamkey.fr/categories/tutorials/</link><description>Recent content in Tutorials on Jamkey</description><generator>Hugo -- gohugo.io</generator><language>en-US</language><lastBuildDate>Fri, 27 Nov 2026 18:02:59 +0100</lastBuildDate><atom:link href="https://jamkey.fr/categories/tutorials/index.xml" rel="self" type="application/rss+xml"/><item><title>Blog statique Astro avec Github Pages</title><link>https://jamkey.fr/blog-statique-astro-avec-github-pages/</link><pubDate>Fri, 03 Feb 2023 00:00:00 +0000</pubDate><guid>https://jamkey.fr/blog-statique-astro-avec-github-pages/</guid><description>&lt;img src="https://jamkey.fr/images/astro.jpg" alt="Featured image of post Blog statique Astro avec Github Pages" /&gt;&lt;p&gt;La documentation fournit ici les principales infos pour déployer un site Astro dans &lt;strong&gt;Github Pages&lt;/strong&gt; : &lt;a class="link" href="https://docs.astro.build/en/guides/deploy/github/" target="_blank" rel="noopener"
 &gt;https://docs.astro.build/en/guides/deploy/github/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="configuration-astro"&gt;Configuration Astro
&lt;/h2&gt;&lt;p&gt;Créer un fichier &lt;code&gt;astro.config.mjs&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-mjs" data-lang="mjs"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;defineConfig&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="nx"&gt;from&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;astro/config&amp;#39;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="kr"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nx"&gt;defineConfig&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="nx"&gt;site&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;https://jamkey.github.io&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="p"&gt;})&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Créer un pipeline Actions &lt;code&gt;.github/workflows/deploy.yml&lt;/code&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-yaml" data-lang="yaml"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;Deploy to GitHub Pages&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# Trigger the workflow every time you push to the `main` branch&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# Using a different branch name? Replace `main` with your branch’s name&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;push&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;branches&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;main ]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# Allows you to run this workflow manually from the Actions tab on GitHub.&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;workflow_dispatch&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; 
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c"&gt;# Allow this job to clone the repo and create a page deployment&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;permissions&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;contents&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;read&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;pages&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;write&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;id-token&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;write&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nt"&gt;jobs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;build&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;ubuntu-latest&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;Checkout your repository using git&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;actions/checkout@v3&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;Install, build, and upload your site&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;withastro/action@v0&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# with:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# path: . # The root location of your Astro project inside the repository. (optional)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# node-version: 16 # The specific version of Node that should be used to build your site. Defaults to 16. (optional)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="c"&gt;# package-manager: yarn # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;deploy&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;needs&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;build&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;runs-on&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;ubuntu-latest&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;environment&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;github-pages&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;url&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;${{ steps.deployment.outputs.page_url }}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;steps&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;- &lt;span class="nt"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;Deploy to GitHub Pages&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;deployment&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;uses&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="l"&gt;actions/deploy-pages@v1&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Allez dans les paramètres du repo pour activer les &lt;strong&gt;Pages&lt;/strong&gt;.&lt;/p&gt;
&lt;h2 id="les-images-dans-un-site-astro"&gt;Les images dans un site Astro
&lt;/h2&gt;&lt;p&gt;Comme indiqué dans la &lt;a class="link" href="https://docs.astro.build/fr/guides/images/#where-to-store-images" target="_blank" rel="noopener"
 &gt;documentation Astro&lt;/a&gt; :&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Your images stored in src/ can be used by components (.astro, .mdx and other UI frameworks) but not in Markdown files.
So store your images into &lt;code&gt;/images&lt;/code&gt; and reference images in your Markdown pages with `![](/images/&lt;my image file name&gt;)&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Aide&lt;/strong&gt; : vous pouvez ajouter un lien symbolique vers &lt;code&gt;/images&lt;/code&gt; à la racine du projet pour avoir un aperçu des fichiers Markdown avec les images intégrées lors de l&amp;rsquo;édition :&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ln -s public/images images
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id="personnalisation-du-thème"&gt;Personnalisation du thème
&lt;/h2&gt;&lt;p&gt;Toutes les personnalisations sur le thème sont commitées avec le message d&amp;rsquo;en-tête &lt;code&gt;chore(customize)&lt;/code&gt;.
Vous pouvez voir les commits correspondants :
&lt;a class="link" href="https://github.com/sebastienmoreno/sebastienmoreno.github.io/search?q=chore%28customize%29&amp;amp;type=commits" target="_blank" rel="noopener"
 &gt;https://github.com/sebastienmoreno/sebastienmoreno.github.io/search?q=chore%28customize%29&amp;type=commits&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="custom-dns"&gt;Custom DNS
&lt;/h2&gt;&lt;p&gt;Dans mon cas, le but est d&amp;rsquo;avoir un blog accessible depuis &lt;code&gt;https://jamkey.fr&lt;/code&gt; et &lt;code&gt;https://www.jamkey.fr&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;J&amp;rsquo;avais besoin de configurer 2 choses:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Configuration DNS des pages Github&lt;/li&gt;
&lt;li&gt;Configuration du fournisseur DNS OVH&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Github décrit la configuration DNS, c&amp;rsquo;est assez simple :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site" target="_blank" rel="noopener"
 &gt;https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Concernant le fournisseur OVH DNS, vous pouvez configurer :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;un sous-domaine CNAME&lt;/li&gt;
&lt;li&gt;ou un domaine APEX&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Dans mon cas, j&amp;rsquo;ai configuré dans le fournisseur de DNS OVH un domaine APEX.
Cela semble plus intéressant pour gérer aussi la redirection &lt;code&gt;https://www.jamkey.fr&lt;/code&gt; vers &lt;code&gt;https://jamkey.fr&lt;/code&gt;.
Voici la documentation : &lt;a class="link" href="https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain-and-the-www-subdomain-variant" target="_blank" rel="noopener"
 &gt;https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site#configuring-an-apex-domain-and-the-www-subdomain-variant&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;J&amp;rsquo;ai eu de l&amp;rsquo;aide grâce au blog de Daria Hervieux : &lt;a class="link" href="https://da-sha1.me/configuration/2019/03/03/redirect-custom-domain-to-github-pages.html" target="_blank" rel="noopener"
 &gt;https://da-sha1.me/configuration/2019/03/03/redirect-custom-domain-to-github-pages.html&lt;/a&gt;
Merci à elle !&lt;/p&gt;</description></item><item><title>Learning tips for Azure Fundamentals certification AZ-900</title><link>https://jamkey.fr/learning-tips-for-azure-fundamentals-certification-az-900/</link><pubDate>Fri, 03 Feb 2023 00:00:00 +0000</pubDate><guid>https://jamkey.fr/learning-tips-for-azure-fundamentals-certification-az-900/</guid><description>&lt;img src="https://jamkey.fr/images/az-900.jpg" alt="Featured image of post Learning tips for Azure Fundamentals certification AZ-900" /&gt;&lt;p&gt;Cet article contient les éléments techniques essentiels pour pouvoir passer la certification &lt;a class="link" href="https://learn.microsoft.com/fr-fr/certifications/exams/az-900/" target="_blank" rel="noopener"
 &gt;Azure AZ-900&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Vous trouverez aussi des formations sur Youtube:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://www.youtube.com/watch?v=1aNATZ-KzrE&amp;amp;list=PLl0dy42acVd9M9Mn8WGXr_7QljbBWgUNp" target="_blank" rel="noopener"
 &gt;https://www.youtube.com/watch?v=1aNATZ-KzrE&amp;list=PLl0dy42acVd9M9Mn8WGXr_7QljbBWgUNp&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Et aussi des exemples d&amp;rsquo;examen bien pratique pour réviser:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://learn.microsoft.com/en-us/certifications/resources/az-900-sample-questions" target="_blank" rel="noopener"
 &gt;https://learn.microsoft.com/en-us/certifications/resources/az-900-sample-questions&lt;/a&gt;
&lt;a class="link" href="https://learn.microsoft.com/fr-fr/certifications/exams/az-900/practice/assessment?assessment-type=practice&amp;amp;assessmentId=23" target="_blank" rel="noopener"
 &gt;https://learn.microsoft.com/fr-fr/certifications/exams/az-900/practice/assessment?assessment-type=practice&amp;assessmentId=23&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://www.youtube.com/results?search_query=az-900&amp;#43;exam&amp;#43;questions" target="_blank" rel="noopener"
 &gt;https://www.youtube.com/results?search_query=az-900+exam+questions&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Le cours officiel de Azure sur cette certification est divisé en 3 thèmes appelées des &lt;strong&gt;Learning Path&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cloud concepts&lt;/li&gt;
&lt;li&gt;Azure compute and networking services&lt;/li&gt;
&lt;li&gt;Describe Azure management and governance&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Voici des &lt;em&gt;tips&lt;/em&gt; sur ces 3 thèmes à partir de la formation que j&amp;rsquo;ai pu suivre et des exercices passés pour préparer la certification.&lt;/p&gt;
&lt;h1 id="1-learning-path-cloud-concepts"&gt;1 Learning Path: Cloud concepts
&lt;/h1&gt;&lt;h2 id="shared-responsibility-model"&gt;Shared responsibility model
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Consumer responsible at least of data, devices and accounts&lt;/li&gt;
&lt;li&gt;Cloud providers of physical datacenter, network, hosts…&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="cloud-models"&gt;Cloud models
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Private cloud: own datacenter&lt;/li&gt;
&lt;li&gt;Public cloud: use cloud provider&lt;/li&gt;
&lt;li&gt;Hybrid: mix of private and public&lt;/li&gt;
&lt;li&gt;Multi-cloud: use multiple cloud providers&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A hybrid cloud is a computing environment that combines a public cloud and a private cloud by allowing data and applications to be shared between them.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/fundamental-azure-concepts/types-of-cloud-computing" target="_blank" rel="noopener"
 &gt;Discuss different types of cloud models - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Azure Arc&lt;/strong&gt;: to manage cloud models&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Azure Vmware&lt;/strong&gt;: run Vmware workload on Azure&lt;/p&gt;
&lt;h3 id="cloud-public"&gt;Cloud public
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Aucune dépense en capital pour effectuer un scale-up.&lt;/li&gt;
&lt;li&gt;Les applications peuvent être rapidement configurées et déprovisionnées.&lt;/li&gt;
&lt;li&gt;Les organisations paient uniquement pour ce qu’ils utilisent.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="cloud-privé"&gt;Cloud privé
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Le matériel doit être acheté pour le démarrage et la maintenance.&lt;/li&gt;
&lt;li&gt;Les organisations disposent d’un contrôle total sur les ressources et la sécurité.&lt;/li&gt;
&lt;li&gt;Les organisations sont responsables de la maintenance et des mises à jour du matériel.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="cloud-hybride"&gt;Cloud hybride
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Offre la plus grande flexibilité.&lt;/li&gt;
&lt;li&gt;Les organisations déterminent où exécuter leurs applications.&lt;/li&gt;
&lt;li&gt;Les organisations contrôlent la sécurité, la conformité ou les exigences légales.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="consumption-based-model"&gt;Consumption-based model
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Capital expenditure (CapEx)&lt;/strong&gt; : buy material, once paid is yours, but limited resources.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Operational expenditure (OpEx)&lt;/strong&gt;: rent material, public cloud consumption-based model: You’re billed only for what you use.&lt;/p&gt;
&lt;h2 id="summary"&gt;Summary
&lt;/h2&gt;&lt;p&gt;&lt;a class="link" href="https://docs.microsoft.com/en-us/azure/security/fundamentals/shared-responsibility" target="_blank" rel="noopener"
 &gt;https://docs.microsoft.com/en-us/azure/security/fundamentals/shared-responsibility&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="high-availability---slas"&gt;High Availability - SLAS
&lt;/h2&gt;&lt;p&gt;&lt;img alt="SLAs" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/slas.png"&gt;&lt;/p&gt;
&lt;h2 id="scaling"&gt;Scaling
&lt;/h2&gt;&lt;p&gt;Vertical scaling is focused on increasing or decreasing the capabilities of resources. Horizontal scaling is adding or subtracting the number of resources.&lt;/p&gt;
&lt;h2 id="iaas"&gt;IaaS
&lt;/h2&gt;&lt;p&gt;Maximum of control on the resources.
IaaS helps you reduce the cost and complexity of maintaining a physical server and its datacenter infrastructure. Virtual networks are part of the IaaS cloud service.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/fundamental-azure-concepts/categories-of-cloud-services" target="_blank" rel="noopener"
 &gt;Describe different cloud services - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="paas"&gt;PaaS
&lt;/h2&gt;&lt;p&gt;PaaS is well suited to provide a complete development environment without the headache of maintaining all the development infrastructure.&lt;/p&gt;
&lt;p&gt;In PaaS, the cloud provider is responsible for the operating system, physical datacenter, physical hosts, and physical network. In PaaS, the customer is responsible for accounts and identities.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/fundamental-azure-concepts/categories-of-cloud-services" target="_blank" rel="noopener"
 &gt;Describe different cloud services - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="saas"&gt;SaaS
&lt;/h2&gt;&lt;p&gt;Typical for enterprises services like ERP&lt;/p&gt;
&lt;p&gt;SaaS is software that is centrally hosted and managed for you and your users or customers. Usually, one version of the application is used for all customers, and it is licensed through a monthly or annual subscription. PaaS and IaaS use a consumption-based model, so you only pay for what you use.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/fundamental-azure-concepts/categories-of-cloud-services" target="_blank" rel="noopener"
 &gt;Describe different cloud services - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/xaas.png"&gt;&lt;/p&gt;
&lt;h1 id="2-learning-path-azure-compute-and-networking-services"&gt;2 Learning Path: Azure compute and networking services
&lt;/h1&gt;&lt;h2 id="virtual-machines"&gt;Virtual machines
&lt;/h2&gt;&lt;p&gt;VMs are an ideal choice when you need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Total control over the operating system (OS).&lt;/li&gt;
&lt;li&gt;The ability to run custom software.&lt;/li&gt;
&lt;li&gt;To use custom hosting configurations.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;VM Resources:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Size (purpose, number of processor cores, and amount of RAM)&lt;/li&gt;
&lt;li&gt;Storage disks (hard disk drives, solid state drives, etc.)&lt;/li&gt;
&lt;li&gt;Networking (virtual network, public IP address, and port configuration)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Azure Reservations offers discounted prices on certain Azure services. Azure Reservations can save you up to 72 percent compared to pay-as-you-go prices. To receive a discount, you can reserve services and resources by paying in advance.&lt;/p&gt;
&lt;p&gt;Spending limits can suspend a subscription when the spend limit is reached.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/plan-manage-azure-costs/6-manage-minimize-total-cost" target="_blank" rel="noopener"
 &gt;Manage and minimize total cost on Azure - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="virtual-machine-scale-sets-vmss"&gt;Virtual machine scale sets (VMSS)
&lt;/h2&gt;&lt;p&gt;Large-scale services for areas such as compute, big data, and container workloads.&lt;/p&gt;
&lt;p&gt;Automatically deploy a load balancer.&lt;/p&gt;
&lt;p&gt;Virtual machine scale enables you to provision a group of matching and load-balanced virtual machines in Azure.&lt;/p&gt;
&lt;p&gt;Imagine you are running a website that enables scientists to upload astronomy images that need to be processed. If you duplicated the VM, you would normally need to configure an additional service to route requests between multiple instances of the website. Virtual machine scale sets could do that work for you.&lt;/p&gt;
&lt;h2 id="virtual-machine-availability-sets-vmas"&gt;Virtual machine availability sets (VMAS)
&lt;/h2&gt;&lt;p&gt;Availability sets are designed to ensure that VMs stagger updates and have varied power and network connectivity, preventing you from losing all your VMs with a single network or power failure.&lt;/p&gt;
&lt;p&gt;Group by &amp;ldquo;update domain&amp;rdquo; (VMs that can be rebooted at the same time) or &amp;ldquo;fault domain&amp;rdquo; (VMs by common power source and network switch).&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Differences between VMSS and VMAS: &lt;a class="link" href="https://www.c-sharpcorner.com/Blogs/differentiate-between-availability-set-availability-zone-and-scale-set" target="_blank" rel="noopener"
 &gt;https://www.c-sharpcorner.com/Blogs/differentiate-between-availability-set-availability-zone-and-scale-set&lt;/a&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h2 id="azure-batch"&gt;Azure Batch
&lt;/h2&gt;&lt;p&gt;Azure Batch enables large-scale parallel and high-performance computing (HPC) batch jobs with the ability to scale to tens, hundreds, or thousands of VMs.&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Source: &lt;a class="link" href="https://learn.microsoft.com/en-us/training/modules/azure-compute-fundamentals/azure-virtual-machines" target="_blank" rel="noopener"
 &gt;https://learn.microsoft.com/en-us/training/modules/azure-compute-fundamentals/azure-virtual-machines&lt;/a&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h2 id="azure-virtual-desktop"&gt;Azure Virtual Desktop
&lt;/h2&gt;&lt;p&gt;Desktop and application virtualization service that runs on the cloud.&lt;/p&gt;
&lt;p&gt;Centralized security management for users&amp;rsquo; desktops with Azure Active Directory.&lt;/p&gt;
&lt;h2 id="azure-containers"&gt;Azure Containers
&lt;/h2&gt;&lt;p&gt;Azure Container Instances: platform as a service (PaaS) offering allow you to upload your containers and run the containers.&lt;/p&gt;
&lt;h2 id="azure-functions"&gt;Azure Functions
&lt;/h2&gt;&lt;p&gt;Concerned about the code and not about the infrastructure.&lt;/p&gt;
&lt;p&gt;Good choice when demand is variable.&lt;/p&gt;
&lt;p&gt;Only charged for the CPU time used while your function runs.&lt;/p&gt;
&lt;p&gt;Stateless by default, Stateful called &amp;ldquo;Durable Functions&amp;rdquo; a context is passed.&lt;/p&gt;
&lt;h2 id="azure-app-service"&gt;Azure App Service
&lt;/h2&gt;&lt;p&gt;Host most common app service styles like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Web apps (hosting ASP.NET, ASP.NET Core, Java, Ruby, Node.js, PHP, or Python)&lt;/li&gt;
&lt;li&gt;API apps (REST-based web APIs )&lt;/li&gt;
&lt;li&gt;WebJobs (scheduled or run by a trigger)&lt;/li&gt;
&lt;li&gt;Mobile apps (back end for iOS and Android apps)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="azure-virtual-network"&gt;Azure Virtual Network
&lt;/h2&gt;&lt;p&gt;Azure virtual networks provide the following key networking capabilities:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Isolation and segmentation&lt;/li&gt;
&lt;li&gt;Internet communications&lt;/li&gt;
&lt;li&gt;Communicate between Azure resources&lt;/li&gt;
&lt;li&gt;Communicate with on-premises resources&lt;/li&gt;
&lt;li&gt;Route network traffic&lt;/li&gt;
&lt;li&gt;Filter network traffic&lt;/li&gt;
&lt;li&gt;Connect virtual networks&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/svc-endpoint.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/vnet.png"&gt;&lt;/p&gt;
&lt;p&gt;Peering can connect Vnets:
&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/local-or-remote-gateway-in-peered-virual-network.png"&gt;&lt;/p&gt;
&lt;h2 id="azure-service-endpoints"&gt;Azure Service endpoints
&lt;/h2&gt;&lt;p&gt;Service endpoints are used to expose Azure services to a virtual network, providing communication between the two. ExpressRoute is used to connect an on-premises network to Azure. NSGs allow you to configure inbound and outbound rules for virtual networks and virtual machines. Peering allows you to connect virtual networks together.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/azure-networking-fundamentals/azure-virtual-network-fundamentals" target="_blank" rel="noopener"
 &gt;Azure Virtual Network fundamentals - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="vpn-gateways"&gt;VPN gateways
&lt;/h2&gt;&lt;p&gt;A VPN gateway is a type of virtual network gateway. Azure VPN Gateway instances are deployed in a dedicated subnet of the virtual network and enable the following connectivity:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Connect on-premises datacenters to virtual networks through a site-to-site connection.&lt;/li&gt;
&lt;li&gt;Connect individual devices to virtual networks through a point-to-site connection.&lt;/li&gt;
&lt;li&gt;Connect virtual networks to other virtual networks through a network-to-network connection.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Site-to-site VPN: Established between on-premises VPN device and an Azure VPN Gateway that is deployed in a virtual network. This connection type allow communication between any on-premises authorize resource to access a virtual network through an encrypted tunnel.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/site-to-site.png"&gt;&lt;/p&gt;
&lt;p&gt;Point-to-site: A Point-to-Site (P2S) VPN gateway connection lets you create a secure connection to your virtual network from an individual client computer.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/point-to-site.png"&gt;&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Source: &lt;a class="link" href="https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-about" target="_blank" rel="noopener"
 &gt;https://learn.microsoft.com/en-us/azure/vpn-gateway/point-to-site-about&lt;/a&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h2 id="azure-expressroute"&gt;Azure ExpressRoute
&lt;/h2&gt;&lt;p&gt;Azure ExpressRoute lets you extend your on-premises networks into the Microsoft cloud over a private connection, with the help of a connectivity provider.&lt;/p&gt;
&lt;p&gt;ExpressRoute provides direct connectivity to Azure cloud services and connects Microsoft’s global network. All transferred data is not encrypted, and do not go over the public Internet.&lt;/p&gt;
&lt;p&gt;VPN Gateway provides secured connectivity to Azure cloud services over the public Internet. All transferred data is encrypted in a private tunnel as it crosses the internet.&lt;/p&gt;
&lt;p&gt;A Point-to-point Ethernet connection is supported by ExpressRoute for connecting your on-premises network to Azure.&lt;/p&gt;
&lt;p&gt;The three models that ExpressRoute supports are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;CloudExchange colocation&lt;/li&gt;
&lt;li&gt;Point-to-point Ethernet connection&lt;/li&gt;
&lt;li&gt;Any-to-any-connection&lt;/li&gt;
&lt;/ul&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Source: &lt;a class="link" href="https://learn.microsoft.com/training/modules/azure-networking-fundamentals/express-route-fundamentals" target="_blank" rel="noopener"
 &gt;https://learn.microsoft.com/training/modules/azure-networking-fundamentals/express-route-fundamentals&lt;/a&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;p&gt;ExpressRoute connections and Azure VPN Gateway are two services that you can use to connect an on-premises network to Azure. Bastion provides a web interface to remotely administer Azure virtual machines by using SSH/RDP. Azure Firewall is a stateful firewall service used to protect virtual networks.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/azure/expressroute/expressroute-connectivity-models" target="_blank" rel="noopener"
 &gt;Azure ExpressRoute: Connectivity models | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/azure-networking-fundamentals/azure-vpn-gateway-fundamentals" target="_blank" rel="noopener"
 &gt;Azure VPN Gateway fundamentals - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="azure-dns"&gt;Azure DNS
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;manage DNS records&lt;/li&gt;
&lt;li&gt;supports private DNS domains&lt;/li&gt;
&lt;li&gt;supports alias record sets&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="azure-storage"&gt;Azure Storage
&lt;/h2&gt;&lt;p&gt;Locally redundant storage (LRS): redondance sur le même DC (le plus simple, pas cher)&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/lrs.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Zone-redundant storage (ZRS)&lt;/strong&gt;: redondance sur plusieurs zone/DC (HA et gouvernance)&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/zrs.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Geo-redundant storage (GRS)&lt;/strong&gt;: redondance locale ET dans un autre DC/zone&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Geo-redundant storage (GRS)&lt;/strong&gt; -Replicates your data to a secondary region that is in different geographic locations from the primary region.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/grs.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Geo-zone-redundant storage (GZRS)&lt;/strong&gt;: redondance sur plusieurs zones/DC ET redondance dans un autre DC (top)&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/gzrs.png"&gt;&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Reference:
&lt;a class="link" href="https://gudurustechblog.wordpress.com/2021/09/15/azure-storage-redundancy/" target="_blank" rel="noopener"
 &gt;https://gudurustechblog.wordpress.com/2021/09/15/azure-storage-redundancy/&lt;/a&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;p&gt;The Azure Storage platform includes the following data services:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Azure Blobs: A massively scalable object store for text and binary data. Also includes support for big data analytics through Data Lake Storage Gen2.&lt;/li&gt;
&lt;li&gt;Azure Files: Managed file shares for cloud or on-premises deployments.&lt;/li&gt;
&lt;li&gt;Azure Queues: A messaging store for reliable messaging between application components.&lt;/li&gt;
&lt;li&gt;Azure Disks: Block-level storage volumes for Azure VMs.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Geo-distribution&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;Because of geo-distribution you can deploy apps and data to regional datacenters around the globe, thereby ensuring that your customers always have the best performance in their region.&lt;/p&gt;
&lt;h2 id="azure-storage-1"&gt;Azure Storage
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Azure Blob storage&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Azure Blob storage is an object storage solution that you can use to store massive amounts of unstructured data, such as text or binary data.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/azure-storage-fundamentals/azure-storage-accounts" target="_blank" rel="noopener"
 &gt;Azure Storage account fundamentals - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/storage1.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/storage2.png"&gt;&lt;/p&gt;
&lt;h2 id="identity"&gt;Identity
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Azure AD&lt;/strong&gt;: authentification, sso, gestion apps et devices&lt;/p&gt;
&lt;p&gt;Azure AD Connect synchronise les identités utilisateur entre un Active Directory local et Azure AD.&lt;/p&gt;
&lt;p&gt;Active Directory Domain Services: domain join, group policy, LDAP, and Kerberos/NTLM authentication.&lt;/p&gt;
&lt;p&gt;Authentication: standard passwords, single sign-on (SSO), multifactor authentication (MFA), and passwordless&lt;/p&gt;
&lt;p&gt;Authentication - To confirm the identity of a person who wants access.&lt;/p&gt;
&lt;p&gt;Authentication is the process of establishing the identity of a person or service that wants to access a resource.&lt;/p&gt;
&lt;p&gt;Authorization - To grant the proper access to a legitimate user.&lt;/p&gt;
&lt;p&gt;Authorization is the process of establishing what level of access a legitimate user or service should have.&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Source: &lt;a class="link" href="https://learn.microsoft.com/training/modules/secure-access-azure-identity-services/2-compare-authentication-authorization" target="_blank" rel="noopener"
 &gt;https://learn.microsoft.com/training/modules/secure-access-azure-identity-services/2-compare-authentication-authorization&lt;/a&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Conditional Access&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Conditional Access is a tool that Azure AD uses to allow or deny access to resources based on identity signals, such as the device being used. SSO enables a user to sign in one time and use that credential to access multiple resources and applications from different providers. MFA is a process whereby a user is prompted during the sign-in process for an additional form of identification. Hybrid identity solutions create a common user identity for authentication and authorization to all resources, regardless of location.&lt;/p&gt;
&lt;p&gt;Conditional Access can use signals to determine information about authentication attempts, and then determine whether to block access or require additional verifications, such as MFA.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/secure-access-azure-identity-services/4-what-are-mfa-conditional-access" target="_blank" rel="noopener"
 &gt;What are multifactor authentication and Conditional Access? - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Azure AD provides services for verifying identity and access to applications and resources. SSO enables you to remember a single username and password to access multiple applications and is available in Azure AD.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/secure-access-azure-identity-services/3-what-is-azure-active-directory" target="_blank" rel="noopener"
 &gt;What is Azure Active Directory? - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="azure-accounts"&gt;Azure accounts
&lt;/h2&gt;&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/account-scope-levels.png"&gt;&lt;/p&gt;
&lt;p&gt;Free account: 12 months access to certain services, 200$ the first 30 days, 25 free services&lt;/p&gt;
&lt;p&gt;Student account: 12 months access to certain services, 200$ the first 12 month, free dev tools&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Learn sandbox&lt;/strong&gt;: temp subscription to do exercices&lt;/p&gt;
&lt;p&gt;Azure generates separate billing reports and invoices for each subscription so that you can organize and manage costs. Resource groups can be used to group costs, but you will not receive a separate invoice for each resource group. Management groups are used to efficiently manage access, policies, and compliance for subscriptions. You can set up billing profiles to roll up subscriptions into invoice sections, but this requires customization.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/azure-architecture-fundamentals/management-groups-subscriptions" target="_blank" rel="noopener"
 &gt;Azure subscriptions and management groups - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Management groups&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/mangement-groups.png"&gt;&lt;/p&gt;
&lt;p&gt;Management groups help you manage access, policy, and compliance for multiple subscriptions. All subscriptions in a management group automatically inherit the conditions applied to the management group.&lt;/p&gt;
&lt;h2 id="azure-dc-region-az"&gt;Azure DC, Region, AZ
&lt;/h2&gt;&lt;p&gt;&lt;img alt="Diagram showing three datacenters connected in a single Azure region representing an availability zone." loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/availability-zones.png"&gt;
AZ: 1 or more DC&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Zonal services: You pin the resource to a specific zone (for example, VMs, managed disks, IP addresses).&lt;/li&gt;
&lt;li&gt;Zone-redundant services: The platform replicates automatically across zones (for example, zone-redundant storage, SQL Database).&lt;/li&gt;
&lt;li&gt;Non-regional services: Services are always available from Azure geographies and are resilient to zone-wide outages as well as region-wide outages.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Availability zones are physically separate datacenters within an Azure region. Each availability zone is made up of one or more datacenters equipped with independent power, cooling, and networking.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/azure-architecture-fundamentals/regions-availability-zones" target="_blank" rel="noopener"
 &gt;Azure regions, availability zones, and region pairs - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Diagram showing the relationship between geography, region pair, region, and availability zone." loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/region-pairs.png"&gt;&lt;/p&gt;
&lt;p&gt;Region pairs allow the replication of Azure resources across geographies to help ensure that a secondary region is available in case of any disaster at the primary region.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/azure-architecture-fundamentals/regions-availability-zones" target="_blank" rel="noopener"
 &gt;Azure regions, availability zones, and region pairs - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="layers-of-defense-in-depth"&gt;Layers of defense in depth
&lt;/h2&gt;&lt;p&gt;A defense in depth strategy uses a series of mechanisms to slow the advancement of an attack that aims to gain unauthorized access to data. The principle of least privilege means restricting access to information to only the level that users need to perform their work. A DDoS attack attempts to overwhelm and exhaust an application&amp;rsquo;s resources. The perimeter layer is about protecting an organization&amp;rsquo;s resources from network-based attacks.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/secure-network-connectivity-azure/2-what-is-defense-in-depth" target="_blank" rel="noopener"
 &gt;What is defense in depth? - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/security-in-depth.png"&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The physical security layer is the first line of defense to protect computing hardware in the datacenter.&lt;/li&gt;
&lt;li&gt;The identity and access layer controls access to infrastructure and change control.&lt;/li&gt;
&lt;li&gt;The perimeter layer uses distributed denial of service (DDoS) protection to filter large-scale attacks before they can cause a denial of service for users.&lt;/li&gt;
&lt;li&gt;The network layer limits communication between resources through segmentation and access controls.&lt;/li&gt;
&lt;li&gt;The compute layer secures access to virtual machines.&lt;/li&gt;
&lt;li&gt;The application layer helps ensure that applications are secure and free of security vulnerabilities.&lt;/li&gt;
&lt;li&gt;The data layer controls access to business and customer data that you need to protect.&lt;/li&gt;
&lt;/ul&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Source: &lt;a class="link" href="https://learn.microsoft.com/en-us/training/modules/secure-network-connectivity-azure/2-what-is-defense-in-depth" target="_blank" rel="noopener"
 &gt;https://learn.microsoft.com/en-us/training/modules/secure-network-connectivity-azure/2-what-is-defense-in-depth&lt;/a&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h1 id="3-learning-path-describe-azure-management-and-governance"&gt;3 Learning Path: Describe Azure management and governance
&lt;/h1&gt;&lt;h2 id="azure-resource-manager"&gt;Azure Resource Manager
&lt;/h2&gt;&lt;p&gt;ARM is the deployment and management service for Azure. It provides a management layer that enables you to create, update, and delete resources in an Azure subscription. You use management features, such as access control, resource locks, and resource tags, to secure and organize resources after deployment.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/azure-architecture-fundamentals/resources-resource-manager" target="_blank" rel="noopener"
 &gt;Azure resources and Azure Resource Manager - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="azure-blueprints"&gt;Azure blueprints
&lt;/h2&gt;&lt;p&gt;Azure Blueprints provide a way to define a repeatable set of Azure resources. Azure Blueprints enable development teams to rapidly provision and run new environments, with the knowledge that they&amp;rsquo;re in line with the organization’s compliance requirements. Teams can also provide Azure resources across several subscriptions simultaneously, meaning they can achieve shorter development times and quicker delivery.&lt;/p&gt;
&lt;p&gt;By using ARM templates, you can describe the resources you want to use in a declarative JSON format.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/management-fundamentals/2-identify-product-options" target="_blank" rel="noopener"
 &gt;Identify the product options - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="azure-policies"&gt;Azure policies
&lt;/h2&gt;&lt;p&gt;Ensure resources are compliant.&lt;/p&gt;
&lt;p&gt;Azure Policy is designed to help enforce standards and assess compliance across your organization. Through its compliance dashboard, you can access an aggregated view to help evaluate the overall state of the environment. You can drill down to a per-resource, or per-policy level granularity. You can also use capabilities like bulk remediation for existing resources and automatic remediation for new resources, to resolve issues rapidly and effectively&lt;/p&gt;
&lt;h2 id="azure-locks"&gt;Azure Locks
&lt;/h2&gt;&lt;p&gt;Prevent resources modification.&lt;/p&gt;
&lt;p&gt;Resource locks can be used to prevent resources from being accidentally deleted or changed. Even with role-based access control policies in place there is still a risk that people with the right level of access could delete a critical resource. Azure Resource Manager locks prevent users from accidentally deleting or modifying a critical resource, and can be applied to a subscription, a resource group, or a resource.&lt;/p&gt;
&lt;h2 id="service-trust-portal"&gt;Service Trust Portal
&lt;/h2&gt;&lt;p&gt;&lt;a class="link" href="https://servicetrust.microsoft.com/" target="_blank" rel="noopener"
 &gt;https://servicetrust.microsoft.com/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="azure-arc"&gt;Azure ARC
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Serveurs&lt;/li&gt;
&lt;li&gt;Clusters Kubernetes&lt;/li&gt;
&lt;li&gt;Services de données Azure&lt;/li&gt;
&lt;li&gt;SQL Server&lt;/li&gt;
&lt;li&gt;Machines virtuelles (préversion)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="azure-advisor"&gt;Azure Advisor
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Reliability is used to ensure and improve the continuity of your business-critical applications.&lt;/li&gt;
&lt;li&gt;Security is used to detect threats and vulnerabilities that might lead to security breaches.&lt;/li&gt;
&lt;li&gt;Performance is used to improve the speed of your applications.&lt;/li&gt;
&lt;li&gt;Operational Excellence is used to help you achieve process and workflow efficiency, resource manageability, and deployment best practices.&lt;/li&gt;
&lt;li&gt;Cost is used to optimize and reduce your overall Azure spending.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="azure-health"&gt;Azure Health
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Azure Status is a  global view of the health of all Azure services across all Azure regions.&lt;/li&gt;
&lt;li&gt;Service Health:  the Azure services and regions you&amp;rsquo;re using.  Azure Service Health alerts you about service issues that happen in Azure itself, such as a regional Azure outage&lt;/li&gt;
&lt;li&gt;Resource Health is a tailored view of your actual Azure resources.&lt;/li&gt;
&lt;/ul&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Source: &lt;a class="link" href="https://learn.microsoft.com/training/modules/monitoring-fundamentals/2-identify-product-options" target="_blank" rel="noopener"
 &gt;https://learn.microsoft.com/training/modules/monitoring-fundamentals/2-identify-product-options&lt;/a&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;p&gt;After an outage, Service Health provides official incident reports called root cause analysis (RCA), which you can share with stakeholders.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/monitoring-fundamentals/2-identify-product-options" target="_blank" rel="noopener"
 &gt;Identify your product options - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="azure-monitor"&gt;Azure Monitor
&lt;/h2&gt;&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/az-900/azure-monitor.png"&gt;&lt;/p&gt;
&lt;p&gt;Application Insights: monitor our web applications&lt;/p&gt;
&lt;p&gt;Application Insights is a feature of Azure Monitor that allows you to monitor running applications, automatically detect performance anomalies, and use built-in analytics tools to see what users do on an app.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/monitoring-fundamentals/2-identify-product-options" target="_blank" rel="noopener"
 &gt;Identify your product options - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="health-advisories"&gt;Health advisories
&lt;/h2&gt;&lt;p&gt;Health advisories are issues that require that you take proactive action to avoid service interruptions, such as service retirements and breaking changes. Service issues are problems such as outages that require immediate actions.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://learn.microsoft.com/training/modules/monitoring-fundamentals/2-identify-product-options" target="_blank" rel="noopener"
 &gt;Identify your product options - Training | Microsoft Learn&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="costs"&gt;Costs
&lt;/h2&gt;&lt;p&gt;Pricing calculator: &lt;a class="link" href="https://azure.microsoft.com/fr-fr/pricing/calculator/" target="_blank" rel="noopener"
 &gt;https://azure.microsoft.com/fr-fr/pricing/calculator/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;TCO (Total Cost of Ownership): &lt;a class="link" href="https://azure.microsoft.com/fr-fr/pricing/tco/calculator/" target="_blank" rel="noopener"
 &gt;https://azure.microsoft.com/fr-fr/pricing/tco/calculator/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Pour calculer le coût d&amp;rsquo;économie dans le cloud Azure&lt;/p&gt;
&lt;h2 id="tags"&gt;Tags
&lt;/h2&gt;&lt;p&gt;Resource management Tags:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;enable you to locate and act on resources that are associated with specific workloads, environments, business units, and owners.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Cost management and optimization Tags:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;enable you to group resources so that you can report on costs, allocate internal cost centers, track budgets, and forecast estimated cost.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Operations management Tags:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;enable you to group resources according to how critical their availability is to your business. This grouping helps you formulate service-level agreements (SLAs). An SLA is an uptime or performance guarantee between you and your users.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Security Tags:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;enable you to classify data by its security level, such as public or confidential.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Governance and regulatory compliance Tags:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;enable you to identify resources that align with governance or regulatory compliance requirements, such as ISO 27001.&lt;/li&gt;
&lt;li&gt;Tags can also be part of your standards enforcement efforts. For example, you might require that all resources be tagged with an owner or department name.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Workload optimization and automation Tags:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;can help you visualize all of the resources that participate in complex deployments. For example, you might tag a resource with its associated workload or application name and use software such as Azure DevOps to perform automated tasks on those resources.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A resource tag consists of a name and a value. You can assign one or more tags to each Azure resource.&lt;/p&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Name&lt;/th&gt;
 &lt;th&gt;Value&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;AppName&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;The name of the application that the resource is part of.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;CostCenter&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;The internal cost center code.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Owner&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;The name of the business owner who&amp;rsquo;s responsible for the resource.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Environment&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;An environment name, such as &amp;ldquo;Prod,&amp;rdquo; &amp;ldquo;Dev,&amp;rdquo; or &amp;ldquo;Test.&amp;rdquo;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Impact&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;How important the resource is to business operations, such as &amp;ldquo;Mission-critical,&amp;rdquo; &amp;ldquo;High-impact,&amp;rdquo; or &amp;ldquo;Low-impact.&amp;rdquo;&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;</description></item><item><title>Start a project with JHipster</title><link>https://jamkey.fr/start-a-project-with-jhipster/</link><pubDate>Sat, 09 Jul 2016 00:00:00 +0000</pubDate><guid>https://jamkey.fr/start-a-project-with-jhipster/</guid><description>&lt;img src="https://jamkey.fr/images/jhipster.jpg" alt="Featured image of post Start a project with JHipster" /&gt;&lt;p&gt;&lt;strong&gt;JHipster&lt;/strong&gt; is a free and open-source application generator used to develop quickly a modern web application using AngularJS and the Spring Framework.&lt;br&gt;
JHipster provides tools to generate a project with a Java stack on the server side (using Spring Boot) and a responsive Web front-end on the client side (with AngularJS and Bootstrap).&lt;br&gt;
The term ‘JHipster’ comes from ‘Java Hipster’, as its initial goal was to use all the modern and ‘hype’ tools available at the time.&lt;br&gt;
Today, it has reached a more enterprise goal, with a strong focus on developer productivity, tooling and quality.&lt;/p&gt;
&lt;p&gt;See this presentation for more information:&lt;br&gt;
&lt;a class="link" href="https://jhipster.github.io/presentation/#/" target="_blank" rel="noopener"
 &gt;https://jhipster.github.io/presentation/#/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="what-jhipster-do-"&gt;What JHipster do ?
&lt;/h2&gt;&lt;h3 id="the-major-functionnalities"&gt;The major functionnalities
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Generate a full stack application, with many options&lt;/li&gt;
&lt;li&gt;Generate CRUD entities&lt;/li&gt;
&lt;li&gt;Database migrations with Liquibase&lt;/li&gt;
&lt;li&gt;NoSQL databases support (Cassandra, MongoDB)&lt;/li&gt;
&lt;li&gt;Elasticsearch support&lt;/li&gt;
&lt;li&gt;Websockets support&lt;/li&gt;
&lt;li&gt;Automatic deployment to CloudFoundry, Heroku, OpenShift&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="the-stack"&gt;The Stack
&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Technology stack on the client side&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Single Web page application:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Responsive Web Design&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://html5boilerplate.com/" target="_blank" rel="noopener"
 &gt;HTML5 Boilerplate&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://getbootstrap.com/" target="_blank" rel="noopener"
 &gt;Twitter Bootstrap&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://angularjs.org/" target="_blank" rel="noopener"
 &gt;AngularJS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Compatible with IE9+ and modern browsers&lt;/li&gt;
&lt;li&gt;Full internationalization support with &lt;a class="link" href="https://github.com/angular-translate/angular-translate" target="_blank" rel="noopener"
 &gt;Angular Translate&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Optional &lt;a class="link" href="https://www.npmjs.com/package/node-sass" target="_blank" rel="noopener"
 &gt;Sass&lt;/a&gt; support for CSS design&lt;/li&gt;
&lt;li&gt;Optional WebSocket support with Spring Websocket&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;With the great &lt;a class="link" href="http://yeoman.io/" target="_blank" rel="noopener"
 &gt;Yeoman&lt;/a&gt; development workflow:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Easy installation of new JavaScript libraries with &lt;a class="link" href="http://bower.io/" target="_blank" rel="noopener"
 &gt;Bower&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Build, optimization and live reload with &lt;a class="link" href="http://www.gulpjs.com/" target="_blank" rel="noopener"
 &gt;Gulp.js&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Testing with &lt;a class="link" href="http://karma-runner.github.io/" target="_blank" rel="noopener"
 &gt;Karma&lt;/a&gt; and &lt;a class="link" href="http://phantomjs.org/" target="_blank" rel="noopener"
 &gt;PhantomJS&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;And what if a single Web page application isn’t enough for your needs?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support for the &lt;a class="link" href="http://www.thymeleaf.org/" target="_blank" rel="noopener"
 &gt;Thymeleaf&lt;/a&gt; template engine, to generate Web pages on the server side&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Technology stack on the server side&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;A complete &lt;a class="link" href="http://spring.io/" target="_blank" rel="noopener"
 &gt;Spring application&lt;/a&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://projects.spring.io/spring-boot/" target="_blank" rel="noopener"
 &gt;Spring Boot&lt;/a&gt; for easy application configuration&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://maven.apache.org/" target="_blank" rel="noopener"
 &gt;Maven&lt;/a&gt; or &lt;a class="link" href="http://www.gradle.org/" target="_blank" rel="noopener"
 &gt;Gradle&lt;/a&gt; configuration for building, testing and running the application&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://jhipster.github.io/profiles/" target="_blank" rel="noopener"
 &gt;« development » and « production » profiles&lt;/a&gt; (both for Maven and Gradle)&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://docs.spring.io/spring-security/site/index.html" target="_blank" rel="noopener"
 &gt;Spring Security&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://spring.io/guides/gs/rest-service/" target="_blank" rel="noopener"
 &gt;Spring MVC REST&lt;/a&gt; + &lt;a class="link" href="https://github.com/FasterXML/jackson" target="_blank" rel="noopener"
 &gt;Jackson&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Optional WebSocket support with Spring Websocket&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://projects.spring.io/spring-data-jpa/" target="_blank" rel="noopener"
 &gt;Spring Data JPA&lt;/a&gt; + Bean Validation&lt;/li&gt;
&lt;li&gt;Database updates with &lt;a class="link" href="http://www.liquibase.org/" target="_blank" rel="noopener"
 &gt;Liquibase&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://github.com/elastic/elasticsearch" target="_blank" rel="noopener"
 &gt;Elasticsearch&lt;/a&gt; support if you want to have search capabilities on top of your database&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://www.mongodb.org/" target="_blank" rel="noopener"
 &gt;MongoDB&lt;/a&gt; support if you’d rather use a document-oriented NoSQL database instead of JPA&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://cassandra.apache.org/" target="_blank" rel="noopener"
 &gt;Cassandra&lt;/a&gt; support if you’d rather use a column-oriented NoSQL database instead of JPA&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Ready to go into production:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Monitoring with &lt;a class="link" href="http://metrics.dropwizard.io/" target="_blank" rel="noopener"
 &gt;Metrics&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Caching with &lt;a class="link" href="http://ehcache.org/" target="_blank" rel="noopener"
 &gt;ehcache&lt;/a&gt; (local cache) or &lt;a class="link" href="http://www.hazelcast.com/" target="_blank" rel="noopener"
 &gt;hazelcast&lt;/a&gt; (distributed cache)&lt;/li&gt;
&lt;li&gt;Optional HTTP session clustering with &lt;a class="link" href="http://www.hazelcast.com/" target="_blank" rel="noopener"
 &gt;hazelcast&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Optimized static resources (gzip filter, HTTP cache headers)&lt;/li&gt;
&lt;li&gt;Log management with &lt;a class="link" href="http://logback.qos.ch/" target="_blank" rel="noopener"
 &gt;Logback&lt;/a&gt;, configurable at runtime&lt;/li&gt;
&lt;li&gt;Connection pooling with &lt;a class="link" href="https://github.com/brettwooldridge/HikariCP" target="_blank" rel="noopener"
 &gt;HikariCP&lt;/a&gt; for optimum performance&lt;/li&gt;
&lt;li&gt;Builds a standard WAR file or an executable JAR file&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="how-does-it-works"&gt;How does it works
&lt;/h2&gt;&lt;p&gt;Here is an example of JHipster generation. All the source code example are available in my GitHub: &lt;a class="link" href="https://github.com/jamkey/simplejhipster" target="_blank" rel="noopener"
 &gt;https://github.com/jamkey/simplejhipster&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="proxy-setup"&gt;Proxy setup
&lt;/h3&gt;&lt;p&gt;Working in a corporate environment you very often have issue to access to Internet resources. A proxy is very often used by corporations to filter Internet accesses. Here are few tips to deal with proxies when using JHipster stack.&lt;/p&gt;
&lt;p&gt;In order to work JHipster will get NPM packages from the registry.&lt;/p&gt;
&lt;p&gt;You have to setup your proxy to work with command lines.&lt;/p&gt;
&lt;p&gt;JHipster uses NPM, Bower. But these tools used also Git commands and Github accesses !&lt;/p&gt;
&lt;p&gt;So you have to setup proxy for each tools. In the example, change &lt;Your ID&gt; and &lt;Your password&gt; by your Directory ID and password.&lt;/p&gt;
&lt;h4 id="npm-proxy-setup"&gt;NPM proxy setup
&lt;/h4&gt;&lt;p&gt;To use a HTTP proxy add a config to NPM.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm config &lt;span class="nb"&gt;set&lt;/span&gt; proxy http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;proxy host&amp;gt;:&amp;lt;proxy port&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;npm config &lt;span class="nb"&gt;set&lt;/span&gt; https-proxy http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;proxy host&amp;gt;:&amp;lt;proxy port&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To delete this config you just have to execute the following commands:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm config rm proxy
npm config rm https-proxy
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;With NPM you can also use a Nexus proxy to proxify all the access to NPM registry.&lt;/p&gt;
&lt;p&gt;To do that you have to add a config to NPM.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm config set registry http://mynexus.mycorporate/nexus/content/groups/npm-all
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;All the config is put into a &lt;em&gt;.npmrc&lt;/em&gt; file in your home directory.&lt;/strong&gt;&lt;/p&gt;
&lt;h4 id="bower-proxy-setup"&gt;Bower proxy setup
&lt;/h4&gt;&lt;p&gt;Add a &lt;em&gt;.bowerrc&lt;/em&gt; file into your home directory to add a proxy config.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;{
 &amp;#34;directory&amp;#34;: &amp;#34;library&amp;#34;,
 &amp;#34;registry&amp;#34;: &amp;#34;http://bower.herokuapp.com&amp;#34;,
 &amp;#34;proxy&amp;#34;: &amp;#34;http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;my proxy host&amp;gt;:&amp;lt;my proxy port&amp;gt;&amp;#34;,
 &amp;#34;https-proxy&amp;#34;: &amp;#34;http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;my proxy host&amp;gt;:&amp;lt;my proxy port&amp;gt;&amp;#34;
}
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="git-proxy-setup"&gt;Git proxy setup
&lt;/h4&gt;&lt;p&gt;To use a HTTP proxy add a config to Git.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;git config --global http.proxy http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;your proxy host&amp;gt;:&amp;lt;your proxy port&amp;gt;
git config --global https.proxy http://&amp;lt;Your ID&amp;gt;:&amp;lt;Your password&amp;gt;@&amp;lt;your proxy host&amp;gt;:&amp;lt;your proxy port&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To delete this config you just have to execute the following commands:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;git config --global --unset http.proxygit config --global --unset https.proxy
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In somes cases, you will have to uncheck the SSL verification. This is not recommended !&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;git config --global http.sslVerify false
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="install-jhipster"&gt;Install JHipster
&lt;/h3&gt;&lt;ol&gt;
&lt;li&gt;Install Java 8 from &lt;a class="link" href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank" rel="noopener"
 &gt;the Oracle website&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;(Optional) Install a Java build tool.
&lt;ul&gt;
&lt;li&gt;Whether you choose to use &lt;a class="link" href="http://maven.apache.org/" target="_blank" rel="noopener"
 &gt;Maven&lt;/a&gt; or &lt;a class="link" href="http://www.gradle.org/" target="_blank" rel="noopener"
 &gt;Gradle&lt;/a&gt;, you normally don’t have to install anything, as JHipster will automatically install the &lt;a class="link" href="https://github.com/takari/maven-wrapper" target="_blank" rel="noopener"
 &gt;Maven Wrapper&lt;/a&gt; or the &lt;a class="link" href="http://gradle.org/docs/current/userguide/gradle_wrapper.html" target="_blank" rel="noopener"
 &gt;Gradle Wrapper&lt;/a&gt; for you.&lt;/li&gt;
&lt;li&gt;If you don’t want to use those wrappers, go to the official &lt;a class="link" href="http://maven.apache.org/" target="_blank" rel="noopener"
 &gt;Maven webiste&lt;/a&gt; or &lt;a class="link" href="http://www.gradle.org/" target="_blank" rel="noopener"
 &gt;Gradle website&lt;/a&gt; to do your own installation.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Install Git from &lt;a class="link" href="http://git-scm.com/" target="_blank" rel="noopener"
 &gt;git-scm.com&lt;/a&gt;. We recommend you also use a tool like &lt;a class="link" href="http://www.sourcetreeapp.com/" target="_blank" rel="noopener"
 &gt;SourceTree&lt;/a&gt; if you are starting with Git.&lt;/li&gt;
&lt;li&gt;Install Node.js from &lt;a class="link" href="http://nodejs.org/" target="_blank" rel="noopener"
 &gt;the Node.js website&lt;/a&gt; (prefer an LTS version). This will also install npm, which is the node package manager we are using in the next commands.&lt;/li&gt;
&lt;li&gt;Install Yeoman:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g yo
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="6"&gt;
&lt;li&gt;Install Bower:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g bower
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="7"&gt;
&lt;li&gt;Install Gulp:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g gulp
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="8"&gt;
&lt;li&gt;Install JHipster:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g generator-jhipster
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;To know the version of JHipster you use execute the command:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm list -g generator-jhipster 
/Users/sebastien/.node/lib 
└── generator-jhipster@3.4.2 
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;You will need a compiler for your OS (Visual C++ for Windows…) in order to build some tools and benefit from all the features.&lt;/p&gt;
&lt;p&gt;Example for Windows:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="http://www.microsoft.com/fr-fr/download/details.aspx?id=19988" target="_blank" rel="noopener"
 &gt;http://www.microsoft.com/fr-fr/download/details.aspx?id=19988&lt;/a&gt;&lt;/p&gt;
&lt;h3 id="generate-the-base-project"&gt;Generate the base project
&lt;/h3&gt;&lt;p&gt;In this example we start generating a simple application called &lt;strong&gt;simplejhipster&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Launch the Yeoman JHipster generator and just follow the questions.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ mkdir simplejhipster
$ cd simplejhipster
$ yo jhipster
 
 ██ ██ ██ ████████ ███████ ██████ ████████ ████████ ███████
 ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
 ██ ████████ ██ ███████ █████ ██ ██████ ███████
 ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
 ██████ ██ ██ ████████ ██ ██████ ██ ████████ ██ ██

 http://jhipster.github.io

Welcome to the JHipster Generator v3.4.2
Application files will be generated in folder: /Users/sebastien/veille/jhipsterexample
? (1/16) Which *type* of application would you like to create? Monolithic application (recommended for simple projects)
? (2/16) What is the base name of your application? simplejhipster
? (3/16) What is your default Java package name? fr.jamkey.jhipster
? (4/16) Which *type* of authentication would you like to use? HTTP Session Authentication (stateful, default Spring Security mechanism)
? (5/16) Do you want to use social login (Google, Facebook, Twitter)? Warning, this doesn&amp;#39;t work with Cassandra! No
? (6/16) Which *type* of database would you like to use? SQL (H2, MySQL, MariaDB, PostgreSQL, Oracle)
? (7/16) Which *production* database would you like to use? MySQL
? (8/16) Which *development* database would you like to use? H2 with disk-based persistence
? (9/16) Do you want to use Hibernate 2nd level cache? Yes, with ehcache (local cache, for a single node)
? (10/16) Do you want to use a search engine in your application? No
? (11/16) Do you want to use clustered HTTP sessions? No
? (12/16) Do you want to use WebSockets? No
? (13/16) Would you like to use Maven or Gradle for building the backend? Gradle
? (14/16) Would you like to use the LibSass stylesheet preprocessor for your CSS? No
? (15/16) Would you like to enable internationalization support? Yes
? Please choose the native language of the application? English
? Please choose additional languages to install French
? (16/16) Which testing frameworks would you like to use? Gatling, Cucumber, Protractor
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Yeoman will generate all the directory tree, Java classes, Javascript front, configuration, resources and build script from your choices.&lt;/p&gt;
&lt;p&gt;The commands ‘&lt;em&gt;npm install&lt;/em&gt;‘ and ‘&lt;em&gt;bower install&lt;/em&gt;‘ are executed at the end to retrieve all the NPM and Bower dependencies&lt;/p&gt;
&lt;p&gt;An advice here is to commit/push/tag the base project now, just after generating the base application.&lt;/p&gt;
&lt;p&gt;It will be very usefull in order to use the merge features of Git when you will use again the generator.&lt;/p&gt;
&lt;p&gt;For example, our SimpleJHipster application is tagged with a v0.0 version containing the base generation project:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jamkey/simplejhipster/releases/tag/v0.0" target="_blank" rel="noopener"
 &gt;https://github.com/jamkey/simplejhipster/releases/tag/v0.0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;All the generation configuration is kept into the &lt;em&gt;.yo-rc.json&lt;/em&gt; file at the root of the project.&lt;/p&gt;
&lt;p&gt;Keep this file and just execute ‘yo jhipster’ and you will get the same base application.&lt;/p&gt;
&lt;p&gt;The directory generated will look like this:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/jhipster/jhipster-directory.png"&gt;&lt;/p&gt;
&lt;h4 id="test-the-generated-application"&gt;Test the generated application
&lt;/h4&gt;&lt;p&gt;Execute the following command to launch the application:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;gradle 
:bower 
:cleanResources UP-TO-DATE 
:nodeSetup SKIPPED 
:gulpConstantDev 
[14:49:03] Using gulpfile ~/veille/simplejhipster/gulpfile.js 
[14:49:03] Starting ‘ngconstant:dev’… 
[14:49:03] Finished ‘ngconstant:dev’ after 16 ms 
:processResources 
:compileJava 
:compileScala UP-TO-DATE 
:classes 
:findMainClass 
:bootRun 
14:49:07.934 [main] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Loading from YAML: class path resource [config/application.yml] 
14:49:07.962 [main] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Merging document (no matchers set): {management={context-path=/management, health={mail={enabled=false}}}, spring={application={name=simplejhipster}, profiles={active=dev}, jpa={open-in-view=false, hibernate={ddl-auto=none, naming-strategy=org.springframework.boot.orm.jpa.hibernate.SpringNamingStrategy}}, messages={basename=i18n/messages}, mvc={favicon={enabled=false}}, thymeleaf={mode=XHTML}}, security={basic={enabled=false}}, jhipster={async={corePoolSize=2, maxPoolSize=50, queueCapacity=10000}, mail={from=simplejhipster@localhost}, swagger={title=simplejhipster API, description=simplejhipster API documentation, version=0.0.1, termsOfServiceUrl=null, contactName=null, contactUrl=null, contactEmail=null, license=null, licenseUrl=null}, ribbon={displayOnActiveProfiles=dev}}} 
14:49:07.963 [main] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Loaded 1 document from YAML resource: class path resource [config/application.yml] 
14:49:08.021 [restartedMain] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Loading from YAML: class path resource [config/application.yml] 
14:49:08.024 [restartedMain] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Merging document (no matchers set): {management={context-path=/management, health={mail={enabled=false}}}, spring={application={name=simplejhipster}, profiles={active=dev}, jpa={open-in-view=false, hibernate={ddl-auto=none, naming-strategy=org.springframework.boot.orm.jpa.hibernate.SpringNamingStrategy}}, messages={basename=i18n/messages}, mvc={favicon={enabled=false}}, thymeleaf={mode=XHTML}}, security={basic={enabled=false}}, jhipster={async={corePoolSize=2, maxPoolSize=50, queueCapacity=10000}, mail={from=simplejhipster@localhost}, swagger={title=simplejhipster API, description=simplejhipster API documentation, version=0.0.1, termsOfServiceUrl=null, contactName=null, contactUrl=null, contactEmail=null, license=null, licenseUrl=null}, ribbon={displayOnActiveProfiles=dev}}} 
14:49:08.025 [restartedMain] DEBUG org.springframework.beans.factory.config.YamlPropertiesFactoryBean – Loaded 1 document from YAML resource: class path resource [config/application.yml]

██  ██    ██  ████████  ███████    ██████  ████████  ████████  ███████ 
██  ██    ██     ██     ██    ██  ██          ██     ██        ██    ██ 
██  ████████     ██     ███████    █████      ██     ██████    ███████ 
██    ██  ██    ██     ██     ██             ██     ██     ██        ██   ██ 
██████   ██    ██  ████████  ██        ██████      ██     ████████  ██    ██

:: JHipster   :: Running Spring Boot 1.3.5.RELEASE :: 
:: http://jhipster.github.io ::

2016-07-09 14:49:08.593  INFO 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : Starting SimplejhipsterApp on MacBook-Pro-de-Sebastien.local with PID 34917 (/Users/sebastien/veille/simplejhipster/build/classes/main started by sebastien in /Users/sebastien/veille/simplejhipster) 
2016-07-09 14:49:08.594 DEBUG 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : Running with Spring Boot v1.3.5.RELEASE, Spring v4.2.6.RELEASE 
2016-07-09 14:49:08.594  INFO 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : The following profiles are active: dev 
2016-07-09 14:49:08.922 DEBUG 34917 — [kground-preinit] org.jboss.logging                        : Logging Provider: org.jboss.logging.Slf4jLoggerProvider found via system property 
2016-07-09 14:49:10.504 DEBUG 34917 — [  restartedMain] f.j.jhipster.config.AsyncConfiguration   : Creating Async Task Executor 
2016-07-09 14:49:10.865 DEBUG 34917 — [  restartedMain] f.j.j.config.MetricsConfiguration        : Registering JVM gauges 
2016-07-09 14:49:10.872 DEBUG 34917 — [  restartedMain] f.j.j.config.MetricsConfiguration        : Initializing Metrics JMX reporting 
2016-07-09 14:49:11.603  INFO 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Web application configuration, using profiles: [dev] 
2016-07-09 14:49:11.604 DEBUG 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Initializing Metrics registries 
2016-07-09 14:49:11.606 DEBUG 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Registering Metrics Filter 
2016-07-09 14:49:11.606 DEBUG 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Registering Metrics Servlet 
2016-07-09 14:49:11.607 DEBUG 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Initialize H2 console 
2016-07-09 14:49:11.608  INFO 34917 — [ost-startStop-1] fr.jamkey.jhipster.config.WebConfigurer  : Web application fully configured 
2016-07-09 14:49:11.901 DEBUG 34917 — [ost-startStop-1] f.j.j.config.DatabaseConfiguration       : Configuring Datasource 
2016-07-09 14:49:12.151 DEBUG 34917 — [ost-startStop-1] f.j.j.config.DatabaseConfiguration       : Configuring Liquibase 
2016-07-09 14:49:12.165  WARN 34917 — [ster-Executor-1] f.j.j.c.liquibase.AsyncSpringLiquibase   : Starting Liquibase asynchronously, your database might not be ready at startup! 
objc[34917]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined. 
2016-07-09 14:49:13.400 DEBUG 34917 — [ster-Executor-1] f.j.j.c.liquibase.AsyncSpringLiquibase   : Started Liquibase in 1235 ms 
2016-07-09 14:49:14.427  INFO 34917 — [ost-startStop-1] fr.jamkey.jhipster.SimplejhipsterApp     : Running with Spring profile(s) : [dev] 
2016-07-09 14:49:15.648 DEBUG 34917 — [  restartedMain] f.j.jhipster.config.CacheConfiguration   : Starting Ehcache 
2016-07-09 14:49:15.650 DEBUG 34917 — [  restartedMain] f.j.jhipster.config.CacheConfiguration   : Registering Ehcache Metrics gauges 
2016-07-09 14:49:16.017 DEBUG 34917 — [  restartedMain] f.j.j.c.apidoc.SwaggerConfiguration      : Starting Swagger 
2016-07-09 14:49:16.026 DEBUG 34917 — [  restartedMain] f.j.j.c.apidoc.SwaggerConfiguration      : Started Swagger in 9 ms 
2016-07-09 14:49:16.903  INFO 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : Started SimplejhipsterApp in 8.877 seconds (JVM running for 9.277) 
2016-07-09 14:49:16.903  INFO 34917 — [  restartedMain] fr.jamkey.jhipster.SimplejhipsterApp     : 
———————————————————- 
Application ‘simplejhipster’ is running! Access URLs: 
Local:         http://127.0.0.1:8080 
External:     http://192.168.0.48:8080 
———————————————————- 
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Go to the provided URL, you should see the generated application up and running:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/jhipster/jhipster-screen.png"&gt;&lt;/p&gt;
&lt;h2 id="add-new-entities"&gt;Add new entities
&lt;/h2&gt;&lt;p&gt;You can add entities to JHipster with the command line. But it is very convenient, fast and useful by the JDL Studio which is an open source UML online application:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://jhipster.github.io/jdl-studio/" target="_blank" rel="noopener"
 &gt;https://jhipster.github.io/jdl-studio/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/jhipster/jdlstudio.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Method:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;write your entities en the left with the simple description language&lt;/li&gt;
&lt;li&gt;write your relationship&lt;/li&gt;
&lt;li&gt;you can see the result in a UML point of view on the right&lt;/li&gt;
&lt;li&gt;click download to get the JDL file&lt;/li&gt;
&lt;li&gt;copy the JDL file at the root of the project&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here is a JDL file sample we will use for the SimpleJHipster application:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jamkey/simplejhipster/blob/master/simplejhipster.jdl" target="_blank" rel="noopener"
 &gt;https://github.com/jamkey/simplejhipster/blob/master/simplejhipster.jdl&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Install the JHipster-UML generator:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;npm install -g jhipster-uml
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The syntax of execution is the following:&lt;/p&gt;
&lt;p&gt;Syntax:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;jhipster-uml &amp;lt;xmi file&amp;gt; [-options]

The options are: -db &amp;lt;the database name&amp;gt;

Defines which database type your app uses; -dto [BETA] Generates DTO with MapStruct for the selected entities; -paginate Generates pagination for the selected entities; -service Generates services for the selected entities.

Once you have the JDL file in your project (here called ‘jhipster-example.jdl’), call the JHipster-UML generator to add the entities to you current JHipster project:

nbsp;jhipster-uml simplejhipster.jdl -db 
In the One-to-Many relationship from Department to Employee, only bidirectionality is supported for a One-to-Many association. The other side will be automatically added. 
In the One-to-Many relationship from Employee to Job, only bidirectionality is supported for a One-to-Many association. The other side will be automatically added. 
Creating: 
Region 
Country 
Location 
Department 
Task 
Employee 
Job 
JobHistory 
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Again, an advice here is to commit/push/tag the project now, just after generating the entities of the application.&lt;/p&gt;
&lt;p&gt;For example, our SimpleJHipster application is tagged with a v0.1 version containing the base generation project:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jamkey/simplejhipster/releases/tag/v0.1" target="_blank" rel="noopener"
 &gt;https://github.com/jamkey/simplejhipster/releases/tag/v0.1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The entities are now created. You can now re-launch the application to see the results.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;$ gradle
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Once logged into the UI, you have access to management pages of the generated entities:&lt;/p&gt;
&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/jhipster/jhipster-entities.png"&gt;&lt;/p&gt;
&lt;p&gt;Jhipster will manage merge of modifications by command line.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;You now have a complete application you can start from. With all bindings (Spring AngularJS, Security, API, administration) and conventions relevant for you application.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="next-steps"&gt;Next steps
&lt;/h2&gt;&lt;p&gt;Since JHipster version 3, the generation is &lt;strong&gt;micro-service&lt;/strong&gt; oriented. Back and front can be separated easily.&lt;/p&gt;
&lt;p&gt;A JHipster Dashboard based on Hystrix can monitor circuit breakers.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jhipster/jhipster-dashboard" target="_blank" rel="noopener"
 &gt;https://github.com/jhipster/jhipster-dashboard&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;JHipster also provides a &lt;strong&gt;Registry&lt;/strong&gt; for micro-services to plug-in.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jhipster/jhipster-registry" target="_blank" rel="noopener"
 &gt;https://github.com/jhipster/jhipster-registry&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A &lt;strong&gt;JHipster Console&lt;/strong&gt; based on Elastic Stack is also available:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/jhipster/jhipster-console" target="_blank" rel="noopener"
 &gt;https://github.com/jhipster/jhipster-console&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have a look at the JHipster website:&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://jhipster.github.io/" target="_blank" rel="noopener"
 &gt;https://jhipster.github.io/&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="external-links"&gt;External Links
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;JHipster site&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://jhipster.github.io/" target="_blank" rel="noopener"
 &gt;https://jhipster.github.io/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A JHipster book is being written by Matt Raible, the author of &lt;a class="link" href="https://en.wikipedia.org/wiki/AppFuse" target="_blank" rel="noopener"
 &gt;AppFuse&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.jhipster-book.com/" target="_blank" rel="noopener"
 &gt;http://www.jhipster-book.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Node behind a proxy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a class="link" href="http://jjasonclark.com/how-to-setup-node-behind-web-proxy" target="_blank" rel="noopener"
 &gt;http://jjasonclark.com/how-to-setup-node-behind-web-proxy&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;NPM Nexus proxy&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;ul&gt;
&lt;li&gt; &lt;a class="link" href="https://books.sonatype.com/nexus-book/reference/npm-proxying-registries.html#fig-npm-proxy" target="_blank" rel="noopener"
 &gt;https://books.sonatype.com/nexus-book/reference/npm-proxying-registries.html#fig-npm-proxy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt; &lt;a class="link" href="https://books.sonatype.com/nexus-book/reference/npm-configuring.html" target="_blank" rel="noopener"
 &gt;https://books.sonatype.com/nexus-book/reference/npm-configuring.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Setup Elastic Stack monitoring</title><link>https://jamkey.fr/setup-elastic-stack-monitoring/</link><pubDate>Mon, 20 Jun 2016 00:00:00 +0000</pubDate><guid>https://jamkey.fr/setup-elastic-stack-monitoring/</guid><description>&lt;img src="https://jamkey.fr/images/elastic.jpg" alt="Featured image of post Setup Elastic Stack monitoring" /&gt;&lt;p&gt;The goal of the tutorial is to set up Logstash to gather syslogs of multiple servers, and set up Kibana to visualize the gathered logs.&lt;/p&gt;
&lt;p&gt;Our &lt;strong&gt;Elastic stack&lt;/strong&gt; (&lt;em&gt;previously named ELK stack&lt;/em&gt;) setup has four main components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Logstash&lt;/strong&gt;: The server component of Logstash that processes incoming logs&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Elasticsearch&lt;/strong&gt;: Stores all of the logs&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Kibana&lt;/strong&gt;: Web interface for searching and visualizing logs, which will be proxied through Nginx&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Filebeat&lt;/strong&gt;: Installed on client servers that will send their logs to Logstash, Filebeat serves as a log shipping agent that utilizes the &lt;em&gt;lumberjack&lt;/em&gt; networking protocol to communicate with Logstash&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;This installation example use a Linux VM.&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="installation-methods"&gt;Installation methods
&lt;/h2&gt;&lt;p&gt;As you see, the Elastic Stack in based on several services bind together : &lt;strong&gt;Logstash, Elasticsearch, Kibana&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Several methods of installation are possible.&lt;/p&gt;
&lt;h3 id="rpm--apt-packages"&gt;RPM / APT packages
&lt;/h3&gt;&lt;p&gt;All services are available by APT or RPM packages. Use them speed the installation and setup a standard and common architecture.&lt;/p&gt;
&lt;p&gt;The maintenance is easier and configuration standard. Tools are installed as services.&lt;/p&gt;
&lt;h3 id="custom-installation"&gt;Custom installation
&lt;/h3&gt;&lt;p&gt;Every tools are also available by archives. You can then setup a custom installation.&lt;/p&gt;
&lt;p&gt;It is the more flexible installation, because you setup the tools and services how you really want.&lt;/p&gt;
&lt;p&gt;But maintenance is more expensive and the installation not really standard.&lt;/p&gt;
&lt;h3 id="docker-with-1-container"&gt;Docker with 1 container
&lt;/h3&gt;&lt;p&gt;If you can use Docker in your infrastructure, you can setup a container to hold all the tools of the Elastic Stack.&lt;/p&gt;
&lt;p&gt;A Docker image provides a convenient centralised log server and log management web interface.&lt;/p&gt;
&lt;p&gt;This is the fastest and simpliest way to have an Elastic Stack up and running.&lt;/p&gt;
&lt;p&gt;To do that, you can reuse images of the Docker Hub:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://hub.docker.com/r/brandixi3/elk-stack/" target="_blank" rel="noopener"
 &gt;https://hub.docker.com/r/brandixi3/elk-stack/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://hub.docker.com/r/opentica/elastic-stack/" target="_blank" rel="noopener"
 &gt;https://hub.docker.com/r/opentica/elastic-stack/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Or you can build your own image, starting from a DockerFile :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://hub.docker.com/r/brandixi3/elk-stack/~/dockerfile/" target="_blank" rel="noopener"
 &gt;https://hub.docker.com/r/brandixi3/elk-stack/~/dockerfile/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This method is quit fast and usefull, but to bring more flexibility to your architecture, you could use separate container for each services.&lt;/p&gt;
&lt;h3 id="docker-multiple-container"&gt;Docker multiple container
&lt;/h3&gt;&lt;p&gt;If you can use Docker in your infrastructure, a multiple Docker architecture is very interesting in this case. Because it brings flexibility of configuration and speed of setup.&lt;/p&gt;
&lt;p&gt;Official images are available on the Docker Hub for each tools:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Elasticsearch: &lt;a class="link" href="https://hub.docker.com/_/elasticsearch/" target="_blank" rel="noopener"
 &gt;https://hub.docker.com/_/elasticsearch/&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Logstash: &lt;a class="link" href="https://hub.docker.com/_/logstash/" target="_blank" rel="noopener"
 &gt;https://hub.docker.com/_/logstash/&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Kibana: &lt;a class="link" href="https://hub.docker.com/_/kibana/" target="_blank" rel="noopener"
 &gt;https://hub.docker.com/_/kibana/&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Starting with these Docker images, you can create and maintain your own Docker Compose&lt;/p&gt;
&lt;p&gt;See Docker Compose documentation: &lt;a class="link" href="https://docs.docker.com/compose/" target="_blank" rel="noopener"
 &gt;https://docs.docker.com/compose/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This page will focus in the custom or package installation of the Elastic Stack.&lt;/p&gt;
&lt;h2 id="setup-an-elastic-stack-server"&gt;Setup an Elastic Stack server
&lt;/h2&gt;&lt;h3 id="target-platform"&gt;Target platform
&lt;/h3&gt;&lt;p&gt;Our ELK stack setup has four main components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Logstash&lt;/strong&gt;: The server component of Logstash that processes incoming logs&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Elasticsearch&lt;/strong&gt;: Stores all of the logs&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Kibana&lt;/strong&gt;: Web interface for searching and visualizing logs, which will be proxied through Nginx&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Filebeat&lt;/strong&gt;: Installed on client servers that will send their logs to Logstash, Filebeat serves as a log shipping agent that utilizes the &lt;em&gt;lumberjack&lt;/em&gt; networking protocol to communicate with Logstash&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;We will install the first three components on a single server, which we will refer to as our &lt;strong&gt;ELK Server&lt;/strong&gt;. Filebeat will be installed on all of the client servers that we want to gather logs for, which we will refer to collectively as our&lt;strong&gt;Client Servers&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img alt="target-elk" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/elastic/target-elk.png"&gt;&lt;/p&gt;
&lt;h3 id="pre-requisites"&gt;Pre-requisites
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;Linux server (here Centos 7) with 4Go RAM&lt;/li&gt;
&lt;li&gt;Java 8 installed&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id="install-oracle-java-8"&gt;Install Oracle Java 8
&lt;/h4&gt;&lt;p&gt;Check installed JDK/JRE:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;rpm -qa | grep -E &amp;#39;^open[jre|jdk]|j[re|dk]&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Download JDK 8:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;wget http://download.oracle.com/otn-pub/java/jdk/8u91-b14/jdk-8u91-linux-x64.rpm
rpm -ivh jdk-8u91-linux-x64.rpm
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="install-elasticsearch"&gt;Install ElasticSearch
&lt;/h3&gt;&lt;h4 id="custom-install"&gt;Custom Install
&lt;/h4&gt;&lt;p&gt;As root:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-sh" data-lang="sh"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkdir /apps
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;chmod &lt;span class="m"&gt;755&lt;/span&gt; /apps
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;mkdir /apps/elacticstack
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;chmod &lt;span class="m"&gt;755&lt;/span&gt; /apps/elacticstack/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;useradd elastic
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;chown elastic.elastic -R /apps/elacticstack/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;cd&lt;/span&gt; /apps/elacticstack/
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/zip/elasticsearch/2.3.3/elasticsearch-2.3.3.zip
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;unzip elasticsearch-2.3.3.zip
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;ln -s elasticsearch-2.3.3 elasticsearch
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Launch:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;elasticsearch/bin/elasticsearch -d
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="package-install-recommended"&gt;Package Install (recommended)
&lt;/h4&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;wget https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/rpm/elasticsearch/2.3.3/elasticsearch-2.3.3.rpm
rpm -ivh elasticsearch-2.3.3.rpm

attention : elasticsearch-2.3.3.rpm: Entête V4 RSA/SHA1 Signature, clé ID d88e42b4: NOKEY
Préparation...                       ################################# [100%]
Creating elasticsearch group... OK
Creating elasticsearch user... OK
Mise à jour / installation...
   1:elasticsearch-2.3.3-1            ################################# [100%]
### NOT starting on installation, please execute the following statements to configure elasticsearch service to start automatically using systemd

 sudo systemctl daemon-reload
 sudo systemctl enable elasticsearch.service
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="you-can-start-elasticsearch-service-by-executing"&gt;You can start elasticsearch service by executing
&lt;/h3&gt;&lt;pre tabindex="0"&gt;&lt;code&gt; sudo systemctl start elasticsearch.service
&lt;/code&gt;&lt;/pre&gt;&lt;h5 id="configuration"&gt;Configuration
&lt;/h5&gt;&lt;p&gt;You will want to restrict outside access to your Elasticsearch instance (port 9200), so outsiders can’t read your data or shutdown your Elasticsearch cluster through the HTTP API.&lt;/p&gt;
&lt;p&gt;Find the line that specifies network.host, uncomment it, and replace its value with « localhost » so it looks like this:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;/etc/elasticsearch/elasticsearch.yml excerpt (updated)

network.host: localhost
&lt;/code&gt;&lt;/pre&gt;&lt;h5 id="add-startstop-configuration"&gt;Add start/stop configuration
&lt;/h5&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;chkconfig --add elasticsearch
chkconfig --level 3 elasticsearch
chkconfig --level 4 elasticsearch
chkconfig --level 5 elasticsearch
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Relaunch the service:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;service elasticsearch restart
&lt;/code&gt;&lt;/pre&gt;&lt;h5 id="test-install"&gt;Test install
&lt;/h5&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;curl -X GET http://localhost:9200/
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="install-kibana"&gt;Install Kibana
&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Custom install&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cd /apps
wget https://download.elastic.co/kibana/kibana/kibana-4.5.1-linux-x64.tar.gz
gunzip kibana-4.5.1-linux-x64.tar.gz
tar xvd kibana-4.5.1-linux-x64.tar
ln -s kibana-4.5.1-linux-x64 kibana
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="package-install-recommended-1"&gt;Package install (recommended)
&lt;/h4&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;wget https://download.elastic.co/kibana/kibana/kibana-4.5.1-1.x86_64.rpm

rpm -ivh kibana-4.5.1-1.x86_64.rpm

Préparation...                       ################################# [100%]
Mise à jour / installation...
   1:kibana-4.5.1-1                   ################################# [100%]

**Add start/stop configuration**

chkconfig --add kibana
chkconfig --level 3 kibana
chkconfig --level 4 kibana
chkconfig --level 5 kibana
&lt;/code&gt;&lt;/pre&gt;&lt;h5 id="configuration-1"&gt;Configuration
&lt;/h5&gt;&lt;p&gt;Open the Kibana configuration file for editing:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;vi /opt/kibana/config/kibana.yml
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In the Kibana configuration file, find the line that specifies server.host, and replace the IP address (&amp;ldquo;0.0.0.0&amp;rdquo; by default) with &amp;ldquo;localhost&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;kibana.yml excerpt (updated)&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;server.host: &amp;#34;localhost&amp;#34;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Launch custom:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;kibana/bin/kibana &amp;amp;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Package:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;service kibana restart
&lt;/code&gt;&lt;/pre&gt;&lt;h5 id="test-install-1"&gt;Test install
&lt;/h5&gt;&lt;p&gt;curl http://localhost:5601/status&lt;/p&gt;
&lt;h3 id="install-nginx"&gt;Install Nginx
&lt;/h3&gt;&lt;p&gt;You can add a Yum repo:&lt;br&gt;
(here for CentOS 7, the URL )&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cat &amp;gt; /etc/yum.repos.d/nginx.repo

[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/7/$basesearch/
gpgcheck=0
enabled=1
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Or direct download:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;wget http://nginx.org/packages/centos/7/x86_64/RPMS/nginx-1.10.0-1.el7.ngx.x86_64.rpm
rpm -ivh nginx-1.10.0-1.el7.ngx.x86_64.rpm

attention : nginx-1.10.0-1.el7.ngx.x86_64.rpm: Entête V4 RSA/SHA1 Signature, clé ID 7bd9bf62: NOKEY
Préparation...                       ################################# [100%]
Mise à jour / installation...
   1:nginx-1:1.10.0-1.el7.ngx         ################################# [100%]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Or even from sources&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;wget http://nginx.org/download/nginx-1.10.0.tar.gz
gunzip nginx-1.10.0.tar.gz
tar xvf nginx-1.10.0.tar
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="configuration-2"&gt;Configuration
&lt;/h4&gt;&lt;p&gt;Use htpasswd to create an admin user, called « kibanaadmin » (you should use another name), that can access the Kibana web interface:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;htpasswd -c /etc/nginx/htpasswd.users kibanaadmin
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now open the Nginx default server block in your favorite editor. We will use vi:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;vi /etc/nginx/sites-available/default
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Delete the file’s contents, and paste the following code block into the file. Be sure to update the server_name to match your server’s name: /etc/nginx/conf.d/default.conf&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;server {
  listen 80;
  server_name localhost;
  auth_basic &amp;#34;Restricted Access&amp;#34;;
  auth_basic_user_file /etc/nginx/htpasswd.users;
  location / {
     proxy_pass http://localhost:5601;
     proxy_http_version 1.1;
     proxy_set_header Upgrade $http_upgrade;
     proxy_set_header Connection &amp;#39;upgrade&amp;#39;;
     proxy_set_header Host $host;
     proxy_cache_bypass $http_upgrade;
  }
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Save and exit.&lt;/p&gt;
&lt;p&gt;This configures Nginx to direct your server’s HTTP traffic to the Kibana application, which is listening on localhost:5601. Also, Nginx will use the htpasswd.users file, that we created earlier, and require basic authentication.&lt;/p&gt;
&lt;p&gt;Now restart Nginx to put our changes into effect:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;service nginx restart
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="test-install-2"&gt;Test install
&lt;/h4&gt;&lt;p&gt;Go to the follwing page: http://localhost/status&lt;/p&gt;
&lt;h3 id="install-logstash"&gt;Install Logstash
&lt;/h3&gt;&lt;h4 id="package-install-recommended-2"&gt;Package Install (recommended)
&lt;/h4&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;wget https://download.elastic.co/logstash/logstash/packages/centos/logstash-2.3.2-1.noarch.rpm
rpm -ivh logstash-2.3.2-1.noarch.rpm
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Add start/stop configuration&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;chkconfig --add logstash
chkconfig --level 3 logstash
chkconfig --level 4 logstash
chkconfig --level 5 logstash
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Custom install&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cd /apps/elasticstack
wget https://download.elastic.co/logstash/logstash/logstash-2.3.2.zip
unzip logstash-2.3.2.zip
ln -s logsmash-2.3.2.zip logstash
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="configuration-3"&gt;Configuration
&lt;/h4&gt;&lt;p&gt;&lt;strong&gt;Generate SSL Certificates&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;mkdir -p /etc/pki/tls/certs
mkdir -p /etc/pki/tls/private
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Edit /etc/pki/tls.openssl.cnf or (/etc/ssl/openssl.cnf), after [ v3_ca ] add:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[ v3_ca ]
subjectAltName = IP: &amp;lt;current ip&amp;gt;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;with &lt;current ip&gt; the ip of the server&lt;/p&gt;
&lt;p&gt;Now generate the key and certificat:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cd /etc/pki/tls
openssl req -config /etc/pki/tls/openssl.cnf -x509 -days 3650 -batch -nodes -newkey rsa:2048 -keyout private/logstash-forwarder.key -out certs/logstash-forwarder.crt

Generating a 2048 bit RSA private key
...........+++
............+++
writing new private key to &amp;#39;private/logstash-forwarder.key&amp;#39;
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Check the generation:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;ls -l /etc/pki/tls/certs
total 4
-rw-r--r-- 1 root root 1249 juin   3 16:42 logstash-forwarder.crt

ls -l /etc/pki/tls/private
total 4
-rw-r--r-- 1 root root 1704 juin   3 16:42 logstash-forwarder.key
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;The logstash-forwarder.crt file will be copied to all of the servers that will send logs to Logstash.&lt;/p&gt;
&lt;h3 id="configure-logstash"&gt;Configure Logstash
&lt;/h3&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;mkdir -p /etc/logstash
chown -R elastic.elastic /etc/logstash
mkdir /etc/logstash/conf.d
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Setup filters&lt;/strong&gt;&lt;br&gt;
A beats input will listen on tcp port 5044, and it will use the SSL certificate and private key that we created earlier.&lt;/p&gt;
&lt;p&gt;A Syslog filter looks for logs that are labeled as « syslog » type (by Filebeat), and it will try to use grok to parse incoming syslog logs to make it structured and query-able.&lt;/p&gt;
&lt;p&gt;An output basically configures Logstash to store the beats data in Elasticsearch which is running at localhost:9200, in an index named after the beat used (filebeat, in our case).&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;cat &amp;gt; /etc/logstash/conf.d/02-beats-input.conf
    input {
      beats {
        port =&amp;gt; 5044
        ssl =&amp;gt; true
        ssl_certificate =&amp;gt; &amp;#34;/etc/pki/tls/certs/logstash-forwarder.crt&amp;#34;
        ssl_key =&amp;gt; &amp;#34;/etc/pki/tls/private/logstash-forwarder.key&amp;#34;
      }
    }

cat &amp;gt; /etc/logstash/conf.d/10-syslog-filter.conf
    filter {
      if [type] == &amp;#34;syslog&amp;#34; {
        grok {
          match =&amp;gt; { &amp;#34;message&amp;#34; =&amp;gt; &amp;#34;%{SYSLOGTIMESTAMP:syslog_timestamp} %{SYSLOGHOST:syslog_hostname} %{DATA:syslog_program}(?:\[%{POSINT:syslog_pid}\])?: %{GREEDYDATA:syslog_message}&amp;#34; }
          add_field =&amp;gt; [ &amp;#34;received_at&amp;#34;, &amp;#34;%{@timestamp}&amp;#34; ]
          add_field =&amp;gt; [ &amp;#34;received_from&amp;#34;, &amp;#34;%{host}&amp;#34; ]
        }
        syslog_pri { }
        date {
          match =&amp;gt; [ &amp;#34;syslog_timestamp&amp;#34;, &amp;#34;MMM  d HH:mm:ss&amp;#34;, &amp;#34;MMM dd HH:mm:ss&amp;#34; ]
        }
      }
    }

cat &amp;gt; /etc/logstash/conf.d/30-elasticsearch-output.conf
    output {
      elasticsearch {
        hosts =&amp;gt; [&amp;#34;localhost:9200&amp;#34;]
        sniffing =&amp;gt; true
        manage_template =&amp;gt; false
        index =&amp;gt; &amp;#34;%{[@metadata][beat]}-%{+YYYY.MM.dd}&amp;#34;
        document_type =&amp;gt; &amp;#34;%{[@metadata][type]}&amp;#34;
      }
    }
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="test"&gt;Test
&lt;/h4&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;service logstash configtest
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Configuration OK&lt;/p&gt;
&lt;h4 id="add-a-filebeat-dashboard"&gt;Add a FileBeat dashboard
&lt;/h4&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;wget https://download.elastic.co/beats/dashboards/beats-dashboards-1.2.0.zip
unzip beats-dashboards-*.zip
cd beats-dashboards-*
./load.sh
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;When we start using Kibana, we will select the Filebeat index pattern as our default.&lt;/p&gt;
&lt;h4 id="load-filebeat-index-template-in-elasticsearch"&gt;Load Filebeat Index Template in Elasticsearch
&lt;/h4&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;curl -O https://gist.githubusercontent.com/thisismitch/3429023e8438cc25b86c/raw/d8c479e2a1adcea8b1fe86570e42abab0f10f364/filebeat-index-template.json

curl -XPUT &amp;#39;[http://localhost:9200/_template/filebeat?pretty&amp;#39;](http://localhost:9200/_template/filebeat?pretty%27) -d@filebeat-index-template.json
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;If the template loaded properly, you should see a message like this:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Output:
{
  &amp;#34;acknowledged&amp;#34; : true
}
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Installation of the Server is over&lt;br&gt;
Now we have to configure the clients.&lt;/p&gt;
&lt;h2 id="setup-a-client"&gt;Setup a client
&lt;/h2&gt;&lt;h3 id="install-filebeat"&gt;Install FileBeat
&lt;/h3&gt;&lt;h4 id="copy-ssl-certificate-on-all-clients"&gt;Copy SSL Certificate on all clients
&lt;/h4&gt;&lt;p&gt;Copy the certificate from the Elastic server to all clients:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;/etc/pki/tls/certs/logstash-forwarder.crt
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="install-filebeat-package"&gt;Install Filebeat Package
&lt;/h4&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;wget https://download.elastic.co/beats/filebeat/filebeat-1.2.3-x86_64.rpm
rpm -ivh filebeat-1.2.3-x86_64.rpm
&lt;/code&gt;&lt;/pre&gt;&lt;h4 id="configure-filebeat"&gt;Configure Filebeat
&lt;/h4&gt;&lt;p&gt;Edit the FileBeat configuration file /etc/filebeat/filebeat.yml&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Change the inputs:&lt;/strong&gt;&lt;br&gt;
Patch the following lines to send logs to LogStash:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;      paths:
#        - /var/log/*.log
        - /var/log/auth.log
        - /var/log/syslog
...
      document_type: syslog
...
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Change the outputs:&lt;/strong&gt;&lt;br&gt;
Patch the elasticsearch output : were are not going to use it:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;  #elasticsearch:
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Add the Logstash output:&lt;/p&gt;
&lt;h3 id="logstash-as-output"&gt;Logstash as output
&lt;/h3&gt;&lt;pre tabindex="0"&gt;&lt;code&gt;  logstash:
    # The Logstash hosts
        hosts: [&amp;#34;ELK_server_private_IP:5044&amp;#34;]
    bulk_max_size: 1024
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;strong&gt;Add the certificate configuration for SSL:&lt;/strong&gt;&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;# Optional TLS. By default is off.
tls:
  # List of root certificates for HTTPS server verifications
  certificate_authorities: [&amp;#34;/etc/pki/tls/certs/logstash-forwarder.crt&amp;#34;]
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Now Filebeat is sending syslog and auth.log to Logstash on your ELK server! Repeat this section for all of the other servers that you wish to gather logs for.&lt;/p&gt;
&lt;h3 id="test-filebeat-installation"&gt;Test Filebeat Installation
&lt;/h3&gt;&lt;p&gt;Restart the filbeat service&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;service filebeat restart
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id="connect-to-kibana-and-verify-log-integration"&gt;Connect to Kibana and verify log integration
&lt;/h3&gt;&lt;p&gt;Go ahead and select &lt;strong&gt;filebeat-YYY.MM.DD&lt;/strong&gt; from the Index Patterns menu (left side), then click the Star (Set as default index) button to set the Filebeat index as the default.&lt;/p&gt;
&lt;p&gt;Now click the &lt;strong&gt;Discover link&lt;/strong&gt; in the top navigation bar. By default, this will show you all of the log data over the last 15 minutes. You should see a histogram with log events, with log messages below:&lt;/p&gt;
&lt;p&gt;&lt;img alt="kibana-result" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/elastic/kibana-result.png"&gt;&lt;/p&gt;
&lt;h2 id="external-links"&gt;External Links
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;All this tutorial is an adaptation of this Ubuntu tutorial
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-14-04" target="_blank" rel="noopener"
 &gt;https://www.digitalocean.com/community/tutorials/how-to-install-elasticsearch-logstash-and-kibana-elk-stack-on-ubuntu-14-04&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Elastic
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html" target="_blank" rel="noopener"
 &gt;https://www.elastic.co/guide/en/elasticsearch/reference/current/setup.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;JDK install
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.unixmen.com/install-oracle-java-jdk-8-centos-76-56-4/" target="_blank" rel="noopener"
 &gt;http://www.unixmen.com/install-oracle-java-jdk-8-centos-76-56-4/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Devoxx France 2016 return of experience</title><link>https://jamkey.fr/devoxx-france-2016-return-of-experience/</link><pubDate>Tue, 24 May 2016 00:00:00 +0000</pubDate><guid>https://jamkey.fr/devoxx-france-2016-return-of-experience/</guid><description>&lt;img src="https://jamkey.fr/images/devoxx-2016.jpg" alt="Featured image of post Devoxx France 2016 return of experience" /&gt;&lt;p&gt;&lt;strong&gt;Once again Devoxx France took place at the « Palais des Congress » in Paris from April 20 to 22 2016.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Devoxx France is part of the family Devoxx conferences (Belgium, England, Poland, Morocco). The community includes over 10,000 developers worldwide.&lt;/p&gt;
&lt;p&gt;It was created in 2012 by the association of the Paris JUG. With 2,500 people in 2016, is one of the conferences for the most important developer. If DNA Devoxx France is the Java platform, conferences are also open to other themes such as mobility, Web, Cloud Computing, Mobile, etc.&lt;/p&gt;
&lt;p&gt;238 speakers, 220 conferences, and of course a lot of information on IT development for this 5th edition of Devoxx France.&lt;/p&gt;
&lt;p&gt;Also a village of exhibitors welcome visitors all the day between the conferences.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What are the subjects&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The various conferences are split into different types:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Keynotes&lt;/strong&gt; : Opening plenaries of the days on large thematics (innovation, future, security, women in IT…)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Conferences&lt;/strong&gt; : 45 minutes of presentations on technical subjects (most common type of conference)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Universities&lt;/strong&gt; : 3 hours presentation, took place the first day&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tools in Action&lt;/strong&gt; : short sessions of 25 minutes, intended to present a tool, a practical software or solution&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hands-on Labs&lt;/strong&gt; : practice session of 3 hours, in rooms 25 to 60 people&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Quickies&lt;/strong&gt; : short sessions of 15 minutes during lunch&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;BOF&lt;/strong&gt; (Bird of a feather) : point of rendezvous of user-groups, communities, meet ups….&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;All conferences are based on thematic tracks. The different tracks to suggest a topic:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Java, JVM, Javas SE / EE&lt;/strong&gt; : About Java, JVM, Java SE, Java EE.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Mobile and Internet of Things&lt;/strong&gt; : Mobile, Java and the Internet of Things, home automation and embedded systems.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Web, HTML5 and UX&lt;/strong&gt; :  user-experience, front-end and web architecture.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Architecture, Performance &amp;amp; Security&lt;/strong&gt; : Architecture, performance, encryption and best practices for developing secure software.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DevOps, Agility, Methodology &amp;amp; Tests&lt;/strong&gt; : Methods and development practices / software deployment, TDD, BDD, xDD.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Cloud and Scaling&lt;/strong&gt; : Cloud-computing, resilient architectures, containers&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Big Data and Analytics&lt;/strong&gt; : Store, analyze the data and revise the management of data.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Future Robotics&lt;/strong&gt; :  Robotics and Computing for Tomorrow&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alternative languages&lt;/strong&gt; : Groovy, Scala, GB, JavaScript, Clojure, Haskell, Haskell, Ceylon, etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As you can see, the topics are very Java / Mobile / Web oriented, with a large place to DevOps and Cloud.&lt;/p&gt;
&lt;p&gt;It is impossible to make aa summary of all Devoxx conferences.&lt;/p&gt;
&lt;p&gt;Here we will try to focus on the main informations provided by the conferences.&lt;/p&gt;
&lt;p&gt;You can have a look at the Youtube playlist of Parleys to check the recorded conferences:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://www.youtube.com/channel/UCsVPQfo5RZErDL41LoWvk0A" target="_blank" rel="noopener"
 &gt;https://www.youtube.com/channel/UCsVPQfo5RZErDL41LoWvk0A&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://www.youtube.com/playlist?list=PLklQqdqnBkPgctKh1xIvF4eFGtmvUvE2b" target="_blank" rel="noopener"
 &gt;https://www.youtube.com/playlist?list=PLklQqdqnBkPgctKh1xIvF4eFGtmvUvE2b&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Information held&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Micro-services, Java and its future, Mobile development industrialisation and Web development future&lt;/em&gt; were the main ideas of this Devoxx edition.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;DevOps&lt;/strong&gt; was the underlining idea between them. In a way, there is no more doubt that DevOps must be applied everywhere and in any cases (Java backend development, Mobile, Web…). Tools can change a little, but the need is quit the same : acceptance and delivery must to be automated. We could heard DevOps in any conferences, what ever the technology was.&lt;/p&gt;
&lt;p&gt;The same way, concerning application and mainly backend architecture, the underlining assumption was that you are doing Cloud development, API and &lt;strong&gt;Micro-services&lt;/strong&gt;. Micro-services are the main wave of architecture associated to DDD (Domain Driven Design) as a development approach.&lt;/p&gt;
&lt;p&gt;Bind to DevOps and micro-services, &lt;strong&gt;Docker&lt;/strong&gt; confirmed once again is major influence to IT innovations.&lt;/p&gt;
&lt;p&gt;Of course a lot conferences covered various other subjects, but these 3 concepts (DevOps, Micro-services, Containers) lead the majors ones.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Picking some conferences&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Here are some informations extracts from various conferences.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;« Architecture Android et bonnes pratiques »&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Mathias Seguy, an Android expert shows best-practices, tools and examples on Android development.&lt;/p&gt;
&lt;p&gt;He recommended a lot of Square librairies like:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Retrofit (Type-safe HTTP client)&lt;/li&gt;
&lt;li&gt;Akio (A modern I/O API)&lt;/li&gt;
&lt;li&gt;Moshi (A modern JSON library)&lt;/li&gt;
&lt;li&gt;Okhttp (An HTTP+HTTP/2 client)&lt;/li&gt;
&lt;li&gt;Leakcanary (memory leak detection)&lt;/li&gt;
&lt;li&gt;Dagger (dependency injection, see below)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See &lt;a class="link" href="http://square.github.io/" target="_blank" rel="noopener"
 &gt;http://square.github.io/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As an event bus he recommended:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Otto&lt;/li&gt;
&lt;li&gt;Eventbus&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Very important in Android developments:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Analytics&lt;/li&gt;
&lt;li&gt;Tests&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For testing purpose he recommend:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Dagger dependency injection&lt;/li&gt;
&lt;li&gt;Mockito with Espresso for UI testing&lt;/li&gt;
&lt;li&gt;Leakcanary for memory leak detection&lt;/li&gt;
&lt;li&gt;Genymotion emulator (cloud offers are available)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;In his opinion, Kotlin and RxJava are interesting things to see for the future of Android developments.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;See his presentation:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://www.youtube.com/watch?v=yXWWuauVVEE" target="_blank" rel="noopener"
 &gt;https://www.youtube.com/watch?v=yXWWuauVVEE&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;« Microservices IRL: ça fonctionne chez un client, on vous dit comment! »&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Stéphane Lagraulet and Olivier Revial present return of experience on developing and stepping micro-service at their client.&lt;/p&gt;
&lt;p&gt;They explain the choice of micro-services by a convergence of moves associated to Agile, DevOps, answer to complexity, Web Architecture, Cloud, Containers and provisioning.&lt;/p&gt;
&lt;p&gt;Challenges were the organisation, service discovery, monitoring, distributed development, resilience, test, strategy, versioning management, and continuous delivery.&lt;/p&gt;
&lt;p&gt;They explain also anti-patterns like : do micro-services are really a necessity in our context? Distributed monolith, distributed transactions.&lt;/p&gt;
&lt;p&gt;Technically, they developped micro-services with Spring Boot. They used tools like Zookeeper for service discovery, Zabbix for monitoring, Curator/Zookeeper for distributed development, Hystrix for circuit breaker. They use also Spring Cloud Zookeeper, and Spring Cloud Netflix (to integrate with Zulu).&lt;/p&gt;
&lt;p&gt;For testing purpose, they use some RestTemplate, with WireMock or Saboteur. Gatling for performance tests.&lt;/p&gt;
&lt;p&gt;Deployment is done by Ansible cookbook, executed by Jenkins.&lt;/p&gt;
&lt;p&gt;But in the roadmap, they expect to deploy services with Spinnaker, Docker and Mesos.&lt;/p&gt;
&lt;p&gt;They think about making study on Eureka or etc/CoreOs for service discovery.&lt;/p&gt;
&lt;p&gt;Also, for communication between micro-services they will study Protobuf, Avro and Thrift.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;See their presentation:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://www.youtube.com/watch?v=CeODpq9FdIA" target="_blank" rel="noopener"
 &gt;https://www.youtube.com/watch?v=CeODpq9FdIA&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;« Jenkins, Docker Orchestrons le Continuous Delivery »&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Nicolas de Loof,  Yoann Dubreuil make a presentation on setup a delivery pipeline with Jenkins and Docker.&lt;/p&gt;
&lt;p&gt;The goal here is to make a demo on continuous delivery orchestration.&lt;/p&gt;
&lt;p&gt;They announce Jenkins 2.0 is out.&lt;/p&gt;
&lt;p&gt;With Jenkins, pipeline of delivery was quit difficult to maintain, because of lots of plugins to use.&lt;/p&gt;
&lt;p&gt;Here the speakers expose a solution to simplify the pipeline.&lt;/p&gt;
&lt;p&gt;The Build Flow plugin allows to define the jobs through a DSL. The plugin act as an orchestrator.&lt;/p&gt;
&lt;p&gt;But there is too much dispersion of information (separate jobs).&lt;/p&gt;
&lt;p&gt;The other solution is to use the &lt;strong&gt;Pipeline Plugin&lt;/strong&gt;, which allow to use a pipeline script (DSL) to define the build but also all the stages of the pipeline (Dev, QA, Prod…).&lt;/p&gt;
&lt;p&gt;With the use of &lt;strong&gt;JenkinsFile&lt;/strong&gt; the DSL file description is in the SCM and Jenkins will use it directly. This way we can have versioning of the Job configuration.&lt;/p&gt;
&lt;p&gt;The &lt;em&gt;CloudBees Docker Custom Build Environment Plugin&lt;/em&gt; allow to use Docker image as slave of build.&lt;/p&gt;
&lt;p&gt;The JenkinsFile can also use &lt;strong&gt;Docker&lt;/strong&gt; image to specify where to build the application.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Multi-branch&lt;/strong&gt; plugin allows Jenkins to detect all the branch where there is a JenkinsFile and create a job associated.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;See their presentation:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://www.youtube.com/watch?v=ij1-MNcRBSQ" target="_blank" rel="noopener"
 &gt;https://www.youtube.com/watch?v=ij1-MNcRBSQ&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Wrap-up&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Devoxx is a great conference moment, where you can get huge IT innovation information and share with other visitors and speakers.&lt;/p&gt;
&lt;p&gt;Many conferences here confirm the big movement felt 2 or 3 years ago:&lt;/p&gt;
&lt;p&gt;A global association between Agile, DevOps, Micro-services architecture, DDD, Docker containers and Cloud.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;More information&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Have a look at the Devoxx France web site
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.devoxx.fr" target="_blank" rel="noopener"
 &gt;http://www.devoxx.fr&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Read the blog posts
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.devoxx.fr/blog/posts/2016" target="_blank" rel="noopener"
 &gt;http://www.devoxx.fr/blog/posts/2016&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Have a look at the Devoxx Youtube playlists
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://www.youtube.com/channel/UCsVPQfo5RZErDL41LoWvk0A" target="_blank" rel="noopener"
 &gt;https://www.youtube.com/channel/UCsVPQfo5RZErDL41LoWvk0A&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://www.youtube.com/playlist?list=PLklQqdqnBkPgctKh1xIvF4eFGtmvUvE2b" target="_blank" rel="noopener"
 &gt;https://www.youtube.com/playlist?list=PLklQqdqnBkPgctKh1xIvF4eFGtmvUvE2b&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Monitoring a DevOps need</title><link>https://jamkey.fr/monitoring-a-devops-need/</link><pubDate>Thu, 12 May 2016 00:00:00 +0000</pubDate><guid>https://jamkey.fr/monitoring-a-devops-need/</guid><description>&lt;img src="https://jamkey.fr/images/monitoring.jpg" alt="Featured image of post Monitoring a DevOps need" /&gt;&lt;p&gt;DevOps and Agility are continuous improvement oriented.&lt;/p&gt;
&lt;p&gt;How can you have continuous improvement without the ability to measure improvement? How do you know if an automation task is worthwhile? Basing decisions on data, rather than instinct, leads to an objective, blameless path of improvement. Data should be transparent, accessible to all, meaningful, and able to be visualized in an ad hoc manner.&lt;/p&gt;
&lt;h2 id="a-devops-need"&gt;A DevOps need
&lt;/h2&gt;&lt;p&gt;DevOps is not a method, but a culture shift. The main principles very commonly used are the CALMS:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Culture, Automation, Lean, Metrics, Sharing&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Here the Measure is our focus :&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;p&gt;&lt;em&gt;&lt;strong&gt;Metrics (or Measure) —&lt;/strong&gt; A metrics-oriented mindset is key to ensure that DevOps initiatives taken up by infrastructure and operations leaders deliver the intended results. IT organizations should focus their measurement efforts on five primary domains: IT operations, the service (or application), the organization as a whole, the customer, and the business. Goals should be service-focused, with an eye toward improving agility (velocity) and improving business value (quality).&lt;/em&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;p&gt;Here we talk about monitoring, which is clearly not a NEW thing, but a necessity which is today more widely needed.&lt;/p&gt;
&lt;p&gt;API delivery, Front and Mobile backend deployment, Micro-services : in order to keep control on data management and performance capacity, the need of monitoring is increasing drastically.&lt;/p&gt;
&lt;p&gt;On a Cloud (private or public) architecture, monitoring of applications and services are a most needed feature.&lt;/p&gt;
&lt;p&gt;But more widely, monitoring application is not anymore a Run or Production only need, but also a development need.&lt;/p&gt;
&lt;p&gt;We need to setup a common architecture were monitoring setup should be as easy as instantiate a new service in a cloud management, and since the development phase.&lt;/p&gt;
&lt;h2 id="how-does-it-work"&gt;How does it work
&lt;/h2&gt;&lt;p&gt;Monitoring could be split in 4 main features :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;produce logs (create data)&lt;/li&gt;
&lt;li&gt;process logs (understand the data)&lt;/li&gt;
&lt;li&gt;store metrics (give access to the data)&lt;/li&gt;
&lt;li&gt;visualize synthesis (explain the data and its evolution)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="produce-logs"&gt;Produce logs
&lt;/h3&gt;&lt;p&gt;The first step is, of course, applications or services providing data (logs, messages, metrics).&lt;/p&gt;
&lt;p&gt;Applications must have capacity to produce data.&lt;/p&gt;
&lt;p&gt;This feature is quit already available in most cases by plenty of log systems:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;syslog&lt;/em&gt; format logs : very popular in GNU/Linux / Unix systems&lt;/li&gt;
&lt;li&gt;raw text logs&lt;/li&gt;
&lt;li&gt;Apache and Log4j logs&lt;/li&gt;
&lt;li&gt;Windows Event Logs&lt;/li&gt;
&lt;li&gt;JSON format messages&lt;/li&gt;
&lt;li&gt;Queue message (RabbitMQ, ZeroMQ)&lt;/li&gt;
&lt;li&gt;…&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;These data should be transmit to a central processor.&lt;/p&gt;
&lt;h3 id="process-logs"&gt;Process logs
&lt;/h3&gt;&lt;p&gt;Data produced by applications must be processed to keep the important information.&lt;/p&gt;
&lt;p&gt;Often called Data Pipeline, the logs are integrated, analyses, normalized and stored.&lt;/p&gt;
&lt;p&gt;The process of the logs is the main feature of monitoring because it should expose the relevant information of the system.&lt;/p&gt;
&lt;p&gt;The log processing should flexible enough to adapt to any type of input data (by plugins, customization…).&lt;/p&gt;
&lt;p&gt;These data should be stored in a centralized database which can search with efficiency.&lt;/p&gt;
&lt;h3 id="store-metrics"&gt;Store Metrics
&lt;/h3&gt;&lt;p&gt;Logs processed become metrics. They should be stored in a way they can be accessed and used easily.&lt;/p&gt;
&lt;p&gt;The storage must version and give access to the data to bring search, analytics capacity through API for dashboards.&lt;/p&gt;
&lt;p&gt;Performance and scalability have a critical point here : we want to access these data in a real-time and with high-availability.&lt;/p&gt;
&lt;p&gt;These metrics should be used synthesized in a dashboard.&lt;/p&gt;
&lt;h3 id="visualize-synthesis"&gt;Visualize synthesis
&lt;/h3&gt;&lt;p&gt;Logs processed become metrics. They should be stored in a way they can be accessed and used easily.&lt;/p&gt;
&lt;p&gt;The dashboard give a synthetic view of the metrics and instant sharing capacity of the situation. It should easy to understand and give access to the relevant information.&lt;/p&gt;
&lt;p&gt;The dashboard should be flexible enough to adapt to other needs.&lt;/p&gt;
&lt;h2 id="common-tools"&gt;Common Tools
&lt;/h2&gt;&lt;p&gt;Concerning the development phase, tools like Sonarqube, provide inspection dashboard very useful to improve the quality of the source code.&lt;/p&gt;
&lt;p&gt;But concerning visualisation of the service/app state, a monitoring stack should be used to get logs, process and visualize informations.&lt;/p&gt;
&lt;p&gt;Several tools are currently used on the market:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Elastic Stack (open source – ex. ELK Stack)&lt;/li&gt;
&lt;li&gt;Splunk (commercial)&lt;/li&gt;
&lt;li&gt;Graylog (open source)&lt;/li&gt;
&lt;li&gt;…&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;The tools have to be easy to integrate with common development and potentially agnostic of the language and architecture.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The solution should be easy to integrate with API/Micro-service use cases, and deployable in the cloud.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It should be useable since the development phase (dev/test/integration environments).&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="technical-illustration"&gt;Technical illustration
&lt;/h2&gt;&lt;p&gt;For our illustration we are using the Elastic Stack solution (ex. ELK) which is the most widely used stack.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://www.elastic.co/products" target="_blank" rel="noopener"
 &gt;Elastic Stack&lt;/a&gt;: a new name and technology vision for Elastic’s open source products
&lt;a class="link" href="https://www.elastic.co/products/elasticsearch" target="_blank" rel="noopener"
 &gt;Elasticsearch&lt;/a&gt;,
&lt;a class="link" href="https://www.elastic.co/products/logstash" target="_blank" rel="noopener"
 &gt;Logstash&lt;/a&gt;,
&lt;a class="link" href="https://www.elastic.co/products/kibana" target="_blank" rel="noopener"
 &gt;Kibana&lt;/a&gt;,
and &lt;a class="link" href="https://www.elastic.co/products/beats" target="_blank" rel="noopener"
 &gt;Beats&lt;/a&gt;;&lt;/p&gt;
&lt;p&gt;Elastic Stack is the most&lt;/p&gt;
&lt;p&gt;In Elastic Stack we have the following role distribution:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Process logs : &lt;strong&gt;Logstash&lt;/strong&gt; (Collect, Enrich &amp;amp; Transport Data)&lt;/li&gt;
&lt;li&gt;Store metrics : &lt;strong&gt;ElasticSearch&lt;/strong&gt; (Search &amp;amp; Analyze Data in Real Time)&lt;/li&gt;
&lt;li&gt;Visualise synthesis : &lt;strong&gt;Kibana&lt;/strong&gt; (Explore &amp;amp; Visualize Your Data)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="reference"&gt;Reference
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.devopsdictionary.com/wiki/CAMS" target="_blank" rel="noopener"
 &gt;http://www.devopsdictionary.com/wiki/CAMS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://www.elastic.co/fr/" target="_blank" rel="noopener"
 &gt;https://www.elastic.co/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://www.splunk.com/" target="_blank" rel="noopener"
 &gt;https://www.splunk.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://www.graylog.org/" target="_blank" rel="noopener"
 &gt;https://www.graylog.org/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Technical test strategy</title><link>https://jamkey.fr/technical-test-strategy/</link><pubDate>Tue, 19 Jan 2016 00:00:00 +0000</pubDate><guid>https://jamkey.fr/technical-test-strategy/</guid><description>&lt;img src="https://jamkey.fr/images/technical-test.jpg" alt="Featured image of post Technical test strategy" /&gt;&lt;p&gt;&lt;strong&gt;Automated test strategy&lt;/strong&gt; is one the &lt;strong&gt;key factors&lt;/strong&gt; of technical tests. Its visibility make the tests part of the development process.Without goals, roles, tools, requirements, scheduling… the automated tests are forgotten deep in the versioning system…&lt;/p&gt;
&lt;p&gt;As written in the ISTQB Exam Certification:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;The choice of test approaches or test strategy is one of the most powerful factor in the success of the test effort and the accuracy of the test plans and estimates. This factor is under the control of the testers and test leaders.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;By describing, managing and tooling-up the different automated tests you will define your strategy.&lt;/p&gt;
&lt;p&gt;This global strategy page gives main clues to manage your technical test strategy.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;To have a relevant test strategy make it visible.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="what-is-a-test-strategy"&gt;What is a test strategy?
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;A&lt;/strong&gt; &lt;strong&gt;test strategy&lt;/strong&gt; is an outline that describes the testing approach of the &lt;a class="link" href="https://en.wikipedia.org/wiki/Software_development_process" title="Software development process"
 target="_blank" rel="noopener"
 &gt;software development cycle&lt;/a&gt;. It is created to inform project managers, testers, and developers about some key issues of the testing process. This includes the testing objective, methods of testing new functions, total time and resources required for the project, and the testing environment.&lt;/p&gt;
&lt;p&gt;Test strategies describe &lt;strong&gt;how the product risks of the stakeholders are mitigated at the test-level, which types of testing are to be performed, and which entry and exit criteria apply&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;They are created based on development design. System design is primarily used and occasionally, conceptual design may be referred to. Design documents describe the functionality of the software to be enabled in the upcoming release. For every stage of development design, a corresponding test strategy should be created to test the new feature sets.&lt;/p&gt;
&lt;p&gt;The test strategy describes the test level to be performed. There are primarily three levels of testing: &lt;strong&gt;unit testing&lt;/strong&gt;, &lt;strong&gt;integration testing&lt;/strong&gt;, and &lt;strong&gt;system testing&lt;/strong&gt; as you can read in the &lt;strong&gt;&lt;a class="link" href="http://www.jamkey.fr/automated-test-classification/" target="_blank" rel="noopener"
 &gt;Automated test classification&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;In most software development organizations, individual testers or test teams are responsible for integration and system testing when dealing with&lt;strong&gt;functional behavior&lt;/strong&gt;. Here we speak more of Acceptance tests or Functionnal tests (for example based on HP QC and executed with UFT (ex QTP).&lt;/p&gt;
&lt;p&gt;The developers and test experts are responsible for automated tests on unit testing, integration testing, system testing.&lt;/p&gt;
&lt;h3 id="test-classification"&gt;Test classification
&lt;/h3&gt;&lt;p&gt;The automated tests should first be classified in order to be used and integrated into a industrialized process. Please look at the test classification page: &lt;strong&gt;&lt;a class="link" href="https://jamkey.fr/automated-test-classification" &gt;Automated test classification&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="test-classification" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/technical-test/test-classification.png"&gt;&lt;/p&gt;
&lt;h3 id="lack-of-test-strategy-issues"&gt;Lack of test strategy issues
&lt;/h3&gt;&lt;p&gt;The common issues with automated tests are not associated to technical problems or the choices of tools, but resides especially in its &lt;strong&gt;non-visibility&lt;/strong&gt;.&lt;br&gt;
When the added value of technical tests is not visible, the organisation will give advantage on more « quantifiable tests » (like functional tests or performance tests) and give-up on technical ones (unit, integration…).&lt;/p&gt;
&lt;p&gt;For example, the functional tests are easily quantifiable: dedicated “testing” teams, based on the requirements, test plan in QC, instrumentalisation by UFT (ex QTP) by VB script.&lt;br&gt;
This way, it is easier to give budget to: handle, manage and implement functional tests.&lt;/p&gt;
&lt;p&gt;Technical tests remain with the costs of the developers. Because very often, one will say the developers “will make the unit tests” but without real requirements or strategy.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Agile projects and using the BDD reverses this trend&lt;/strong&gt; by bringing closer the Dev and Test teams. Especially when requiring the developers to implement the acceptance tests.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;By making the technical tests part of the test strategy, we will improve their development requirements and make them more relevant.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="set-up-a-test-strategy"&gt;Set up a test strategy
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;The goals to define a test strategy are the following:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Goals&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Application &lt;strong&gt;coverage&lt;/strong&gt; objectives&lt;/li&gt;
&lt;li&gt;Set-up a test &lt;strong&gt;maintenance&lt;/strong&gt; plan&lt;/li&gt;
&lt;li&gt;Have a source code &lt;strong&gt;health feedback&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Use tests as &lt;strong&gt;delivery acceptation&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Verify features &lt;strong&gt;non-regression&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Maintain source code &lt;strong&gt;knowledge&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="automated-test-strategy-steps"&gt;Automated test strategy steps
&lt;/h3&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th style="text-align: center"&gt;Step&lt;/th&gt;
 &lt;th style="text-align: center"&gt;Description&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Define Scope and Technology&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Define perimeter to test (Backend, Front, Data, Integration, Middleware… What technology is involved (Java backend, Java Web, front JS, Mobile iOS…) Roles and Responsibilities of test leader, individual testers, project manager&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Define Test Approach&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Choose by what type of test starting Use Test classification Unit Testing Integration Testing System Testing What relevant coverage is expected ? What test volume is expected ?&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Choose a test development methodology&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Technical requirements Requirements specifications Requirements traceability matrix Test priorities While testing software projects, certain test cases will be treated as the most important ones and if they fail, the product cannot be released. Choose methodology (eg.: BDD) Batch mode execution Execute in continuous integration Execution scheduling A test plan should make an estimation of how long it will take to complete the testing phase. Mock policy&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Identify risks and mitigation&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Risk occurence anticipation : Any risks that will affect the testing process must be listed along with the mitigation&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Define Test environment&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Hardware requirements Middleware requirements Workstation needs Environment provisioning&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Choose Testing tools&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Test framework which suit development technologies Test orchestration Integration with continuous integration Integration with delivery process Tests record and reporting&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Define Execution and release control&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Execute automated tests plan according to release control Use test plan to validate release Use test plan in a promotion process Regression test approach Regression tests will make sure that one fix does not create some other problems in that program or in any other interface&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Defect reporting and tracking&lt;/td&gt;
 &lt;td style="text-align: center"&gt;How the test result is reported Change and configuration management&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Set-up Reviews and updates&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Review the test strategy after milestones Update the test strategy according to feedbacks&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="test-strategy-life-cycle"&gt;Test strategy life-cycle
&lt;/h3&gt;&lt;p&gt;&lt;img alt="test-strategy-life-cycle" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/technical-test/test-strategy-life-cycle.jpg"&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;(Test Strategy in STLC)&lt;/em&gt;&lt;/p&gt;
&lt;h2 id="external-links"&gt;External Links
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;ISTQB Exam Certification on Test Strategy
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://istqbexamcertification.com/what-are-the-test-approaches-or-strategies-in-software-testing/" target="_blank" rel="noopener"
 &gt;http://istqbexamcertification.com/what-are-the-test-approaches-or-strategies-in-software-testing/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Agile Test Strategy Example Template
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.testingexcellence.com/agile-test-strategy-example-template/" target="_blank" rel="noopener"
 &gt;http://www.testingexcellence.com/agile-test-strategy-example-template/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Test strategy Wikipedia
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://en.wikipedia.org/wiki/Test_strategy" target="_blank" rel="noopener"
 &gt;https://en.wikipedia.org/wiki/Test_strategy&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Software testing help
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.softwaretestinghelp.com/writing-test-strategy-document-template/" target="_blank" rel="noopener"
 &gt;http://www.softwaretestinghelp.com/writing-test-strategy-document-template/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;BDD Guidelines and Best Practices
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.testingexcellence.com/bdd-guidelines-best-practices/" target="_blank" rel="noopener"
 &gt;http://www.testingexcellence.com/bdd-guidelines-best-practices/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Bach, James (1999). &lt;a class="link" href="http://www.satisfice.com/presentations/strategy.pdf" target="_blank" rel="noopener"
 &gt;« Test Strategy »&lt;/a&gt; (PDF).&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>IBM Bluemix and Docker Webinar</title><link>https://jamkey.fr/ibm-bluemix-and-docker-webinar/</link><pubDate>Thu, 17 Sep 2015 00:00:00 +0000</pubDate><guid>https://jamkey.fr/ibm-bluemix-and-docker-webinar/</guid><description>&lt;img src="https://jamkey.fr/images/bluemix-docker.jpg" alt="Featured image of post IBM Bluemix and Docker Webinar" /&gt;&lt;p&gt;&lt;strong&gt;Short presentation from IBM Emmanuel Vregille&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Presentation:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Concepts of Docker&lt;/li&gt;
&lt;li&gt;BlueMix features&lt;/li&gt;
&lt;li&gt;Demonstrations of Docker &amp;amp; BlueMix&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;The video of the french webinar is here: &lt;a class="link" href="https://youtu.be/ISMFyXMCu3s" target="_blank" rel="noopener"
 &gt;https://youtu.be/ISMFyXMCu3s&lt;/a&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="summary-of-ibm-bluemix-and-docker-webinar"&gt;Summary of IBM Bluemix and Docker WebInar
&lt;/h1&gt;&lt;h2 id="docker"&gt;Docker
&lt;/h2&gt;&lt;p&gt;An open platform for distributed applications for developers and sysadmins.&lt;br&gt;
Docker is an 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 Linux, Mac OS and Windows. &lt;a class="link" href="https://www.docker.com/" target="_blank" rel="noopener"
 &gt;https://www.docker.com/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Docker is a huge success. 68% of CTO and CIO are preparing a Docker study for 2016.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Docker&lt;/strong&gt; allows : applications independent and portable, optimize resources, faster deployments, adapt to micro-services&lt;/p&gt;
&lt;h2 id="bluemix"&gt;Bluemix
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Bluemix&lt;/strong&gt; :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;deploy and optimize Docker container on Bare Metal&lt;/li&gt;
&lt;li&gt;bring Management of : images, containers, DockerHubs and DockerEngine&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;IBM has a partnership with Docker since june 2014&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Bluemix&lt;/strong&gt; provides :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;a development Hub + development tools&lt;/li&gt;
&lt;li&gt;a Service catalog to optimize resources&lt;/li&gt;
&lt;li&gt;deployment / scalability features / Logging / Monitoring&lt;/li&gt;
&lt;li&gt;as beta features : containers security scans&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Bluemix offers 3 main profiles:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;IAAS with OpenStack =&amp;gt; manage VM&lt;/li&gt;
&lt;li&gt;PAAS with CloudFoundry =&amp;gt; cloud applications&lt;/li&gt;
&lt;li&gt;Docker container =&amp;gt; Bare Metal Docker container management&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Also a catalog of services is available (for example to get a database).&lt;br&gt;
Local or Public Hub management&lt;/p&gt;
&lt;p&gt;API and services oriented.&lt;/p&gt;
&lt;p&gt;The JazzHub service manage development forge and release mechanism:&lt;br&gt;
Build Image =&amp;gt; Deploy and link to services =&amp;gt; Test&lt;/p&gt;
&lt;h2 id="demo"&gt;Demo
&lt;/h2&gt;&lt;p&gt;The Demo consists of :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;building locally a container image of a todolist application&lt;/li&gt;
&lt;li&gt;deploying the container on the BlueMix Hub&lt;/li&gt;
&lt;li&gt;Creating MongoDB service from service catalog of BlueMix to manage a bind&lt;/li&gt;
&lt;li&gt;Use JazzHub to manage the container deployment&lt;/li&gt;
&lt;li&gt;Run the BlueMix container bind to the MongoDB service&lt;br&gt;
See Youtube link below to see the demo&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="important-points"&gt;Important points
&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;IBM changes its strategy and communication and follows the path of all the main actors by using Docker containers: Google Cloud, Amazon, Microsoft Azure, RedHat OpenShift, Heroku&lt;/li&gt;
&lt;li&gt;IBM embrace with Bluemix and Docker the container architecture with cloud and micro-services&lt;/li&gt;
&lt;li&gt;Bluemix use mainly OpenSources software inside (OpenStack, CloudFoundry, Docker)&lt;/li&gt;
&lt;li&gt;By adding the Jazz Hub to the global picture, they bring a development forge AND a release management system (The catalog of BlueMix provide also Delivery Pipeline mechanism)&lt;/li&gt;
&lt;li&gt;BlueMix can hold other technologies than Java, even for backend&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="what-can-we-foresee-by-these-choices-"&gt;What can we foresee by these choices ?
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Micro-services&lt;/li&gt;
&lt;li&gt;API backend (not only Java: Node…)&lt;/li&gt;
&lt;li&gt;Applications standardized in a DevOps way with Docker&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="next-step"&gt;Next-step
&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;The video of the french webinar is here: &lt;a class="link" href="https://youtu.be/ISMFyXMCu3s" target="_blank" rel="noopener"
 &gt;https://youtu.be/ISMFyXMCu3s&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;MOOC available on BlueMix &lt;a class="link" href="https://openclassrooms.com/ibm" target="_blank" rel="noopener"
 &gt;https://openclassrooms.com/ibm&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;BlueMix &lt;a class="link" href="https://console.ng.bluemix.net/" target="_blank" rel="noopener"
 &gt;https://console.ng.bluemix.net/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;BlueMix MeetUp &lt;a class="link" href="http://bluemix.meetup.com/fr/cities/fr/paris/" target="_blank" rel="noopener"
 &gt;http://bluemix.meetup.com/fr/cities/fr/paris/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;StackOverFlow Bluemix community &lt;a class="link" href="http://stackoverflow.com/questions/tagged/bluemix" target="_blank" rel="noopener"
 &gt;http://stackoverflow.com/questions/tagged/bluemix&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Jazz Hub &lt;a class="link" href="https://hub.jazz.net/" target="_blank" rel="noopener"
 &gt;https://hub.jazz.net/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;CloudFoundry &lt;a class="link" href="https://www.cloudfoundry.org/" target="_blank" rel="noopener"
 &gt;https://www.cloudfoundry.org&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;OpenStack &lt;a class="link" href="http://www.openstack.org/" target="_blank" rel="noopener"
 &gt;http://www.openstack.org/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Devoxx France 2015 return of experience</title><link>https://jamkey.fr/devoxx-france-2015-return-of-experience/</link><pubDate>Tue, 19 May 2015 00:00:00 +0000</pubDate><guid>https://jamkey.fr/devoxx-france-2015-return-of-experience/</guid><description>&lt;img src="https://jamkey.fr/images/devoxx-2015-logo.jpg" alt="Featured image of post Devoxx France 2015 return of experience" /&gt;&lt;h1 id="devoxx-france-2015-return-of-experience"&gt;Devoxx France 2015 return of experience
&lt;/h1&gt;&lt;p&gt;&lt;strong&gt;Devoxx France&lt;/strong&gt; is a conference for developers which took place in Paris during 3 days in April 2015.&lt;/p&gt;
&lt;p&gt;As explained by the Devoxx team, the goal of Devoxx is :&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;p&gt;To provide a technological conference of quality,&lt;br&gt;
where the enthusiastics developers can come to learn,&lt;br&gt;
work in network, to hack code, to make monitoring,&lt;br&gt;
and to come to be inspired during 3 days.&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;p&gt;Summary quoted from Oracle website:&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;p&gt;In this 20th year of Java, the theme of Devoxx France 2015 was about innovations in technology over the next 20 years.&lt;br&gt;
In his keynote, Java architect Brian Goetz described a development approach that keeps up with the technical needs of developers.&lt;br&gt;
Java 9 will deliver a modular platform tuned to hardware requirements.&lt;br&gt;
CEO Quentin Adam of Clever Cloud considers that engineering roles are entering an age of specialization.&lt;br&gt;
Dan Allen, an open source advocate, author, and world renowned speaker, discussed the responsibility of developers to preserve digital information for future generations.&lt;br&gt;
CCO Stephan Tual discussed Ehereum, an open source and decentralized platform allowing the creation of P2P businesses with new infrastructure, communication and privacy.&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h1 id="inside-devoxx-france-2015"&gt;Inside Devoxx France 2015
&lt;/h1&gt;&lt;h2 id="what-is-devoxx-"&gt;What is Devoxx ?
&lt;/h2&gt;&lt;p&gt;Devoxx is one of the &lt;em&gt;most important&lt;/em&gt; conference in IT development.&lt;br&gt;
The Devoxx France is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Created by members of Paris JUG&lt;/li&gt;
&lt;li&gt;Comes from Belgium (Stephan Janssen)&lt;/li&gt;
&lt;li&gt;has more than 2500 visitors&lt;/li&gt;
&lt;li&gt;speaks about Java, Agility, Web, Cloud Computing, Mobile…&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="what-for-"&gt;What for ?
&lt;/h2&gt;&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/devoxx/devoxx-pic1.png"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;IT front line conference:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;See avant-garde conference (Web components…)&lt;/li&gt;
&lt;li&gt;To know Java roadmaps (Java EE 8, Java 9…)&lt;/li&gt;
&lt;li&gt;See Development accelerator tools in action (Java Hipster, JBossForge…)&lt;/li&gt;
&lt;li&gt;Get industrialisation return of experience (Groovy release…)&lt;/li&gt;
&lt;li&gt;Lot of information : help vision on IT plan&lt;/li&gt;
&lt;li&gt;Opportunity to share point of views with IT actors in a simple way&lt;/li&gt;
&lt;li&gt;&lt;em&gt;To be part of IT community&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="devoxx-word-of-mouth"&gt;Devoxx « Word Of Mouth »
&lt;/h2&gt;&lt;p&gt;Here are 8 words most used in Devoxx conferences (based on track titles):&lt;br&gt;
&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/devoxx/devoxx-words.png"&gt;&lt;/p&gt;
&lt;p&gt;As we can see, « Java » is obviously in good position.&lt;br&gt;
But Web and Mobile represent an important part of the conference.&lt;/p&gt;
&lt;h2 id="devoxx-tracks"&gt;Devoxx tracks
&lt;/h2&gt;&lt;p&gt;Devoxx is composed of 8 differents tracks of topics :&lt;br&gt;
&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/devoxx/devoxx-tracks.png"&gt;&lt;/p&gt;
&lt;h1 id="tracks-summaries"&gt;Tracks summaries
&lt;/h1&gt;&lt;h2 id="java-infinite-possibilities"&gt;Java, infinite possibilities
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;42 conferences&lt;/li&gt;
&lt;li&gt;Java still very active despite the explosion of Web Front technologies&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Topics of the conferences:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Java today and the next 20 years&lt;/li&gt;
&lt;li&gt;Java Stream (data management)&lt;/li&gt;
&lt;li&gt;JBossForge (Java EE dev accelerator)&lt;/li&gt;
&lt;li&gt;RxJava (asynchronous and event-based programs)&lt;/li&gt;
&lt;li&gt;CDI (Context &amp;amp; Dependency Injection)&lt;/li&gt;
&lt;li&gt;Hystrix (Netflix – Latency and Fault Tolerance)&lt;/li&gt;
&lt;li&gt;Micro Services (API and architecture)&lt;/li&gt;
&lt;li&gt;Spring and Spring Boot&lt;/li&gt;
&lt;li&gt;Hibernate&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="architecture-performance-and-security"&gt;Architecture, Performance and Security
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;28 conferences&lt;/li&gt;
&lt;li&gt;API in the middle of questions&lt;/li&gt;
&lt;li&gt;Oriented to Microservices and Cloud&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Topics of the conferences:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;API&lt;/li&gt;
&lt;li&gt;RxJava (asynchronous Java)&lt;/li&gt;
&lt;li&gt;Akka persistence (toolkit for concurrent, distributed)&lt;/li&gt;
&lt;li&gt;Circuit Breaker Pattern&lt;/li&gt;
&lt;li&gt;AsciiDoc&lt;/li&gt;
&lt;li&gt;Performance, Benchmarks and Optimisation&lt;/li&gt;
&lt;li&gt;Lock free applications&lt;/li&gt;
&lt;li&gt;WebCrypto API&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="cloud--devops"&gt;Cloud &amp;amp; DevOps
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;30 conferences&lt;/li&gt;
&lt;li&gt;Cloud and Docker in the middle&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Topics of the conferences:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Big Data and Data Science&lt;/li&gt;
&lt;li&gt;Release process (Groovy experience)&lt;/li&gt;
&lt;li&gt;Cloud deployment tooling: Docker, Mesos, Marathon&lt;/li&gt;
&lt;li&gt;Cloud application monitoring and development&lt;/li&gt;
&lt;li&gt;Linux packaging for Docker/LXC orientation&lt;/li&gt;
&lt;li&gt;Scaling with Kubernetes&lt;/li&gt;
&lt;li&gt;Lot of new Cloud Solutions: &lt;em&gt;Google Cloud, Amazon AWS Elastic Beanstalk, IBM Bluemix, Microsoft Azure, Cloud Foundry (OSS), RedHat OpenShift, Heroku, Clever Cloud…&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="alternate-languages"&gt;Alternate Languages
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;16 conferences&lt;/li&gt;
&lt;li&gt;Javascript full stack&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Topics of the conferences:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;JavaScript
&lt;ul&gt;
&lt;li&gt;Spread more and more&lt;/li&gt;
&lt;li&gt;Full stack capacity&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;TypeScript : JavaScript of AngularJS v2&lt;/li&gt;
&lt;li&gt;Ceylon : runs Java and JavaScript virtual machine&lt;/li&gt;
&lt;li&gt;Scala : functional programming&lt;/li&gt;
&lt;li&gt;Scripting combination : JavaScript, CoffeeScript, ClojureScript, GopherJs&lt;/li&gt;
&lt;li&gt;Go : Google system language&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="agility-methodology--tests"&gt;Agility, Methodology &amp;amp; Tests
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;33 conferences&lt;/li&gt;
&lt;li&gt;New management&lt;/li&gt;
&lt;li&gt;Build automation level up&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Topics of the conferences:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;BDD worst practices&lt;/li&gt;
&lt;li&gt;Code review strategy&lt;/li&gt;
&lt;li&gt;Geek management&lt;/li&gt;
&lt;li&gt;Technical debt&lt;/li&gt;
&lt;li&gt;Testing:
&lt;ul&gt;
&lt;li&gt;Unit testing concurrent code&lt;/li&gt;
&lt;li&gt;WireMock&lt;/li&gt;
&lt;li&gt;Build automation : Gradle&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ultimate Bug Fighting&lt;/li&gt;
&lt;li&gt;Software craftsmanship&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="big-data--analytics"&gt;Big Data &amp;amp; Analytics
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;27 conferences&lt;/li&gt;
&lt;li&gt;Data Science is one the big IT subject&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Topics of the conferences:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Spark is replacing Hadoop/MapReduce
&lt;ul&gt;
&lt;li&gt;Machine Learning&lt;/li&gt;
&lt;li&gt;SparkSQL&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Streaming : Kafka&lt;/li&gt;
&lt;li&gt;New databases: Cassandra, Datomic, InfluxDB&lt;/li&gt;
&lt;li&gt;Data mapping : Elastic search&lt;/li&gt;
&lt;li&gt;Log management : LogStash&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="web-mobile--ux"&gt;Web, Mobile &amp;amp; UX
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;33 conferences&lt;/li&gt;
&lt;li&gt;Lot of development tools&lt;/li&gt;
&lt;li&gt;AngularJS in the middle of JS&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Topics of the conferences:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;JavaScript :
&lt;ul&gt;
&lt;li&gt;AngularJS: debugging, performance&lt;/li&gt;
&lt;li&gt;Browserify: modularity&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Vert.x : polyglot event-driven application framework&lt;/li&gt;
&lt;li&gt;Jhipster : Spring Boot + AngularJS generator&lt;/li&gt;
&lt;li&gt;Ionic Framework : powerful hybrid mobile&lt;/li&gt;
&lt;li&gt;Web components : the future of Web
&lt;ul&gt;
&lt;li&gt;Polymer&lt;/li&gt;
&lt;li&gt;Material Design&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="future"&gt;Future &lt;Devoxx&gt;
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;17 conferences&lt;/li&gt;
&lt;li&gt;Connected objects : new fields of development&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Topics of the conferences:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Cognitive application (IBM Watson)&lt;/li&gt;
&lt;li&gt;Paris JUG and Duchess talks&lt;/li&gt;
&lt;li&gt;The future of reading and writing
&lt;ul&gt;
&lt;li&gt;Robotics&lt;/li&gt;
&lt;li&gt;Connected objects&lt;/li&gt;
&lt;li&gt;Home automation&lt;/li&gt;
&lt;li&gt;Aldebaran robots&lt;/li&gt;
&lt;li&gt;Autonomous Drones&lt;/li&gt;
&lt;li&gt;Robots could learn&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;IOT : Internet of things&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="what-is-coming-next-"&gt;What is coming next ?
&lt;/h1&gt;&lt;h2 id="devops-in-every-conferences"&gt;DevOps in every conferences
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;DevOps very discussed in every conferences&lt;/li&gt;
&lt;li&gt;Use case : Groovy release mechanism (use Bintray to deliver)&lt;/li&gt;
&lt;li&gt;DevOps oriented to Continuous Delivery (Jenkins Delivery Pipeline, Tests Arquillian, Logstash)&lt;/li&gt;
&lt;li&gt;Ops behaviour metrics : Logstash, Statsd and Graphite&lt;/li&gt;
&lt;li&gt;Distributed systems tooling:
&lt;ul&gt;
&lt;li&gt;Docker&lt;/li&gt;
&lt;li&gt;Apache Mesos&lt;/li&gt;
&lt;li&gt;Marathon&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Even for development environment : Docker Compose&lt;/li&gt;
&lt;li&gt;Use native package to be ready to containers&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="drove-by-the-cloud"&gt;Drove by the Cloud
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;In most of the presentations, Application Servers were replaced by &lt;strong&gt;Cloud solutions&lt;/strong&gt; and deployment managed by Docker&lt;/li&gt;
&lt;li&gt;Lot of new Cloud Solutions: Google Cloud, Amazon AWS Elastic Beanstalk, IBM Bluemix, Microsoft Azure, Cloud Foundry (OSS), RedHat OpenShift, Heroku, Clever Cloud…&lt;/li&gt;
&lt;li&gt;Major Cloud companies push their tools to Open Source (NetFlix, Google)&lt;/li&gt;
&lt;li&gt;IT architecture orientation : end of monolithic architecture, Microservices, asynchrone&lt;/li&gt;
&lt;li&gt;Technologies: Docker, Mesos, RxJava, Spring Boot/Cloud, WildFly Swarm…&lt;/li&gt;
&lt;li&gt;Manage cluster of Linux containers : Kubernetes&lt;/li&gt;
&lt;li&gt;Adapted to multi technologies fronts : Mobile, Web…&lt;/li&gt;
&lt;li&gt;Even Cloud IDE: Codenvy Eclipse Che&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="development-accelerators"&gt;Development accelerators
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Powerful stacks with simpler developments: Spring Boot, Fluent HTTP, Java EE CDI&lt;/li&gt;
&lt;li&gt;Generator tools to shape and accelerate development: Jhipster, JBossForge&lt;/li&gt;
&lt;li&gt;Spring Boot shape your developments
&lt;ul&gt;
&lt;li&gt;Simplification of Spring configuration&lt;/li&gt;
&lt;li&gt;Possibility to create your own starters&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Documentation industrialisation: AsciiDoctor&lt;/li&gt;
&lt;li&gt;Environment setup : Docker (and Docker Compose), Mesos, Marathon&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="web-technologies-spreading"&gt;Web technologies spreading
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Javascript and Web technologies spreading more and more&lt;/li&gt;
&lt;li&gt;Google Stack prominent
&lt;ul&gt;
&lt;li&gt;Angular JS (framework)&lt;/li&gt;
&lt;li&gt;Material Design (visual rules)&lt;/li&gt;
&lt;li&gt;Polymer (web components)&lt;/li&gt;
&lt;li&gt;Cloud endpoints (backend)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ionic Framework for Mobile Hybrid development&lt;/li&gt;
&lt;li&gt;Web components define future of web developments&lt;/li&gt;
&lt;li&gt;Node.js : base platform for a lot of tools (Ionic, Jhipster…)&lt;/li&gt;
&lt;li&gt;JS is still very dynamic new ecosystem : React.js (Facebook UI)&lt;/li&gt;
&lt;li&gt;New norms : HTTP2 (performance enhancement)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="train-of-thoughts"&gt;Train of thoughts
&lt;/h2&gt;&lt;ul&gt;
&lt;li&gt;Agility but with taking a step back
&lt;ul&gt;
&lt;li&gt;BDD difficulties due to lack of impact mapping&lt;/li&gt;
&lt;li&gt;Cross design workshop (share the design of the application)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Responsibility and free-will of the developer
&lt;ul&gt;
&lt;li&gt;Private life&lt;/li&gt;
&lt;li&gt;Security, back-door, technical fail&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;New way to IT management
&lt;ul&gt;
&lt;li&gt;Quash received wisdom (step back on general ideas)&lt;/li&gt;
&lt;li&gt;Manage geeks by continuous improvement sharing&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Internet of things
&lt;ul&gt;
&lt;li&gt;Connected objects are projects of today&lt;/li&gt;
&lt;li&gt;More and more IT projects on Robotic&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="sum-up-and-conclusion"&gt;Sum up and conclusion
&lt;/h1&gt;&lt;h2 id="and-continuous-integrationin-all-this-"&gt;And Continuous Integration in all this ?
&lt;/h2&gt;&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/devoxx/devoxx-pic2.png"&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Inspiration to define better development use cases&lt;/li&gt;
&lt;li&gt;Get fresh on best practices on tests, build, code analysis&lt;/li&gt;
&lt;li&gt;Confirm current choices according to the development community&lt;/li&gt;
&lt;li&gt;Understand the trends which lead to technology shifting&lt;/li&gt;
&lt;li&gt;See other release management use case :&lt;/li&gt;
&lt;li&gt;Groovy Release management&lt;/li&gt;
&lt;li&gt;Tools examples:
&lt;ul&gt;
&lt;li&gt;Jenkins : Mesos plugin, Docker plugin&lt;/li&gt;
&lt;li&gt;Environment setup: Docker Compose&lt;/li&gt;
&lt;li&gt;Continuous Delivery : Jenkins delivery pipeline&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="conclusion"&gt;Conclusion
&lt;/h2&gt;&lt;p&gt;&lt;img alt="Alt text" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/devoxx/devoxx-pic3.png"&gt;&lt;/p&gt;
&lt;p&gt;Devoxx is a motivating experience, specially when you are asking yourself question on the IT vision to adopt.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;New orientations are spreading:
&lt;ul&gt;
&lt;li&gt;Cloud oriented development is clearly a global shared vision&lt;/li&gt;
&lt;li&gt;Microservices architecture will be associated to Cloud orientation&lt;/li&gt;
&lt;li&gt;Fast development (Spring Boot, Jhipster, Javascript full stack) is mandatory to time to market innovations&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;New IT point of view
&lt;ul&gt;
&lt;li&gt;DevOps idea is spread on all IT subjects&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;New inspiration
&lt;ul&gt;
&lt;li&gt;Philosophy : as the quote said « with great power comes great responsabilities »&lt;/li&gt;
&lt;li&gt;Robotic : is becoming a real field for IT projects&lt;/li&gt;
&lt;li&gt;Learning : how to learn and how « to learn to learn » is becoming a big topic&lt;/li&gt;
&lt;li&gt;Responsibility and security :&lt;/li&gt;
&lt;li&gt;New way to manage projects : adopt management transparency, step back on received wisdom, agility and impact mapping is not a good choice = it is becoming mandatory&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="links"&gt;Links
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;External links:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Devoxx web site information
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.devoxx.fr/" target="_blank" rel="noopener"
 &gt;http://www.devoxx.fr/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://www.devoxx.fr/2015/05/ils-ont-parle-de-nous-en-2015/" target="_blank" rel="noopener"
 &gt;http://www.devoxx.fr/2015/05/ils-ont-parle-de-nous-en-2015/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Parleys web site to watch conference videos:
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://www.parleys.com/channel/devoxx-france-2015" target="_blank" rel="noopener"
 &gt;https://www.parleys.com/channel/devoxx-france-2015&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Language
&lt;ul&gt;
&lt;li&gt;Java
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://forge.jboss.org/" target="_blank" rel="noopener"
 &gt;http://forge.jboss.org/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Other Language
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://ceylon-lang.org/" target="_blank" rel="noopener"
 &gt;http://ceylon-lang.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://golang.org/" target="_blank" rel="noopener"
 &gt;https://golang.org&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;DevOps
&lt;ul&gt;
&lt;li&gt;Docker
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.docker.com/" target="_blank" rel="noopener"
 &gt;http://www.docker.com/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://docs.docker.com/compose/" target="_blank" rel="noopener"
 &gt;http://docs.docker.com/compose/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Mesos
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://mesos.apache.org/" target="_blank" rel="noopener"
 &gt;http://mesos.apache.org/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Marathon
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://mesosphere.github.io/marathon/" target="_blank" rel="noopener"
 &gt;https://mesosphere.github.io/marathon/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Cloud
&lt;ul&gt;
&lt;li&gt;Cloud Foundry
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.cloudfoundry.org/" target="_blank" rel="noopener"
 &gt;http://www.cloudfoundry.org/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Netflix OSS
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://netflix.github.io/" target="_blank" rel="noopener"
 &gt;http://netflix.github.io/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Web
&lt;ul&gt;
&lt;li&gt;Google cloud endpoints
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://cloud.google.com/appengine/docs/java/endpoints/" target="_blank" rel="noopener"
 &gt;https://cloud.google.com/appengine/docs/java/endpoints/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Ionic framework
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://ionicframework.com/" target="_blank" rel="noopener"
 &gt;http://ionicframework.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Service workers
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://github.com/slightlyoff/ServiceWorker/blob/master/explainer.md" target="_blank" rel="noopener"
 &gt;https://github.com/slightlyoff/ServiceWorker/blob/master/explainer.md&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Development accelerator
&lt;ul&gt;
&lt;li&gt;Jhipster
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://jhipster.github.io/" target="_blank" rel="noopener"
 &gt;https://jhipster.github.io/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;JBoss Forge
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://forge.jboss.org/" target="_blank" rel="noopener"
 &gt;http://forge.jboss.org/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;AsciiDoctor
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://asciidoctor.org/" target="_blank" rel="noopener"
 &gt;http://asciidoctor.org/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Automated test classification</title><link>https://jamkey.fr/automated-test-classification/</link><pubDate>Tue, 12 May 2015 00:00:00 +0000</pubDate><guid>https://jamkey.fr/automated-test-classification/</guid><description>&lt;img src="https://jamkey.fr/images/automated-tests.jpg" alt="Featured image of post Automated test classification" /&gt;&lt;p&gt;The technical automated tests should be categorized in a way that the build management system can execute each category on dependent development phases.Continuous Integration focus mainly on development tests which are automated.&lt;br&gt;
According to standards we can split tests in 3 main categories:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unit testing : test component without external interactions (for example, no access to external system or databases)&lt;/li&gt;
&lt;li&gt;Integration testing: test the components with interactions&lt;/li&gt;
&lt;li&gt;System testing: test application as a whole&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Each test categories contain many test types. Is it important to identify these categories in order to automate, execute them and finally use them as a core of &lt;strong&gt;Test Policy Development&lt;/strong&gt;.&lt;/p&gt;
&lt;h1 id="automated-tests-incontinuous-integration"&gt;Automated tests in Continuous Integration
&lt;/h1&gt;
 &lt;blockquote&gt;
 &lt;p&gt;« Program testing can be a very effective way to show the presence of bugs, but it is hopelessly inadequate for showing their absence. »&lt;/p&gt;
&lt;p&gt;— Edsger W. Dijkstra (Turing price 1972)&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h2 id="bugs-have-a-price"&gt;Bugs have a price
&lt;/h2&gt;&lt;p&gt;&lt;img alt="bugs-prices" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/automated-tests/bugs-prices.png"&gt;&lt;/p&gt;
&lt;p&gt;The cost of bug fixing increase when discovered lately of the development phase.&lt;/p&gt;
&lt;h2 id="automated-tests-benefits"&gt;Automated tests benefits
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Cost&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Developing relevant automated test decrease cost of bugs of 97%&lt;/li&gt;
&lt;li&gt;Reduce cost of functional or acceptance tests which can focus on relevant test cases&lt;/li&gt;
&lt;li&gt;Optimize maintenance cost and time&lt;/li&gt;
&lt;li&gt;Optimize TCO (total cost of ownership)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Quality&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reduce technical debt&lt;/li&gt;
&lt;li&gt;They reduce risks of delivery failure&lt;/li&gt;
&lt;li&gt;Increase source code quality&lt;/li&gt;
&lt;li&gt;Increase trust on development process&lt;/li&gt;
&lt;li&gt;Ensure better roadmap follow-up&lt;/li&gt;
&lt;li&gt;Time to market (identify and correct bug earlier)&lt;/li&gt;
&lt;li&gt;Improve test capacity (other type of tests)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="automated-tests-incontinuous-integration-1"&gt;Automated tests in Continuous Integration
&lt;/h2&gt;&lt;p&gt;Why Do Automated Testing?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Avoid &lt;strong&gt;regressions&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Allow systems/applications to continue to change without &lt;strong&gt;long « testing » phases&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Finding defects and problems &lt;strong&gt;earlier and faster&lt;/strong&gt; (local run and CI)&lt;/li&gt;
&lt;li&gt;Ensure external integration points are &lt;strong&gt;working&lt;/strong&gt; and continue to work as expected&lt;/li&gt;
&lt;li&gt;Ensure the user can interact with the system &lt;strong&gt;as expected&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Help&lt;/strong&gt; debugging / writing / designing code&lt;/li&gt;
&lt;li&gt;Help specify the &lt;strong&gt;behaviour&lt;/strong&gt; of the system&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Overall : increase project delivery speed and trust with built-in quality&lt;/p&gt;
&lt;h2 id="strategy-and-scope"&gt;Strategy and scope
&lt;/h2&gt;&lt;p&gt;Continuous Integration is targeting automated tests during the &lt;strong&gt;development phase&lt;/strong&gt;.&lt;br&gt;
Which means these tests:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Are held and managed by the &lt;strong&gt;developers&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Can be executed &lt;strong&gt;locally&lt;/strong&gt; (developer workspace) and in &lt;strong&gt;continuous integration&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Are used by the developer to &lt;strong&gt;help&lt;/strong&gt; him developing new application features&lt;/li&gt;
&lt;li&gt;Improved &lt;strong&gt;trust&lt;/strong&gt; in source code quality&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Continuous Integration will not address tests other than development ones.&lt;br&gt;
But other types of automated tests can be included in continuous integration.&lt;br&gt;
Testing team should be involved into automated test to capitalize relevant scenario and enrich non-regression.&lt;/p&gt;
&lt;h2 id="tests-scope"&gt;Tests scope
&lt;/h2&gt;&lt;p&gt;Continuous Integration actions focus on the development phase of the application&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Inputs are mainly specifications/design&lt;/li&gt;
&lt;li&gt;After, the delivery validation phase like &lt;em&gt;acceptance tests&lt;/em&gt; are engaged&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img alt="tests-scope" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/automated-tests/tests-scope.png"&gt;&lt;/p&gt;
&lt;h2 id="tests-in-continuous-integration"&gt;Tests in Continuous Integration
&lt;/h2&gt;&lt;p&gt;&lt;img alt="tests-in-ci" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/automated-tests/tests-in-ci.png"&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;In development phase, tests are used mainly to ensure &lt;strong&gt;no regressions&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Automated test process of Continuous Integration is separated in 3 main steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unit testing&lt;/li&gt;
&lt;li&gt;Integration testing&lt;/li&gt;
&lt;li&gt;System testing&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Each phase are &lt;strong&gt;automated&lt;/strong&gt; and executed by &lt;strong&gt;continuous integration&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The &lt;em&gt;Automated Installation&lt;/em&gt; is a mandatory phase to execute System Tests&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="tests-classification"&gt;Tests classification
&lt;/h1&gt;
 &lt;blockquote&gt;
 &lt;p&gt;« Testing, is being uncertain. »&lt;/p&gt;
&lt;p&gt;— Anonymous&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h2 id="testing-an-application"&gt;Testing an application
&lt;/h2&gt;&lt;p&gt;&lt;img alt="tests-in-app" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/automated-tests/tests-in-app.png"&gt;&lt;/p&gt;
&lt;p&gt;A given application can tested in various ways:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unit tests check specific section of code (Mocks can be used to isolate components)&lt;/li&gt;
&lt;li&gt;Integration tests check components interactions&lt;/li&gt;
&lt;li&gt;System tests see the application as a whole&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="automated-test-classification"&gt;Automated test classification
&lt;/h2&gt;&lt;p&gt;Test automation can be separated into 3 categories&lt;br&gt;
They have different characteristics:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Technical constraints&lt;/li&gt;
&lt;li&gt;Environment scope&lt;/li&gt;
&lt;li&gt;Execution speed requirements&lt;/li&gt;
&lt;li&gt;Autonomy&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Some tests used direct API of the source code, others use interface (UI, services…)&lt;/p&gt;
&lt;p&gt;&lt;img alt="test-classification" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/automated-tests/test-classification.png"&gt;&lt;/p&gt;
&lt;p&gt;Even if categories are strict in order to identify tests constraints, but:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Reusability of tests in different categories is possible (specially dealing with API)&lt;/li&gt;
&lt;li&gt;Architecture can bring to adapt categories to technical needs (for example making performance tests on Services…)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="unit-testing"&gt;Unit testing
&lt;/h2&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th style="text-align: center"&gt;Definition (from ISTQB and IEEE 610)&lt;/th&gt;
 &lt;th&gt;The testing of individual software components or groups of related units.&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Features&lt;/td&gt;
 &lt;td&gt;Unit testing refers to tests that verify the functionality of a specific section of code, usually at the function or class level. In an object-oriented environment, this is usually at the class level, and the minimal unit tests include the constructors and destructors. So it means that we have to shunt all the external interactions thanks to stubs or mocks.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Constraints&lt;/td&gt;
 &lt;td&gt;Isolated from external component (database, system, other services…) to avoid non-deterministic behavior Can be run without any specific environment resources&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;ROI&lt;/td&gt;
 &lt;td&gt;Unit tests improves QA and the ROI because its aims are: Eliminating construction errors before code is promoted to QA (efficient non regression test) Detecting easily in which component the problem is when there is a production issue Low maintenance issues, because tight to source code API&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Cost&lt;/td&gt;
 &lt;td&gt;Fast development (especially when written during development). Maintenance make easier by API reference (the IDE will show you differences, and the compilation validate methods signatures).&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Environment&lt;/td&gt;
 &lt;td&gt;Fast execution. Only needs unit test framework (like JUnit) and JVM. Execution limited to JVM (no external components like database).&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Types&lt;/td&gt;
 &lt;td&gt;Component tests are test cases and suite which use application API Mock tests are also Component tests which use Test doubles (mocks) to simulate internal or external components&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id="unit-test-definition"&gt;Unit test definition
&lt;/h3&gt;&lt;p&gt;According to Roy Osherove:&lt;/p&gt;

 &lt;blockquote&gt;
 &lt;ul&gt;
&lt;li&gt;
&lt;p&gt;A unit test is an automated piece of code that invokes a unit of work in the system and then checks a single assumption about the behavior of that unit of work.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A unit of work is a single logical functional use case in the system that can be invoked by some public interface (in most cases). A unit of work can span a single method, a whole class or multiple classes working together to achieve one single logical purpose that can be verified.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;A good unit test is:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Able to be fully automated&lt;/li&gt;
&lt;li&gt;Has full control over all the pieces running (Use mocks or stubs to achieve this isolation when needed)&lt;/li&gt;
&lt;li&gt;Can be run in any order if part of many other tests&lt;/li&gt;
&lt;li&gt;Runs in memory (no DB or File access, for example)&lt;/li&gt;
&lt;li&gt;Consistently returns the same result (You always run the same test, so no random numbers, for example. save those for integration – or range tests)&lt;/li&gt;
&lt;li&gt;Runs fast&lt;/li&gt;
&lt;li&gt;Tests a single logical concept in the system&lt;/li&gt;
&lt;li&gt;Readable&lt;/li&gt;
&lt;li&gt;Maintainable&lt;/li&gt;
&lt;li&gt;Trustworthy (when you see its result, you don’t need to debug the code just to be sure)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I consider any test that doesn’t live up to all these as an integration test and put it in its own « integration tests » project.&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Unit test should focus on :&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Readability (test one thing, meaningful message, naming convention…)&lt;/li&gt;
&lt;li&gt;Maintainability (isolated, good mock management, state-based…)&lt;/li&gt;
&lt;li&gt;Trust (separated from integration tests, use fixed values…)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="unit-test-isolation"&gt;Unit Test isolation
&lt;/h3&gt;&lt;ul&gt;
&lt;li&gt;When communicating with the collaborators is awkward (such as a remote credit card verification system) the testing unit &lt;strong&gt;should be isolated by mocks&lt;/strong&gt; when relevant&lt;/li&gt;
&lt;li&gt;If you follow the principle of collaborator isolation you don’t want to use the real product or customer classes here, because a fault in the customer class would cause the order class’s tests to fail. Instead you use &lt;em&gt;Mock / TestDoubles&lt;/em&gt; for the collaborators to avoid non-deterministic behavior.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Mocking the collaborators is not a mandatory and systematic pattern: it should be used when &lt;strong&gt;relevant&lt;/strong&gt;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unit test autonomy&lt;/li&gt;
&lt;li&gt;Complexity of environment&lt;/li&gt;
&lt;li&gt;Remote services resulting into non-determinist test&lt;/li&gt;
&lt;li&gt;Speed requirement&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;One typical use case is the « In Memory Database » which can be used by Unit Tests as a &lt;em&gt;fake database&lt;/em&gt;. When switching in real database, the &lt;strong&gt;same tests&lt;/strong&gt; can be used also as Integration Tests.&lt;/p&gt;
&lt;p&gt;&lt;img alt="unit-test-isolation" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/automated-tests/unit-test-isolation.png"&gt;&lt;/p&gt;
&lt;h3 id="mock--test-double"&gt;Mock / Test double
&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Dummy&lt;/strong&gt; objects are passed around but never actually used. Usually they are just used to fill parameter lists.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fake&lt;/strong&gt; objects actually have working implementations, but usually take some shortcut which makes them not suitable for production (an InMemoryTestDatabase is a good example).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Stubs&lt;/strong&gt; provide canned answers to calls made during the test, usually not responding at all to anything outside what’s programmed in for the test.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Spies&lt;/strong&gt; are stubs that also record some information based on how they were called. One form of this might be an email service that records how many messages it was sent.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Mocks&lt;/strong&gt; are pre-programmed with expectations which form a specification of the calls they are expected to receive. They can throw an exception if they receive a call they don’t expect and are checked during verification to ensure they got all the calls they were expecting.&lt;/p&gt;
&lt;h2 id="integration-testing"&gt;Integration testing
&lt;/h2&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th style="text-align: center"&gt;Definition (from ISTQB)&lt;/th&gt;
 &lt;th&gt;Testing performed to expose defects in the interfaces and in the interactions between integrated components or systems.&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Features&lt;/td&gt;
 &lt;td&gt;Integration testing is any type of software testing that seeks to verify the interfaces between components against a software design. External interactions are effectives when relevant (no stub nor mocks).&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Constraints&lt;/td&gt;
 &lt;td&gt;External components available and fill with test data (database, system, other services…) Interconnection set-up between application and external components&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;ROI&lt;/td&gt;
 &lt;td&gt;Very efficient non regression test. Give feedback on integration issues. Tight to application services. Can reuse unit tests code when relevant (unmocked). Integration tests improve the components’ integration : They allow interfaces’ issues to be located more quickly and fixed. Detecting easily between which component the problem is when there is a production issue&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Cost&lt;/td&gt;
 &lt;td&gt;Maintenance make easier when using API reference. Can be more difficult when dealing with external components dependencies.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Environment&lt;/td&gt;
 &lt;td&gt;Potentially slow execution. Needs test framework (like JUnit), JVM and external component availability.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Types&lt;/td&gt;
 &lt;td&gt;Service test: tests calling application services from external layer (ex.: Webservice calls) API test: tests calling application services directly by API calls&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Note: When relevant, some unit test could be reused for integration test&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h3 id="integration-test-definition"&gt;Integration test definition
&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Definition&lt;/strong&gt;:&lt;br&gt;
Integration testing is testing a unit of work &lt;strong&gt;without having full control&lt;/strong&gt; over all of it and using one or more of its &lt;strong&gt;real dependencies&lt;/strong&gt;, such as time, network, database, threads, random number generators, and so on&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Integration test:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;can run slower&lt;/li&gt;
&lt;li&gt;are separated to the unit tests&lt;/li&gt;
&lt;li&gt;put them in their own « integration tests » or « test » &lt;strong&gt;project&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;can also be written with &lt;strong&gt;Junit&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="system-testing"&gt;System testing
&lt;/h2&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th style="text-align: center"&gt;Definition (from ISTQB)&lt;/th&gt;
 &lt;th&gt;The process of testing an integrated system to verify that it meets specified requirements.&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Features&lt;/td&gt;
 &lt;td&gt;System testing, or end-to-end testing, tests a completely integrated system to verify that it meets its requirements. All the external interactions might be effectives (no stub nor mocks). For example, a system test might involve testing a logon interface, then creating and editing an entry, plus sending or printing results, followed by summary processing or deletion (or archiving) of entries, then logoff.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Constraints&lt;/td&gt;
 &lt;td&gt;External component available and fill with test data (database, system, other services…) Interconnection between application and external components set-up Application globally installed and available for client interaction Should be monitored in order to have feedback&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;ROI&lt;/td&gt;
 &lt;td&gt;System tests improve the requirements’ matching: They allow requirement matching issues to be detected more quickly and fixed Detecting easily which part of the system doesn’t allow to match the requirements Very efficient non regression test. Give feedback on global integration, performance and features behavior issues.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Cost&lt;/td&gt;
 &lt;td&gt;Heavy cost of set-up and maintenance: any changes on the application affecting the HMI, use cases or scenario expect tests updates.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Environment&lt;/td&gt;
 &lt;td&gt;Slow execution. Needs UI test and all application parts installed and available.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Types&lt;/td&gt;
 &lt;td&gt;Smoke test: preliminary testing to reveal simple fatal failures UI test: simulation of the HMI based on scenario Unit-performance test: load test behavior and measure performance&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;

 &lt;blockquote&gt;
 &lt;p&gt;Note: When relevant, system test could be executed in an embedded container&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h3 id="system-test-ecosystem"&gt;System test ecosystem
&lt;/h3&gt;&lt;p&gt;System testing are all tests that consider the software as a whole&lt;/p&gt;
&lt;p&gt;A lot of different test can be associated to system testing:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Graphical user interface testing&lt;/li&gt;
&lt;li&gt;Usability testing&lt;/li&gt;
&lt;li&gt;Software performance testing&lt;/li&gt;
&lt;li&gt;Compatibility testing&lt;/li&gt;
&lt;li&gt;Exception handling&lt;/li&gt;
&lt;li&gt;Load testing&lt;/li&gt;
&lt;li&gt;Volume testing&lt;/li&gt;
&lt;li&gt;Stress testing&lt;/li&gt;
&lt;li&gt;Security testing&lt;/li&gt;
&lt;li&gt;Scalability testing&lt;/li&gt;
&lt;li&gt;Sanity testing&lt;/li&gt;
&lt;li&gt;Smoke testing&lt;/li&gt;
&lt;li&gt;Exploratory testing&lt;/li&gt;
&lt;li&gt;Ad hoc testing&lt;/li&gt;
&lt;li&gt;Regression testing&lt;/li&gt;
&lt;li&gt;Installation testing&lt;/li&gt;
&lt;li&gt;Recovery testing and failover testing.&lt;/li&gt;
&lt;li&gt;Accessibility testing&lt;/li&gt;
&lt;li&gt;…&lt;/li&gt;
&lt;/ul&gt;

 &lt;blockquote&gt;
 &lt;p&gt;System testing expect to have an installed software : installation automation is mandatory when expecting System Testing automation.&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h3 id="smoke-test"&gt;Smoke test
&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;The Smoke Test is the most basic System testing:&lt;/strong&gt;&lt;br&gt;
A subset of all defined/planned test cases that cover the main functionality of a component or system, to ascertaining that the most crucial functions of a program work, but not bothering with finer details.&lt;/p&gt;
&lt;p&gt;A daily build and smoke test is among industry best practices. Smoke testing is also done by testers before accepting a build for further testing.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft claims that after code reviews, « smoke testing is the most cost-effective method for identifying and fixing defects in software ».&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the case of automated tools, the smoke tests are often initiated by the same process that generates the build itself.&lt;/p&gt;
&lt;h3 id="installation-test"&gt;Installation test
&lt;/h3&gt;&lt;p&gt;&lt;strong&gt;Installation testing&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Quality assurance work that focuses on what customers will need to do to install and set up the new software successfully. The testing process may involve full, partial or upgrades install/uninstall processes.&lt;/li&gt;
&lt;li&gt;Installation test execute installation of the application (with configuration, unit of delivery) on a target environment. The goal is to control the installation procedure and have an available application for other tests.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Constraints&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Manage generic portable application configuration&lt;/li&gt;
&lt;li&gt;Write scripts or use tools to automate installation of all the parts of the application in batch mode&lt;/li&gt;
&lt;li&gt;Setup an orchestration mechanism through continuous integration to run through installation and analyse potential issues&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Benefits&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Integrate installation automation will bring a lot test capacities automation (performance, HMI, service…), reduce manual errors and installation time, ensure repeatability and provides industrialization capacity to the release process. And above all bring control on installation procedure.&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="test-development"&gt;Test development
&lt;/h1&gt;
 &lt;blockquote&gt;
 &lt;p&gt;The pupil asked the master programmer:&lt;br&gt;
« When can I stop writing tests? »&lt;/p&gt;
&lt;p&gt;The master answered:&lt;br&gt;
« When you stop writing code. »&lt;/p&gt;
&lt;p&gt;— &lt;a class="link" href="https://jamkey.fr/testivus" &gt;The way of Testivus&lt;/a&gt;&lt;/p&gt;

 &lt;/blockquote&gt;
&lt;h2 id="test-development-needs"&gt;Test development needs
&lt;/h2&gt;&lt;p&gt;Test development should be based on &lt;strong&gt;requirements&lt;/strong&gt; and architecture needs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Sensible components should have detailed tests&lt;/li&gt;
&lt;li&gt;Tests should be developed depending of architecture : for example, JavaScript application will need more UI tests&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Cost&lt;/strong&gt; of test development and maintenance should not be underestimated (in particular when changing API and HMI)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Development of high-level tests like System Tests are sensible to application modification&lt;/li&gt;
&lt;li&gt;Give advantage to API test (unit or integration) when refactoring (interesting for Agile development)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Tests can be &lt;strong&gt;reused&lt;/strong&gt; on different categories changing configuration (in some cases, unit test can be reused in integration)&lt;/p&gt;
&lt;p&gt;Test &lt;strong&gt;coverage should used carefully&lt;/strong&gt; and when misunderstood could bring to &lt;strong&gt;useless&lt;/strong&gt; tests development (ex.: testing getter-setter is often useless)&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Test coverage should be used on sensible and complex component or class&lt;/li&gt;
&lt;li&gt;A test coverage strategy should be set-up early (for example, during conception/architecture reviews/audit) to specify coverage expectations on sensible classes/methods&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In &lt;strong&gt;Agile&lt;/strong&gt; development, the automated tests (in particular unit test and integration tests) are developed very early&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Methods like TDD (Test Driven Development), BDD (Behavior Driven Development) expect an essential role of the automated tests&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="tests-expectations-examples"&gt;Tests expectations examples
&lt;/h2&gt;&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th style="text-align: center"&gt;&lt;/th&gt;
 &lt;th style="text-align: center"&gt;Unit testing&lt;/th&gt;
 &lt;th style="text-align: center"&gt;Integration testing&lt;/th&gt;
 &lt;th style="text-align: center"&gt;System testing&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Development goal&lt;/td&gt;
 &lt;td style="text-align: center"&gt;To verify component behavior. Mock should be used when relevant to avoid integration issues and non deterministic behavior.&lt;/td&gt;
 &lt;td style="text-align: center"&gt;To verify services behavior and integration. Component should be un-mocked.&lt;/td&gt;
 &lt;td style="text-align: center"&gt;To verify scenario validity, performance expectation, installation capacity.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Environment requirement&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Minimal container and dependencies, mandatory autonomy (ex.: no database dependency). Avoid non-deterministic behavior.&lt;/td&gt;
 &lt;td style="text-align: center"&gt;External components available and accessible from application&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Available environment, test resources and dependencies. Application fully installed with external components, available by UI.&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Example of tools and frameworks&lt;/td&gt;
 &lt;td style="text-align: center"&gt;JUnit, H2 and HSQLDB (embedded database), Mockito&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Junit, JMeter&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Selenium, Jmeter, UFT&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Executed by continuous integration&lt;/td&gt;
 &lt;td style="text-align: center"&gt;YES&lt;/td&gt;
 &lt;td style="text-align: center"&gt;YES&lt;/td&gt;
 &lt;td style="text-align: center"&gt;YES&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Execution speed&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Very fast (less than 10 minutes)&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Slow (more than 10 minutes)&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Very Slow&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td style="text-align: center"&gt;Regularity of execution&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Very often (several times a day), associated to code updates&lt;/td&gt;
 &lt;td style="text-align: center"&gt;Often (1 per day)&lt;/td&gt;
 &lt;td style="text-align: center"&gt;At night (1 per day)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id="automated-tests-pyramid"&gt;Automated tests pyramid
&lt;/h2&gt;&lt;p&gt;&lt;img alt="tests-pyramid" loading="lazy" sizes="(max-width: 767px) calc(100vw - 30px), (max-width: 1023px) 700px, (max-width: 1279px) 950px, 1232px" src="https://jamkey.fr/images/automated-tests/tests-pyramid.png"&gt;&lt;/p&gt;
&lt;p&gt;Test pyramid well known in Agile development. Based on test development/maintenance cost and efficient regression detectionTest pyramid expects to have many more low-level unit tests than high level end-to-end testsHigh-level tests are there as a second line of test defenseShould be used when relevant&lt;/p&gt;
&lt;h2 id="test-and-build"&gt;Test and build
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Build verification test (from ISTQB):&lt;/strong&gt;&lt;br&gt;
A set of automated tests which validates the integrity of each new build and verifies its key/core functionality, stability and testability. It is an industry practice when a high frequency of build releases occurs (e.g., agile projects) and it is run on every new build before the build is released for further testing.&lt;/p&gt;
&lt;p&gt;Automated tests should be executed by all ways possible : IDE, build tools, continuous integration…&lt;/p&gt;
&lt;p&gt;Tests categories should be identified through the build tool :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For example, Maven should be able to select/avoid tests categories (execute only unit tests, or unit tests with integration tests…)&lt;/li&gt;
&lt;li&gt;Build should be able to reused unit test source for integration test when relevant for integration testing (by managing mock profile for example)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Tests categories should have localisation pattern with the source code:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Unit tests should be near the code to test (for example, src/test/java according to Maven convention)&lt;/li&gt;
&lt;li&gt;When relevant separate integration and system tests from tested components: put them in a ‘test’ component. The component could even be delivered.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Execution methods should be able to execute each categories of test separately or at the same time:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;For example, Jenkins jobs should be able to execute only unit tests, or unit tests and integration tests…&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="see-also"&gt;See also
&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://wikinet.group.echonet/display/DFDT/ID07&amp;#43;-&amp;#43;Continuous&amp;#43;Development&amp;#43;Unit&amp;#43;Testing" title="ID07 - Continuous Development Unit Testing"
 target="_blank" rel="noopener"
 &gt;ID07 – Continuous Development Unit Testing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://wikinet.group.echonet/display/DFDT/ID13&amp;#43;-&amp;#43;Critical&amp;#43;Interoperability&amp;#43;Application&amp;#43;Testing" title="ID13 - Critical Interoperability Application Testing"
 target="_blank" rel="noopener"
 &gt;ID13 – Critical Interoperability Application Testing&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="external-links"&gt;External links
&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Software Testing&lt;br&gt;
&lt;a class="link" href="http://www.istqb.org/" target="_blank" rel="noopener"
 &gt;http://www.istqb.org/&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://www.istqb.org/downloads/glossary.html" target="_blank" rel="noopener"
 &gt;http://www.istqb.org/downloads/glossary.html&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://www.computer.org/portal/web/swebok/" target="_blank" rel="noopener"
 &gt;http://www.computer.org/portal/web/swebok/&lt;/a&gt;&lt;br&gt;
IEEE 610 : &lt;a class="link" href="http://ieeexplore.ieee.org/" target="_blank" rel="noopener"
 &gt;http://ieeexplore.ieee.org&lt;/a&gt; &lt;a class="link" href="http://dis.unal.edu.co/~icasta/ggs/Documentos/Normas/610-12-1990.pdf" target="_blank" rel="noopener"
 &gt;http://dis.unal.edu.co/~icasta/ggs/Documentos/Normas/610-12-1990.pdf&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Unit Test&lt;br&gt;
&lt;a class="link" href="http://artofunittesting.com/definition-of-a-unit-test/" target="_blank" rel="noopener"
 &gt;http://artofunittesting.com/definition-of-a-unit-test/&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://artofunittesting.com/unit-testing-review-guidelines/" target="_blank" rel="noopener"
 &gt;http://artofunittesting.com/unit-testing-review-guidelines/&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;JUnit&lt;br&gt;
&lt;a class="link" href="http://junit.sourceforge.net/doc/testinfected/testing.htm" target="_blank" rel="noopener"
 &gt;http://junit.sourceforge.net/doc/testinfected/testing.htm&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;JUnit Anti patterns&lt;br&gt;
&lt;a class="link" href="http://www.exubero.com/junit/antipatterns.html" target="_blank" rel="noopener"
 &gt;http://www.exubero.com/junit/antipatterns.html&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;JUnit cookbook&lt;br&gt;
&lt;a class="link" href="http://junit.sourceforge.net/doc/cookbook/cookbook.htm" target="_blank" rel="noopener"
 &gt;http://junit.sourceforge.net/doc/cookbook/cookbook.htm&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;JMeter&lt;br&gt;
&lt;a class="link" href="http://jmeter.apache.org/" target="_blank" rel="noopener"
 &gt;http://jmeter.apache.org/&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Selenium&lt;br&gt;
&lt;a class="link" href="http://docs.seleniumhq.org/" target="_blank" rel="noopener"
 &gt;http://docs.seleniumhq.org/&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;UFT (QTP)&lt;br&gt;
&lt;a class="link" href="http://www8.hp.com/us/en/software-solutions/unified-functional-testing-automated-testing/index.html" target="_blank" rel="noopener"
 &gt;http://www8.hp.com/us/en/software-solutions/unified-functional-testing-automated-testing/index.html&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Classification&lt;br&gt;
&lt;a class="link" href="http://securesoftwaredev.com/2012/09/03/a-classification-of-tests/" target="_blank" rel="noopener"
 &gt;http://securesoftwaredev.com/2012/09/03/a-classification-of-tests/&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://martinfowler.com/bliki/TestPyramid.html" target="_blank" rel="noopener"
 &gt;http://martinfowler.com/bliki/TestPyramid.html&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://watirmelon.com/2012/01/31/introducing-the-software-testing-ice-cream-cone/" target="_blank" rel="noopener"
 &gt;http://watirmelon.com/2012/01/31/introducing-the-software-testing-ice-cream-cone/&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://martinfowler.com/bliki/TestDouble.html" target="_blank" rel="noopener"
 &gt;http://martinfowler.com/bliki/TestDouble.html&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://martinfowler.com/bliki/ComponentTest.html" target="_blank" rel="noopener"
 &gt;http://martinfowler.com/bliki/ComponentTest.html&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://martinfowler.com/bliki/UnitTest.html" target="_blank" rel="noopener"
 &gt;http://martinfowler.com/bliki/UnitTest.html&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://xunitpatterns.com/" target="_blank" rel="noopener"
 &gt;http://xunitpatterns.com/&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://martinfowler.com/bliki/InMemoryTestDatabase.html" target="_blank" rel="noopener"
 &gt;http://martinfowler.com/bliki/InMemoryTestDatabase.html&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://martinfowler.com/articles/nonDeterminism.html" target="_blank" rel="noopener"
 &gt;http://martinfowler.com/articles/nonDeterminism.html&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ROI of test automation&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a class="link" href="http://www.arcondis.com/assets/files/pdf/publikationen/ROI%20of%20Test%20Automation.pdf" target="_blank" rel="noopener"
 &gt;http://www.arcondis.com/assets/files/pdf/publikationen/ROI%20of%20Test%20Automation.pdf&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://www-01.ibm.com/software/rational/offerings/testing/roi/tool/ROI_Rational.html" target="_blank" rel="noopener"
 &gt;http://www-01.ibm.com/software/rational/offerings/testing/roi/tool/ROI_Rational.html&lt;/a&gt;&lt;br&gt;
&lt;a class="link" href="http://www.softwarequalitymethods.com/papers/star99%20model%20paper.pdf" target="_blank" rel="noopener"
 &gt;http://www.softwarequalitymethods.com/papers/star99%20model%20paper.pdf&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Jenkins memory scaling</title><link>https://jamkey.fr/jenkins-memory-scaling/</link><pubDate>Mon, 28 Apr 2014 00:00:00 +0000</pubDate><guid>https://jamkey.fr/jenkins-memory-scaling/</guid><description>&lt;img src="https://jamkey.fr/images/jenkins.jpg" alt="Featured image of post Jenkins memory scaling" /&gt;&lt;p&gt;Jenkins is a Java web application which needs to be tuned to avoid &lt;em&gt;Out Of Memory Errors&lt;/em&gt; when dealing with large volume of jobs.&lt;br&gt;
The tuning of Jenkins is something sensitive. But at the same time the core engine do simple things : Jenkins executes jobs which execute external processes and JVM (Maven, Gradle…).&lt;br&gt;
Thus the role of Jenkins is based on the configuration of the jobs, their schedule and the management of the logs.&lt;/p&gt;
&lt;p&gt;There are lot of examples of build environments with hundreds of slave of the hundreds of jobs without particular problems of memory, storage.&lt;br&gt;
Initially it would be interesting to monitor Jenkins and its JVM to determine the reason of the potential problems.&lt;br&gt;
The problem could be a insufficient memory configuration of the master Jenkins. Or some plugins memory consuming or memory leak.&lt;/p&gt;
&lt;h1 id="recommendations"&gt;Recommendations
&lt;/h1&gt;&lt;p&gt;In term of recommendations for a large build system :&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;To check the plugins usage in Jenkins (are they all used? Are they parameterized in adequate manner ?)&lt;/li&gt;
&lt;li&gt;To have simple jobs (complexity remains in the build manager (Maven or other) not the continuous integration): main configs are SCM / 1 step of Build / some post-actions&lt;/li&gt;
&lt;li&gt;To limit the history of the builds in the job (« discard old build »)&lt;/li&gt;
&lt;li&gt;To use &lt;a class="link" href="https://wiki.jenkins-ci.org/display/JENKINS/Plugins#Plugins-UIplugins" target="_blank" rel="noopener"
 &gt;Jenkins UI plugins&lt;/a&gt; in order to filter the view of the jobs to limit their access&lt;/li&gt;
&lt;li&gt;To introduce a master-slave architecture (what you did) (use of labels to distribute build in a transparent way)&lt;/li&gt;
&lt;li&gt;To limit the number of executors by slave&lt;/li&gt;
&lt;li&gt;To have potentially several masters&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Be careful for the master-slave mode to take a more recent version of Jenkins which allows to optimize the memory consumption.&lt;/p&gt;
&lt;h1 id="before-changing-memory-configuration-first-monitor-it"&gt;Before changing memory configuration, first monitor it
&lt;/h1&gt;&lt;p&gt;Resources consumption investigation is necessary in order to investigate and tune the JVM of Jenkins.&lt;/p&gt;
&lt;h2 id="monitoring-by-plugins"&gt;Monitoring by plugins
&lt;/h2&gt;&lt;p&gt;The &lt;a class="link" href="https://wiki.jenkins-ci.org/display/JENKINS/Monitoring" target="_blank" rel="noopener"
 &gt;Jenkins Monitoring plugin&lt;/a&gt; is interesting for that. It will give you Charts of memory, cpu, system load average, http response times…&lt;/p&gt;
&lt;h2 id="get-live-metrics"&gt;Get live metrics
&lt;/h2&gt;&lt;p&gt;In the same way &lt;strong&gt;VisualVM&lt;/strong&gt; connected on the JVM of Jenkins (see example &lt;a class="link" href="http://java.dzone.com/articles/visualvm-monitoring-remote-jvm" target="_blank" rel="noopener"
 &gt;http://java.dzone.com/articles/visualvm-monitoring-remote-jvm&lt;/a&gt; and &lt;a class="link" href="http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html" target="_blank" rel="noopener"
 &gt;http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html&lt;/a&gt;).&lt;/p&gt;
&lt;h2 id="jenkins-or-plugins-bugs"&gt;Jenkins or plugins bugs
&lt;/h2&gt;&lt;p&gt;The problem could be a insufficient memory configuration of the master Jenkins. Or some plugins memory consuming or memory leak.&lt;br&gt;
Check the updates of the plugins for that.&lt;br&gt;
It can also be a Jenkins version which did &lt;a class="link" href="https://issues.jenkins-ci.org/browse/JENKINS-20620" target="_blank" rel="noopener"
 &gt;not optimize enough the memory usage with a large number of jobs&lt;/a&gt;.&lt;/p&gt;
&lt;h1 id="performance-tips"&gt;Performance tips
&lt;/h1&gt;&lt;h2 id="build-history"&gt;Build history
&lt;/h2&gt;&lt;p&gt;&lt;strong&gt;Keep only a subset of build records around&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can set Jenkins up to clean house by checking Discard Old Builds in the Configure menu and filling in one or both of&lt;br&gt;
this option’s two text boxes. You can choose to throw the old records away if they are more than 30 days old, or you can&lt;br&gt;
choose to keep only the last X records and discard everything else.&lt;/p&gt;
&lt;p&gt;The whole point of controlling your build records is to avoid unbounded consumption. Sometimes you want to keep some&lt;br&gt;
records for a while so people can look at problems when there are failures… so don’t make the number too low. You really&lt;br&gt;
just need to have a fixed cap; 50 or 100 is a good number. Note that you can configure build record housekeeping on a&lt;br&gt;
per-project basis.&lt;/p&gt;
&lt;p&gt;Another way to keep specific records is to use the fingerprinting feature, which allows you to create an association be-tween jobs. As you enable fingerprinting, you can enable Jenkins to keep a build log of dependencies – this captures all&lt;br&gt;
the upstream build log dependencies.&lt;/p&gt;
&lt;h2 id="number-of-slaves"&gt;Number of slaves
&lt;/h2&gt;&lt;p&gt;Each slave maintains a connection to a master, and to service these connections a master launchs several threads, and each thread is costly (2MB or so memory just for a call stack.)&lt;/p&gt;
&lt;p&gt;Exactly how many threads each slave incurs on a master depends on the mode of connection. Most connection mechanisms require two threads per slave (SSH slaves and Java Web Start slaves), but if a JWS slave falls back to the communication over HTTP, it’ll incur three. See « &lt;a class="link" href="https://wiki.jenkins-ci.org/display/JENKINS/Obtaining&amp;#43;a&amp;#43;thread&amp;#43;dump" target="_blank" rel="noopener"
 &gt;Obtaining a thread dump&lt;/a&gt; » for how to count the number of threads in your environment.&lt;/p&gt;
&lt;p&gt;See Set up Master-Slave for more information.&lt;/p&gt;
&lt;h2 id="degree-of-concurrent-http-accesses-to-the-master"&gt;Degree of concurrent HTTP accesses to the master
&lt;/h2&gt;&lt;p&gt;If you expect a lot of users accessing Jenkins user interfaces, this adds additional CPU overheads to a master. The memory impact on additional concurrent users should be negligible.&lt;/p&gt;
&lt;p&gt;When you expect a large number of concurrent users, watch out for the upper bound of the maximum number of HTTP request handling threads. Contrary to the intuition, you do not want to give too big a value, which tends to make contended locks even more contended. You want to keep this value relatively small, and let incoming requests wait in the queue as opposed to try to serve them all in parallel.&lt;/p&gt;
&lt;h2 id="number-of-jobs"&gt;Number of jobs
&lt;/h2&gt;&lt;p&gt;Impact of a larger number of jobs can be seen in several places. One is the start-up time of Jenkins, especially noticable if you have $JENKINS_HOME in a disk that has a large seek time (spinning HDDs, as opposed to SSDs.) Another is the UI organization. You need to utilize views, folders, and other means to organize jobs, and avoid using the « All » view that’d render everything.&lt;/p&gt;
&lt;h2 id="number-of-builds"&gt;Number of builds
&lt;/h2&gt;&lt;p&gt;Starting around 1.450 to 1.500 Jenkins started lazy-loading builds and discard them from memory if unneeded, but various plugins are still being updated to take advantages of this. Therefore, you’ll want to cap the number of builds each job occupies, by using the « discard old build » feature in Jenkins.&lt;/p&gt;
&lt;p&gt;To prevent Jenkins from discarding build records only to load them back from the disk again, please give ample heap to Jenkins JVM.&lt;/p&gt;
&lt;h1 id="set-up-master-slave"&gt;Set up Master-Slave
&lt;/h1&gt;&lt;p&gt;Jenkins masters expectations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Keep webui responsive&lt;/li&gt;
&lt;li&gt;Running/Managing jobs/slaves take resources&lt;/li&gt;
&lt;li&gt;Throw a beefy VM at it (IO less of an issue)&lt;/li&gt;
&lt;li&gt;Don’t run jobs on it&lt;/li&gt;
&lt;li&gt;Manage/Backup configuration programmaticaly (puppet)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Jenkins slaves expectations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Should be quick to setup and throw away&lt;/li&gt;
&lt;li&gt;Plan for high IO usage! (not single hypervisor)&lt;/li&gt;
&lt;li&gt;Monitor Cpu and Disk&lt;/li&gt;
&lt;li&gt;Segregate heavy jobs&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="set-up-distributed-builds"&gt;Set up distributed Builds
&lt;/h2&gt;&lt;p&gt;You will eventually outgrow the ability to run builds on just one machine; as well, single systems do not take advantage&lt;br&gt;
of the full power of Jenkins.&lt;/p&gt;
&lt;p&gt;Dealing with the amount of compression load is not the only reason to use distributed builds. You also need isolation between builds. For example, when your tests depend on local resources like a local database or particular TCP/IP port, you can’t use the same machine to run tests&lt;br&gt;
that access those resources. And while you can always work around these problems by tweaking your build script and tests&lt;br&gt;
and such, it’s much easier if you have boxes that provide natural isolation.&lt;/p&gt;
&lt;p&gt;Another driving factor for distributed builds is that if you’re testing against multiple platforms, you often want to have&lt;br&gt;
more diversity in the environment. This situation inherently calls for multiple systems.&lt;/p&gt;
&lt;h2 id="set-up-scalable-slaves-with-labels"&gt;Set up scalable slaves with labels
&lt;/h2&gt;&lt;p&gt;Managing a diverse set of platforms and machines easily, and making machines interchangeable.&lt;/p&gt;
&lt;p&gt;A very useful but under-used Jenkins feature is labels. Labels are simply tags you can assign to nodes to describe their capacities. Some typical useful labels include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Operating system&lt;/li&gt;
&lt;li&gt;32 vs. 64-bit&lt;/li&gt;
&lt;li&gt;Additional infrastructure that exists only on certain machines (for example, WebSphere)&lt;/li&gt;
&lt;li&gt;Machine’s geographical location&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Assign labels on the build machines themselves; then on the job side, specify that the job needs to run in a certain place based on label criteria. Instead of tying jobs to individual build machines, labels give Jenkins flexibility to choose where to run the builds, which results in better resource utilization and promoting manageability.&lt;/p&gt;
&lt;p&gt;Using labels is so easy that even the Marketing team figured it out:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select a Slave machine and choose Configure&lt;/li&gt;
&lt;li&gt;Specify a label in the Labels field.&lt;/li&gt;
&lt;li&gt;Create a new job, name it and fill out any other necessary parameters, and click OK.&lt;/li&gt;
&lt;li&gt;Click the checkbox, Restrict where this project can be run (for example amd64, linux and Montreuil).&lt;/li&gt;
&lt;li&gt;Fill in the Label Expression that matches the label on your Slave machine (or any label).&lt;/li&gt;
&lt;li&gt;Click Save and then run the build. It will only run on machines whose labels match the job confi guration.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;One final reason to use labels: if a machine goes down, Jenkins has the flexibility to shift the load to another machine with&lt;br&gt;
a compatible label, which gives you time to diagnose and fi x the problem. This way you can increase the level of service&lt;br&gt;
of your cluster to your users without service disruption.&lt;/p&gt;
&lt;h2 id="be-careful-of-slave-thread-consumption"&gt;Be careful of slave thread consumption
&lt;/h2&gt;&lt;p&gt;A connected JNLP slave used to occupy one thread on the master, but now it occupies none.&lt;br&gt;
Combined with the earlier change that eliminated threads from idle executors, now you can connect thousands of slaves.&lt;br&gt;
Be careful to use the correct Jenkins version.&lt;/p&gt;
&lt;p&gt;See &lt;a class="link" href="http://jenkins-ci.org/content/more-scalable-slaves" target="_blank" rel="noopener"
 &gt;http://jenkins-ci.org/content/more-scalable-slaves&lt;/a&gt;&lt;/p&gt;
&lt;h1 id="external-links"&gt;External links
&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Jenkins Master-Slave:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://jenkins-ci.org/content/more-scalable-slaves" target="_blank" rel="noopener"
 &gt;http://jenkins-ci.org/content/more-scalable-slaves&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Monitoring:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://java.dzone.com/articles/visualvm-monitoring-remote-jvm" target="_blank" rel="noopener"
 &gt;http://java.dzone.com/articles/visualvm-monitoring-remote-jvm&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://wiki.jenkins-ci.org/display/JENKINS/Monitoring" target="_blank" rel="noopener"
 &gt;https://wiki.jenkins-ci.org/display/JENKINS/Monitoring&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://wiki.jenkins-ci.org/display/JENKINS/I%27m&amp;#43;getting&amp;#43;OutOfMemoryError" target="_blank" rel="noopener"
 &gt;https://wiki.jenkins-ci.org/display/JENKINS/I%27m+getting+OutOfMemoryError&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="https://wiki.jenkins-ci.org/display/JENKINS/Obtaining&amp;#43;a&amp;#43;thread&amp;#43;dump" target="_blank" rel="noopener"
 &gt;https://wiki.jenkins-ci.org/display/JENKINS/Obtaining+a+thread+dump&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://java.dzone.com/articles/visualvm-monitoring-remote-jvm" target="_blank" rel="noopener"
 &gt;http://java.dzone.com/articles/visualvm-monitoring-remote-jvm&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://visualvm.java.net/" target="_blank" rel="noopener"
 &gt;http://visualvm.java.net/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html" target="_blank" rel="noopener"
 &gt;http://docs.oracle.com/javase/1.5.0/docs/guide/management/agent.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Performance:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://wiki.jenkins-ci.org/display/JENKINS/Jenkins&amp;#43;is&amp;#43;hanging" target="_blank" rel="noopener"
 &gt;https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+is+hanging&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Scaling:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://narkisr.github.io/jenkins-scaling/#title" target="_blank" rel="noopener"
 &gt;http://narkisr.github.io/jenkins-scaling/#title&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://di388e0fcqllf.cloudfront.net/whitepapers/7WaysToOptimizeJenkins.pdf" target="_blank" rel="noopener"
 &gt;http://di388e0fcqllf.cloudfront.net/whitepapers/7WaysToOptimizeJenkins.pdf&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a class="link" href="http://fr.slideshare.net/aestasit/scaling-software-builds-with-jenkins" target="_blank" rel="noopener"
 &gt;http://fr.slideshare.net/aestasit/scaling-software-builds-with-jenkins&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h1 id="see-also"&gt;See also
&lt;/h1&gt;&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;SLA&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://wiki.jenkins-ci.org/display/JENKINS/SLAdiator&amp;#43;plugin" target="_blank" rel="noopener"
 &gt;https://wiki.jenkins-ci.org/display/JENKINS/SLAdiator+plugin&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Industrialisation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="http://www.cloudbees.com/jenkins-user-conference-2012-israel-abstracts.cb" target="_blank" rel="noopener"
 &gt;http://www.cloudbees.com/jenkins-user-conference-2012-israel-abstracts.cb&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;</description></item></channel></rss>