<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Safa Kashif Naim on Medium]]></title>
        <description><![CDATA[Stories by Safa Kashif Naim on Medium]]></description>
        <link>https://medium.com/@safaknm99?source=rss-34cf327128a8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*vkJVLI5KPEOnH8bmg02xxQ.png</url>
            <title>Stories by Safa Kashif Naim on Medium</title>
            <link>https://medium.com/@safaknm99?source=rss-34cf327128a8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:13:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@safaknm99/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Meshery 101]]></title>
            <link>https://medium.com/@safaknm99/meshery-101-9f9c35f9dd5f?source=rss-34cf327128a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f9c35f9dd5f</guid>
            <dc:creator><![CDATA[Safa Kashif Naim]]></dc:creator>
            <pubDate>Fri, 02 Dec 2022 04:01:05 GMT</pubDate>
            <atom:updated>2022-12-02T04:01:05.367Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*6YEOi-lqsQK_P7FlSYlXyQ.png" /></figure><p>The journey from <a href="https://www.docker.com/resources/what-container/"><strong>containers</strong></a> to <a href="https://www.redhat.com/en/topics/containers/what-is-container-orchestration"><strong>orchestration</strong></a> has been swift and with the need for resources only growing. Naturally it is expected that for this need to be met <a href="https://www.redhat.com/en/topics/microservices/what-is-a-service-mesh"><strong>service meshes</strong></a><strong> </strong>will become commonplace on both cloud-native and edge infrastructures.</p><p>In this article we will journey through :</p><ul><li>The current Service Mesh Landscape</li><li>What is Meshery?</li><li>Some features and functionality provided by Meshery</li></ul><h4>It’s all a mesh</h4><p>There are currently a wide variety of service meshes available. It is highly dependent on what <strong>scope of functionality</strong> your organization requires. Furthermore, your service mesh may need to be able to accommodate <strong>hybrid workloads</strong> (non-containerized workloads integrated and benefiting from your service mesh as well).</p><h4><strong>Service Mesh Abstractions</strong></h4><p>To counter the aforementioned dilemma, there are some service mesh abstractions in place:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/749/1*FQaSF_Ly0OHAA3j6cU8IdA.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><h3>Service Mesh Management</h3><p>We are familiar with both the <strong>control plane</strong> and the <strong>data plane </strong>, the two components which make the service mesh. The control plane defines policies for the data plane to follow, it basically takes a set of isolated <a href="https://www.nginx.com/resources/glossary/sidecar/">sidecar proxies</a> and turns them into a service mesh.</p><h4>The Management Plane</h4><p>This plane is above the control plane, it has the power to focus on a specific set of proxies within the service mesh beyond that it provides integration with other service meshes and also with your backend system for other services. It provides more services than the native control plane may provide.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*iuwubeIBIhjXds2O9ogK4Q.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><h3>Meshery</h3><blockquote>Meshery is the open source, cloud native management plane that enables the adoption, operation, and management of Kubernetes, any service mesh, and their workloads.</blockquote><p>Meshery has the ability to <strong>manage the lifecycle of a given mesh</strong>. It can also highlight for you if you do not have your service mesh configured in a <strong>best practices</strong> way by analysing the configuration of your workload. It includes both a CLI and a web-based interface.</p><h4>Architecture</h4><p>Meshery itself deploys as a set of docker containers you can deploy on<br>a host that only has docker, or in your kubernetes environment both outside and inside of the cluster. There are adapters for each service mesh. It will also interface with <a href="https://prometheus.io/"><em>Prometheus</em></a> and <a href="https://grafana.com/"><em>Grafana</em></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O0GXOBR1b9kEUmWbyn04LA.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><h3>Meshery Features</h3><h4>Extensible</h4><p>The diagram below describes the extensibility Meshery provides. There can be any number of adapters added, additional load generators are also supported. Furthermore, additional patterns, best practices and web assembly filters can also be added.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kpCiXgJLGMkg5zpynfqbmw.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><h4>Configuration Best Practices</h4><p>Meshery analyses environment of service meshes and it identifies where best practices have not been followed and highlights them, as shown below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RDBNGXZkQMvlPtbfZUU9MA.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><h4>Service Mesh Interface Conformance</h4><p>Meshery verifies each implementation by the service meshes being used and publishes a public dashboard of the performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/762/1*v12j7CvRl7P4-OotTsY9qw.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><h4>Web Assembly Filters</h4><p>Meshery also helps manage Web assembly filters specifically for envoy-based data planes. As depicted below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/327/1*O5pz_gElBFWNYuFoVZCFCg.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><h4>Service Mesh Patterns</h4><p>Patterns are capable of encapsulating business functions in a single file. They help capture the entire service mesh behaviour in a single file, making it easy for the user. These patterns are reusable. They are like templates, that can be used in Meshery. You can describe statistical analysis and Web assembly filters to be applied all in one pattern file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/765/1*d0nw1hvIva85XwlGv8isMw.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><p>There have been 60 identified patterns, Meshery ultimately will allow users to not only implement these patterns, but in fact to visually represent and design them!</p><p>You can define the configurations of both your service mesh and the ongoing behaviour of your service mesh. For example int the YAML file below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WaqrV7V2d7kVgq4aj1PF4g.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><p>Here the above YAML is described visually. It can be found in the mesh map tab on the left of the dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D0Rz03b2eAMRngfxPVv3mg.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><h4>Service Mesh Performance</h4><p>Meshery incorporates service mesh performance, a project that analyses your mesh’s performance. You can define your performance test into <strong>profiles </strong>and you can integrate with prometheus and grafana to display the performance metrics. You can also <strong>schedule your performance tests</strong> to run automatically. You can even run it your pipeline directly on Github.</p><p>The goal of the tool is to <strong>track performance</strong>, and provide a benchmark<br>around performance. It can also help you baseline your environment. You can improve your mesh based on changes. Comparing the performance metrics to one to another helps you have a deeper understanding of what technologies to use.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*alkCK2zaRZrDyZuv7b1LHw.png" /><figcaption>(“CNCF Webinar — The Service Mesh Management Plane” n.d.)</figcaption></figure><h3><strong>Conclusion</strong></h3><p>Meshery is a very promising tool for the orchestration and efficient use of service meshes. With the ability to track performance , it helps users to use the full potential of their mesh and identify any problems and possible bad practices that could deter performance in the future. The increase in service mesh means the increase in the need for tools like Meshery.</p><p>To get started, check <a href="https://docs.meshery.io/installation/quick-start">this</a> out!</p><h3>References</h3><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fx2YlrXad1yA%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dx2YlrXad1yA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fx2YlrXad1yA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/96fe19dd562f1b39a91c50c6c561b1bc/href">https://medium.com/media/96fe19dd562f1b39a91c50c6c561b1bc/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FmU8qHUGYsk8%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DmU8qHUGYsk8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FmU8qHUGYsk8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/9f145378c7efb91187877447276cd70d/href">https://medium.com/media/9f145378c7efb91187877447276cd70d/href</a></iframe><p>“CNCF Webinar — The Service Mesh Management Plane.” n.d. Accessed December 1, 2022. <a href="https://docs.google.com/presentation/d/1YxeERLarsh60ItrgT29KzlNQEjkRnw5WDnnwy2uUe1Y">https://docs.google.com/presentation/d/1YxeERLarsh60ItrgT29KzlNQEjkRnw5WDnnwy2uUe1Y</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f9c35f9dd5f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitLab and the CI/CD Pipeline]]></title>
            <link>https://blog.devops.dev/gitlab-and-the-ci-cd-pipeline-adc5bc70a9b9?source=rss-34cf327128a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/adc5bc70a9b9</guid>
            <category><![CDATA[yaml]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[agile]]></category>
            <category><![CDATA[gitlab]]></category>
            <dc:creator><![CDATA[Safa Kashif Naim]]></dc:creator>
            <pubDate>Tue, 08 Nov 2022 19:54:11 GMT</pubDate>
            <atom:updated>2022-11-11T18:12:47.205Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="GitLab logo" src="https://cdn-images-1.medium.com/max/338/1*0ddQ-IWkPdhZdqple4de5Q.png" /><figcaption>GitLab logo</figcaption></figure><p>Development and Deployment of an application is often a tedious process. Multiple tools need to be integrated seamlessly, often requiring much effort at the developer’s end to achieve proficiency in several tools. GitLab aims to change this, in the form of a single software package that combines the ability to develop, secure and operate software in a single application. GitLab is striving to become a complete DevOps platform.</p><p>In this article we will be talking about:</p><ul><li>What GitLab CI/CD is</li><li>How GitLab CI/CD works</li><li>GitLab CI/CD architecture</li><li>GitLab Basics and features</li></ul><h4><strong><em>What is CI/CD?</em></strong></h4><p>To begin, let us first understand what CI/CD means. CI stands for <em>“continuous Integration” </em>and<em> CD </em>stands for<em> “continuous deployment”/ “continuous delivery”. </em>Continuous integration is an agile and devops best practice, combined with continuous deployment it allows for software to be integrated and deployed while it is being developed. This allows for any issues to be identified early on in the project , this saves time, resources and efforts at the developer’s end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lWyB4dmIQQUB3sce0rnlKg.png" /></figure><p><strong>Popular CI/CD tools</strong></p><p>In addition to GitLab, some popular tools for CI/CD are:</p><ul><li>Azure Pipelines</li><li>Jenkins (most popular)</li><li>TeamCity</li><li>Travis CI</li><li>AWS CodePipeline</li></ul><p><strong>Why GitLab?</strong></p><p>As discussed earlier, GitLab allows code management and CI/CD in the same place. The CI/CD can be used without setting up the overhead yourself. Furthermore, the pipeline configuration is also added as part of your code. The whole process is extremely simple, allowing for seamless integration of all phases of the devOps workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*tQlTOA_MmJLtlIEsqBbeXA.png" /><figcaption>Comparison with Jenkins</figcaption></figure><p><strong>GitLab Architecture</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*TC0i0i1eRyzZoBYb3_jPcQ.png" /><figcaption>GitLab Architecure (img src=<em>GitLab CI CD Tutorial for Beginners [Crash Course]</em>, 2022. <a href="https://www.youtube.com/watch?v=qP8kir2GUgo">https://www.youtube.com/watch?v=qP8kir2GUgo</a>. )</figcaption></figure><p>The GitLab architecture illustrated above is comprised of the following components:</p><ol><li><strong>GitLab Server/ Instance: </strong>This is responsible for hosting you application and configuring the pipeline. They manage the pipeline execution by assigning jobs to available runners.<em> </em><strong><em>GitLab.com</em></strong> is a managed GitLab instance. You may even create your own GitLab Instance.</li><li><strong>Runners: </strong>Runners are agents or applications running CI/CD pipeline. They may be separate machines connected to the server. GitLab offers multiple runners configured and maintained by GitLab, these runners are available to all users on <a href="http://www.gitlab.com./">www.gitlab.com.</a> You may even set up your GitLab runners.</li><li><strong>Jobs</strong>: Jobs refer to a single task that the GitLab pipeline must perform, for example deploying an application. Each job has a name and contains a script. Each script is sequentially completed to move to the next one until all the jobs are completed. Some properties of jobs are that they may have arbitrary names and must contain at least the script clause.</li><li><strong>Stages: </strong>A stage differentiates between jobs, it represents each step a pipeline must pass. This helps to define which task must be performed when. For example test, build, deploy are all stages.</li><li><strong>Pipeline:</strong> Pipeline refers to a complete collection of stages, where each stage contains a single or multiple jobs. GitLab has different types of pipelines including basic, merge, parent-child and multi-project pipelines.</li><li><strong>Commit:</strong> A commit is a record of a change that is made in the files or in the code, much like in a GitHub repository.</li></ol><p><strong>Where are Jobs executed?</strong></p><p>Execution of Jobs can take place on different environments like Windows, Linux etc, in something called a <strong><em>shell executor</em></strong>. The executor determines the environment each job runs in. Commands are executed on the shell of the server where GitLab is installed , directly on the operating system.</p><p><strong>Another Common Execution Environment</strong></p><p>In addition to self-hosting, GitLab supports executing commands inside of a Docker container. By default GitLab’s managed runners use a Ruby image to start containers. We have the option to specify what image we want to use for example if we want basic Linux commands we could choose to create an alpine image.</p><p>Now that we have a basic understanding of GitLab, let us look at an example for more clarity.</p><h3><strong><em>Lets look at an example and more features</em></strong></h3><p>In this example we shall be building a simple CI/CD pipeline for a python application that requires “<em>make</em>” and a <em>python container</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tvxi8tcBfqY_Gue4gQQVKw.png" /></figure><ol><li>Create an account on GitLab <a href="https://about.gitlab.com/">here</a>.</li><li>Now create a new project.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yUuqjZpywZLsG2HR5ZbZkA.png" /></figure><p>GitLab provides many options for creating a new project, however we will import our project from GitHub. <a href="https://docs.gitlab.com/ee/user/project/import/github.html">You can refer to the documentation for help</a>.</p><p>3. Now that we have our project set up, we will create a <strong>yaml file.</strong> For ease of configuration we always name the yaml file <em>“.git-ci.yml”</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8du28q6wc2TN7y3wRcbGuw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*HLxrMLhEchepvw0Ydm5RLw.png" /><figcaption>Example of a Job, that installs make and runs the make test command</figcaption></figure><p>Here<strong> run_tests</strong> is an example of a job.</p><ul><li><strong>image:</strong> refers to the image we want for our script to be run in.</li><li><strong>before_script:</strong> is used to install temporary files or prerequisites you may need in running your scripts. It also includes commands that you want to run before your script command.</li><li><strong>after_script:</strong> defines commands that run after each job, including failed jobs.</li></ul><p>To add the python image, we refer to the images available on DockerHub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WnSBDSGva9SqPYWzyGjGHg.png" /></figure><p><strong>4.</strong> For detailed logs and troubleshooting we can refer to the Jobs tab under the CI/CD tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*G6e0U4JTPBizUED6rc6Wvw.png" /></figure><p><strong>5.</strong>Create our account on<a href="https://hub.docker.com/"> DockerHub</a> , and just as we previously did for the python image we will find the image for docker on Dockerhub.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*crxAAUO2l6W1yBU1O5Avpw.png" /></figure><p><strong>6.</strong>Protecting credentials needed to Push Image to Private Repository</p><p>We will go back to our yaml script, and now write script to push the docker image onto the repository. However, for this step we need to use credentials. For the security of credentials we will use another GitLab feature!</p><p>Go to Settings -&gt; CI/CD -&gt; Variables</p><p>Here we have the option to create global variables that can be referenced in the code. If we use the mask variable option, this prevents variable contents being visible in logs as well.</p><p><em>The settings being separate from the CI/CD tab is to ensure security and modularity so that the Administrator has control over who can have access to sensitive data such as user credentials.</em></p><blockquote>DO NOT HARDCODE CREDENTIALS — security best practice</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DVYMaeBDy_NB-1YAMAa5qw.png" /></figure><p><strong>7.</strong>Push Image to Private Repository</p><p>Next when we add the image we must tag the repository name in Dockerhub so it knows where to push the image when we write the docker push command.</p><p><em>The </em><strong><em>stage</em></strong><em> clause ensures that each stage is executed sequentially.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*QBdOeQb4HyDNBp-DCaNbeQ.png" /></figure><p>Variables can be created both globally and inside the jobs, they are used as:</p><pre>$var1</pre><p><strong>8.</strong>In our case we need docker to be available inside docker container, this is called the <em>docker in docker</em> concept. Within the container we have both docker client and docker daemon available in order to execute docker command. We will use the official image as shown below in the services clause.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/683/1*MbQ0AtyYvk7ha80qRlnpXQ.png" /></figure><h4>GitLab Services</h4><p>GitLab also offers services, that means that another service container is started at the same time as the job container , job container can use that service during the build time. It is made sure that they are on the same network and that they can communicate with one another. In order to communicate they need docker certificates so that they can authenticate with each other and talk to each other. Furthermore, they will be able to share that certificate’s directory so they can read from the same certificate’s folder. (Example above)</p><p><strong>9. </strong>Prepare Deployment Server</p><p>Now to push to an ubuntu(or any relevant server) server to deploy to, so we can run our application. We will do this by creating a simple ubuntu server on a DigitalOcean Platform. It is easier to configure than AWS. It provides a server we can remotely connect to using an SSH Commit. You can use any remote server you would like! <a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-a-continuous-deployment-pipeline-with-gitlab-ci-cd-on-ubuntu-18-04">Refer to documentation in case of any issues.</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gb64s0nXtV4jafGRx1NgRg.png" /></figure><p><strong>10.</strong> We will create a private key, by executing the following command</p><pre>ssh-keygen</pre><p>Using the same method in step 6, we will create a private variable</p><p><strong>11.</strong> Add yaml script for deployment</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*APrk-EPVuNTXW96E38Wwsg.png" /></figure><p>Before we attempt the docker run command we need to ensure that we stop any existing containers or at least the ones that are currently running on the port that we have specified. for that we have added line 37 We can remove old containers to ensure the container runs each time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/793/1*D0KwizIcLqV-9YfUwWOHAg.png" /></figure><p>By default the access key permissions are open so anyone can read and write to the file when we try to connect with a private key which has open access permissions we are going to get an error that it is insecure, that is has too open access permissions. Therefore, we add line 35 chmod 400 which ensures that it cannot publicly be accessed and written upon.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*4ovnobtQslb1MrJsEidsbw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UG9s6zbusSBCT7vY_1QoDw.png" /><figcaption>complete configuration used</figcaption></figure><p>Now you know how to configure the pipeline for your project on GitLab! :)</p><h4>Looking to the Future</h4><p>In addition to what we have discussed above GitLab offers many more features such as using caching (allowing for a faster pipeline and cost reductions) and artifacts (test reports and passing data). It also allows deployment to Kubernetes, Docker Compose and Microservices! It is a very promising tool with what it has to offer.</p><h4>References used</h4><p>TechWorld with Nana, dir. 2022. <em>GitLab CI CD Tutorial for Beginners [Crash Course]</em>. <a href="https://www.youtube.com/watch?v=qP8kir2GUgo">https://www.youtube.com/watch?v=qP8kir2GUgo</a>.</p><p>Anastasov, Marko. 2021. “CI/CD Pipeline: A Gentle Introduction.” Semaphore. October 28, 2021. <a href="https://semaphoreci.com/blog/cicd-pipeline">https://semaphoreci.com/blog/cicd-pipeline</a>.</p><p>“How To Set Up a Continuous Deployment Pipeline with GitLab CI/CD on Ubuntu 18.04 | DigitalOcean.” n.d. Accessed November 7, 2022. <a href="https://www.digitalocean.com/community/tutorials/how-to-set-up-a-continuous-deployment-pipeline-with-gitlab-ci-cd-on-ubuntu-18-04">https://www.digitalocean.com/community/tutorials/how-to-set-up-a-continuous-deployment-pipeline-with-gitlab-ci-cd-on-ubuntu-18-04</a>.</p><p>“Import Your Project from GitHub to GitLab | GitLab.” n.d. Accessed November 8, 2022. <a href="https://docs.gitlab.com/ee/user/project/import/github.html">https://docs.gitlab.com/ee/user/project/import/github.html</a>.</p><p>“What Is a CI/CD Pipeline?” n.d. Accessed November 8, 2022. <a href="https://www.redhat.com/en/topics/devops/what-cicd-pipeline">https://www.redhat.com/en/topics/devops/what-cicd-pipeline</a>.</p><p>“What Is CI/CD?” n.d. Accessed November 6, 2022. <a href="https://about.gitlab.com/topics/ci-cd/">https://about.gitlab.com/topics/ci-cd/</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adc5bc70a9b9" width="1" height="1" alt=""><hr><p><a href="https://blog.devops.dev/gitlab-and-the-ci-cd-pipeline-adc5bc70a9b9">GitLab and the CI/CD Pipeline</a> was originally published in <a href="https://blog.devops.dev/">DevOps.dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Role of Artificial Intelligence in 5G Technology]]></title>
            <link>https://medium.com/@safaknm99/the-role-of-artificial-intelligence-in-5g-technology-bf289bf27931?source=rss-34cf327128a8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bf289bf27931</guid>
            <category><![CDATA[science]]></category>
            <category><![CDATA[5g-network]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[5g-technology]]></category>
            <category><![CDATA[computer-network]]></category>
            <dc:creator><![CDATA[Safa Kashif Naim]]></dc:creator>
            <pubDate>Sun, 18 Sep 2022 05:02:51 GMT</pubDate>
            <atom:updated>2022-09-18T05:18:54.245Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="photograph of a 5G phone" src="https://cdn-images-1.medium.com/max/1024/0*8RKy0OdG4wrfT64h" /><figcaption>Photo by <a href="https://unsplash.com/@shiwa_id?utm_source=medium&amp;utm_medium=referral">Shiwa ID</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>Introduction</strong></h3><p>With the potential to transform communication systems as we know them, 5G is the 5th generation of wireless technology. Compared to its predecessor 4G, 5G promises 100 times faster speed, with significantly lower latency and many other benefits paving the way for innovation. According to a study conducted by Ericsson by 2024, 40% of the World will be connected to 5G.Furthermore,over 50% service providers surveyed planned to incorporate Artificial Intelligence to 5G. Combined with Artificial Intelligence, 5G becomes a powerful tool, which is what we shall learn more about in this article.</p><h3><strong>How does it work?</strong></h3><p>On an abstract level, 5G is similar to the older generation wireless networks. It consists of several cell sites that send coded signals. These are connected to the main network either physically through wires or a fast wireless connection.</p><p>This network technology is based on<a href="https://en.wikipedia.org/wiki/LTE_(telecommunication)"> LTE</a> architecture. It efficiently uses <a href="https://en.wikipedia.org/wiki/Orthogonal_frequency-division_multiplexing">OFDM encoding</a> to provide speed, flexibility and lower latency. Another reason why 5G is extremely fast is because it has channels that can be as high as 100MHz, additionally several can be combined to achieve 800 MHz.</p><p>If you thought that was good, it gets even better! 5G base stations use less transmit power and the design allows stations to control their power and achieve satisfactory communication.</p><p><strong>Network Slicing</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*QZPFyqEMI-rcuRdE" /><figcaption>Photo by Karim Rabie on <a href="https://youtu.be/h7ZE9PATr7M">https://youtu.be/h7ZE9PATr7M</a></figcaption></figure><p>Before the introduction to LTE we used to have this complex network architecture. This is depicted in the diagram above (leftmost structure). Multiple services would be segregated by an <a href="https://en.wikipedia.org/wiki/Access_Point_Name">apn</a>.</p><p>This evolved into a new architecture with the fragmentation of the core network to multiple segments or DCNs (Dedicated Core Network). Each service would have its own DCN. This ensured the availability and isolation of resources providing <a href="https://en.wikipedia.org/wiki/Service-level_agreement">SLAs</a> better quality services. However, this created a complicated system that is heavy on operations with multiple networks based on virtualization.</p><p>To solve this 5G has the concept of end to end slice. This kind of partitioning is done on the Access Network which is run on the Core and even on the Transport Layer. This provides the benefits of isolation and more dedicated resources. This brings new terms like slash service types. There are standard SSTs that point to certain services. For example no matter where the device is it will receive the resources it is entitled to in a consistent manner. This is called network slicing and it is expected to become the new network for monetization.</p><p>For a more detailed explanation you can visit <a href="https://medium.com/supplyframe-hardware/overview-of-5g-technology-how-it-works-and-current-deployments-7128d0cb6223">this article </a>by <a href="https://medium.com/@kingatmo">Amos Kingatua</a>, and for more reference <a href="https://youtu.be/h7ZE9PATr7M">visit here</a>.</p><h3><strong>Applications of Artificial Intelligence/ Machine Learning</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/0*myL_RGLE4zeBhkCI" /></figure><p>With the advent of 5G technology, the advancement of Artificial Intelligence has become a necessity. With a key focus on lowering capital expenditure, enhancing network performance, and creating new revenue streams, AI is already being introduced into networks. Artificial intelligence (AI) will be essential for better customer experience and customer service. Communications service providers (CSPs) are investing in their networks to transition to 5G, and AI will aid in recovering those costs. AI is able to Identify dynamic change and forecast the user distribution by analysing historical data. It can Forecast the peak traffic, resource utilization and application types. Ai can also optimize and fine tune network parameters for capacity expansion.AI is helping with deployment of 5G itself in the form of</p><ul><li>High level of automation from the distributed ML and AI architecture at the network edge,</li><li>Application-based traffic steering and aggregation across heterogeneous access networks.</li><li>Dynamic network slicing to address varied use cases with different QoS requirements.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gUXnSzqx5bhfG7Ls" /><figcaption>Photo by Karim Rabie on <a href="https://youtu.be/h7ZE9PATr7M">https://youtu.be/h7ZE9PATr7M</a></figcaption></figure><h4>1) ML-based Services (productized Slices)</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*N0PHzf0xQ3XCoetx" /><figcaption>visual from <a href="http://www.ericsson.com./">www.ericsson.com</a></figcaption></figure><p><strong>Enhancing Customer Experience:</strong></p><p>AI is a major component of what is generally known as “Quality of Experience (QoE)”. This is anticipated to assist providers in numerous ways to significantly enhance the consumer experience, in terms of personalized service and improved network quality.</p><p><strong>Improved Communication Service Providers:</strong></p><p>The reduction of costs and a more optimized system managed by AI will ensure a higher revenue and a significantly improved system.</p><p><strong>Managing Huge Amounts of Data:</strong></p><p>AI is capable of processing vast amounts of data and extracting meaningful information out of them providing a system that is reliable, and able to reach conclusions with all the data provided.</p><h4>2) ML empowering the E2E Slices operations</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5r2mYgAianh7d5Py" /><figcaption>Photo by Karim Rabie on <a href="https://youtu.be/h7ZE9PATr7M">https://youtu.be/h7ZE9PATr7M</a></figcaption></figure><p>Since the 5g Network is so complex with huge amounts of data to enhance the way it works, it is only natural that we would want to automate the process. Hence, we use ML powered network slicing. This includes</p><ol><li><strong>Data Aggregation (Pre-processing) module:</strong> This node is responsible for cleaning, aggregating data, or performing any other preprocessing that might be required to make it digestible for ML model consumption. This data is then pushed to an ML model, consisting of 2 things: a machine learning algorithm, and a stream of data used to train the model. The algorithm can understand what will happen in any case. We will begin with supervised learning.</li><li><strong>Machine Learning Module:</strong> This data is then pushed to an ML model, consisting of 2 things: a machine learning algorithm, and a stream of data used to train the model. The algorithm can understand what will happen in any case. We will begin with supervised learning.</li><li><strong>Policy Module:</strong> This will be connected to a dynamic policy which will decide what to do.</li><li><strong>Distributor Module:</strong> The distributor will identify the SINK(s) ,the point at which we should make the change and distribute the output of the M node to the corresponding SINK nodes.</li></ol><blockquote>SINK: this node is the target of the ML output, on which it takes action.</blockquote><p>This creates a system that looks out for and is able to connect seemingly unrelated parts of the network to identify any issues in providing SLAs effectively. Therefore, being able to identify and resolve any system issues. This can also be applied to troubleshooting problems in the transport layer and possibly solving them without any need for manual intervention.</p><h3>Conclusion</h3><p>5G technology is completely different to the generations before it, with significantly different applications. It provides a platform to provide unique services with all the data available, automating modules such as customer experience quality assurance and predicting and planning for future trends that may be invisible to the human mind, with the aid of machine learning algorithms.</p><p>5G is set to propel the IoT, Robotics and smart car industries with its enhanced speed and low latency. However, the dynamicity provided by such a system also makes it very complex and difficult to manage. Therefore, Artificial Intelligence is the way forward to automating 5G and creating a faster more technologically advanced society.</p><blockquote>While the evolution toward 4G/LTE was driven by more mobile data speed, the 5G system is confronted by more stricter and diverse requirements; as summarized in Table below.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/0*Cn5rl12Imyg3u4OG" /><figcaption>from <em>Mobile and Wireless Communications Enablers for the Twenty-Twenty Information Society 5G</em></figcaption></figure><h3>References</h3><p><em>O. Dharmadhikari: “Leveraging Machine Learning and Artificial Intelligence for 5G”, [Internet]. Available from : </em><a href="https://www.cablelabs.com/leveraging-machine-learning-and-artificial-intelligence-for-5g"><em>https://www.cablelabs.com/leveraging-machine-learning-and-artificial-intelligence-for-5g</em></a><em> (last accessed: 11/01/2021)</em></p><p><a href="http://www.youtube.com./">www.youtube.com.</a> (n.d.). <em>AI/ML Empowering 5G Network Slicing</em>. [online] Available at: <a href="https://www.youtube.com/watch?v=h7ZE9PATr7M">https://www.youtube.com/watch?v=h7ZE9PATr7M</a> [Accessed 12 Sep. 2022].</p><p>Kingatua, A. (2020). <em>Overview of 5G Technology, How it Works and Current Deployments</em>. [online] Medium. Available at: <a href="https://medium.com/supplyframe-hardware/overview-of-5g-technology-how-it-works-and-current-deployments-7128d0cb6223.">https://medium.com/supplyframe-hardware/overview-of-5g-technology-how-it-works-and-current-deployments-7128d0cb6223.</a></p><p>‌Sharma, P., Jain, S., Gupta, S. and Chamola, V. (2021). Role of machine learning and deep learning in securing 5G-driven industrial IoT applications. <em>Ad Hoc Networks</em>, 123, p.102685. doi:10.1016/j.adhoc.2021.102685.</p><p>‌SearchNetworking. (n.d.). <em>What is 5G? Everything You Need to Know About 5G Technology</em>. [online] Available at: <a href="https://www.techtarget.com/searchnetworking/definition/5G.">https://www.techtarget.com/searchnetworking/definition/5G.</a></p><p>‌Inc, D. (n.d.). <em>How Artificial Intelligence Improves 5G Wireless | DeepSig</em>. [online] <a href="http://www.deepsig.ai./">www.deepsig.ai.</a> Available at: <a href="https://www.deepsig.ai/how-artificial-intelligence-improves-5g-wireless-capabilities#:~:text=By%20integrating%20ML%20into%205G">https://www.deepsig.ai/how-artificial-intelligence-improves-5g-wireless-capabilities#:~:text=By%20integrating%20ML%20into%205G</a> [Accessed 12 Sep. 2022].</p><p><a href="http://www.ericsson.com./">www.ericsson.com.</a> (2021). <em>5G AI Report- Artificial Intelligence and 5G — What role will AI play?</em> [online] Available at: <a href="https://www.ericsson.com/en/network-services/ai-5g-networks.">https://www.ericsson.com/en/network-services/ai-5g-networks.</a></p><p><em>FP7 ICT project: Mobile and Wireless Communications Enablers for the Twenty-Twenty Information Society 5G. [Online]. Available: </em><a href="https://www.metis2020.com/"><em>https://www.metis2020.com/</em></a></p><p>‌‌‌</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bf289bf27931" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>