<?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 Tinkal Shakya on Medium]]></title>
        <description><![CDATA[Stories by Tinkal Shakya on Medium]]></description>
        <link>https://medium.com/@tinkalshakya?source=rss-d969c07f72c0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*JcJebB1z-15hySHE</url>
            <title>Stories by Tinkal Shakya on Medium</title>
            <link>https://medium.com/@tinkalshakya?source=rss-d969c07f72c0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 22:37:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tinkalshakya/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[Deploying Apache Application on AWS using WordPress with RDS]]></title>
            <link>https://tinkalshakya.medium.com/deploying-apache-application-on-aws-using-wordpress-with-rds-eff3a16e4450?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/eff3a16e4450</guid>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Sat, 29 Jul 2023 17:47:46 GMT</pubDate>
            <atom:updated>2023-07-29T17:47:46.345Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*pI-RhMcvi861dkRqulWvhg.png" /></figure><h4>Setting up WordPress on Amazon RDS and EC2 Instance</h4><p>WordPress is a popular content management system (CMS) that can be used to create websites and blogs. In this article, we will show you how to set up WordPress on Amazon RDS and EC2 Instance.</p><h4><strong>Step 1</strong> Create an AWS EC2 instance.</h4><ol><li>Go to the AWS Management Console and select the EC2 service. Click Launch Instance and select an AMI (Amazon Machine Image) that is compatible with WordPress. For example, you can select Amazon Linux images.</li><li>In the Instance Details section, select the Public IP checkbox. This will allow you to access your WordPress site from the internet.</li><li>Click Launch and follow the instructions to launch your EC2 instance.</li></ol><h4>Step 2 Configure the instance with Apache Webserver.</h4><ol><li>Once your EC2 instance is launched, connect to it using SSH. Then, install Apache Webserver by running the following command:</li></ol><pre>sudo -i<br>yum update<br>yum install -y httpd </pre><p>2. Start Apache Webserver by running the following command:</p><pre>systemctl start httpd<br>systemctl enable httpd</pre><h4>Step 3 Download WordPress and install PHP &amp; php-mysqli.</h4><ol><li>Download the WordPress <strong>.tar </strong>file and extract the file using the below command</li></ol><pre>wget https://wordpress.org/latest.tar.gz<br>tar -xvf latest.tar.gz <br>yum install -y php php-mysqli</pre><p>2. move the WordPress directory to the /var/www/html directory.</p><pre>sudo mv wordpress/* /var/www/html/<br>cd /var/www/html<br>cp wp-config-sample.php wp-config.php</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1UvFo5H_c-WRYEz_wN5fNQ.png" /></figure><h4>Step 4. Create a MySQL RDS database.</h4><p>1. Go to the AWS Management Console and select the RDS service. Click Create Database and select the MySQL engine.</p><p>2. In the Settings section, enter a DB Instance Identifier and a Master Username.</p><p>3. In the Connectivity section, select the Public Access checkbox.</p><p>4. Click <strong>Create</strong> MySQL RDS database.</p><h4>Step 5 -Configure WordPress to connect to MySQL RDS.</h4><p>Open the wp-config.php file in the WordPress directory and update the following settings:</p><ul><li>DB_HOST: The hostname of your MySQL RDS database(endpoint).</li><li>DB_USERNAME: The master username of your MySQL RDS database.</li><li>DB_PASSWORD: The password of your MySQL RDS database.</li><li>DB_NAME: The name of your MySQL RDS database.</li></ul><pre>vim wp-config.php</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-CXOpQQjT4vApFv1wXkblg.png" /></figure><p>Finally, restart the Apache web server to pick up the changes.</p><pre>sudo service httpd restart</pre><p>You should see the WordPress welcome page and the five-minute installation process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tfm8drfnNroUsfruYY39QQ.png" /></figure><p>That’s it. You have a live, publicly accessible WordPress installation using a fully managed MySQL database on Amazon RDS.</p><h4>Note :- make sure you added an inbound rule in the security group for accessing the MySQL database.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sUvUhbvQjr9tZNNk54Qy4g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*bVS9Ug95SANUCMkF4jvzKg.png" /></figure><p>Now you can see the WordPress Dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I3B1t4R7MCjBOEKWNocmLA.png" /></figure><p>So that’s all.</p><h4>I hope this article was helpful! Let me know if you have any other questions…</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eff3a16e4450" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How AI/ML is Helping MNCs Become Top-Notch Companies]]></title>
            <link>https://tinkalshakya.medium.com/how-ai-ml-is-helping-mncs-become-top-notch-companies-ffd9e1c11deb?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/ffd9e1c11deb</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-ml-companies]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Sat, 29 Jul 2023 09:47:09 GMT</pubDate>
            <atom:updated>2023-07-29T09:47:09.667Z</atom:updated>
            <content:encoded><![CDATA[<p>AI/ML is a powerful tool that MNCs can use to improve their products and services. By using AI/ML, MNCs can stay ahead of the competition, deliver products that their customers love, and reduce costs. As AI/ML continues to evolve, it is likely that we will see even more innovative ways that MNCs can use this technology to enhance their products and services.</p><h4>Introduction:</h4><p>In today’s competitive business landscape, MNCs are constantly looking for ways to improve their products and services. One way they are doing this is by using artificial intelligence (AI) and machine learning (ML). AI/ML can be used to improve a wide range of business processes, from customer service to product development.</p><h4>Benefits of AI/ML for MNCs:</h4><p>There are many benefits that MNCs can get from using AI/ML. I mentioned some of the most common benefits include:</p><ul><li>Improved customer service: AI/ML can be used to automate customer service tasks, such as answering FAQs and resolving simple issues. This can free up human customer service representatives to focus on more complex issues, resulting in a better customer experience.</li><li>Enhanced product development: AI/ML can be used to gather data and insights from customers, which can then be used to develop new products and services that meet their needs. This can help MNCs to stay ahead of the competition and deliver products that their customers love.</li><li>Increased efficiency: AI/ML can be used to automate many of the manual tasks that are currently performed by humans. This can free up employees to focus on more strategic tasks, resulting in increased efficiency and productivity.</li><li>Reduced costs: AI/ML can help MNCs to reduce costs in a number of ways. For example, it can be used to automate tasks that are currently performed by humans, which can save on labor costs. It can also be used to improve efficiency, which can lead to lower operational costs.</li></ul><h4>How AI/ML is Enhancing MNC Products:</h4><p>AI/ML is being used to enhance MNC products in a number of ways. For example:</p><ul><li>Personalize products and services: AI/ML can be used to collect data about customers and their preferences. This data can then be used to personalize products and services, which can lead to increased customer satisfaction.</li><li>Improve the accuracy of products and services: AI/ML can be used to analyze data and identify patterns. This information can then be used to improve the accuracy of products and services, which can lead to better results for customers.</li><li>Make products and services more user-friendly: AI/ML can be used to understand how customers interact with products and services. This information can then be used to make products and services more user-friendly, which can lead to increased adoption and usage.</li></ul><p>I hope this article was helpful! Let me know if you have any other questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ffd9e1c11deb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Openshitf and Industries Use-Cases]]></title>
            <link>https://tinkalshakya.medium.com/openshitf-and-industries-use-cases-98f76f93bc11?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/98f76f93bc11</guid>
            <category><![CDATA[use-cases]]></category>
            <category><![CDATA[openshift]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Sat, 29 Jul 2023 09:31:40 GMT</pubDate>
            <atom:updated>2023-07-29T09:31:40.495Z</atom:updated>
            <content:encoded><![CDATA[<p>OpenShift is a powerful platform that can be used to build, deploy, and manage containerized applications. It is a good choice for organizations that are looking to modernize their applications and improve their DevOps processes.</p><h4>What is Openshift?</h4><p>OpenShift is a cloud-native platform that helps organizations build, deploy, and manage containerized applications. It is based on Kubernetes, the open-source container orchestration system, and provides a number of features that make it easy to develop and deploy applications at scale.</p><h4>Industry Use Cases:</h4><p>OpenShift is used by a wide range of organizations across different industries. Some of the most common use cases for OpenShift include:</p><ul><li>Web applications: OpenShift is a popular platform for hosting web applications. It provides a number of features that make it easy to deploy and scale web applications, such as automatic scaling, load balancing, and health checking.</li><li>Microservices: OpenShift is a good choice for developing and deploying microservices applications. It provides a number of features that make it easy to manage microservices, such as service discovery, routing, and load balancing.</li><li>DevOps: OpenShift can be used to improve the DevOps process. It provides a number of features that make it easy to automate the build, deploy, and test processes, such as continuous integration and continuous delivery (CI/CD).</li><li>Data analytics: OpenShift can be used to deploy data analytics applications. It provides a number of features that make it easy to store, process, and analyze large amounts of data, such as support for Hadoop, Spark, and Kafka.</li></ul><h4>There are many reasons why organizations use OpenShift. Some of the most common reasons include:</h4><ul><li>To build and deploy containerized applications: OpenShift is a container orchestration platform, which means that it makes it easy to build, deploy, and manage containerized applications. This is a major advantage, as containerized applications are becoming increasingly popular due to their portability, scalability, and security benefits.</li><li>To improve the DevOps process: OpenShift provides a number of features that can help to improve the DevOps process. For example, it supports continuous integration and continuous delivery (CI/CD), which can help to automate the build, deploy, and test processes. This can help to reduce the time it takes to get new applications to market.</li><li>To provide a consistent development and deployment environment: OpenShift can be used to create a consistent development and deployment environment across different teams and environments. This can help to improve the quality of applications and reduce the risk of errors.</li><li>To support a hybrid cloud and multi-cloud strategy: OpenShift can be deployed on-premises, in the cloud, or in a hybrid cloud environment. This gives organizations the flexibility to choose the deployment option that best meets their needs.</li></ul><h4>How OpenShift Works:</h4><p>OpenShift is a platform that consists of a number of components that work together to manage containerized applications. These components include:</p><ul><li>The OpenShift Container Platform: This is the core component of OpenShift. It provides the Kubernetes cluster and the services that are needed to run containerized applications.</li><li>The OpenShift Web Console: This is a web-based user interface that can be used to manage OpenShift clusters.</li><li>The OpenShift CLI: This is a command-line tool that can be used to manage OpenShift clusters.</li><li>The OpenShift Container Registry: This is a private registry that can be used to store container images.</li></ul><h4>Additional Resources:</h4><ul><li>OpenShift website: <a href="https://www.openshift.com/">https://www.openshift.com/</a></li><li>OpenShift documentation: <a href="https://docs.openshift.com/">https://docs.openshift.com/</a></li><li>OpenShift blog: <a href="https://blog.openshift.com/">https://blog.openshift.com/</a></li></ul><p>I hope this article was helpful! Let me know if you have any other questions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=98f76f93bc11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Kubernetes and its Use-Case]]></title>
            <link>https://tinkalshakya.medium.com/kubernetes-and-its-use-case-6b2779cb897c?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b2779cb897c</guid>
            <category><![CDATA[node]]></category>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[kubernetes-components]]></category>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Sat, 29 Jul 2023 09:17:43 GMT</pubDate>
            <atom:updated>2023-07-29T09:17:43.644Z</atom:updated>
            <content:encoded><![CDATA[<p>In the ever-evolving world of technology, Kubernetes has emerged as a powerful sorcerer, orchestrating containerized applications with grace and precision. Join us on a captivating journey as we dive into the depths of Kubernetes and uncover its secrets.</p><h4>What is Kubernetes?</h4><p>Kubernetes is an open-source container orchestration platform that enables automated deployment, scaling, and management of containerized applications.</p><p>In simple terms, Kubernetes is like a master conductor for your applications, ensuring they run smoothly and efficiently. It abstracts away the underlying infrastructure and allows developers to focus on building and deploying their applications without worrying about the complexities of managing the underlying servers.</p><h4>Kubernetes Components:-</h4><p>Kubernetes is made up of a number of components that work together to manage containerized applications. These components include:</p><ul><li>Control plane: The master is the central control plane for Kubernetes. It is responsible for scheduling containers onto nodes, managing the state of the cluster, and providing a number of other services.</li><li>Nodes: A Pod always runs on a <strong>Node</strong>. A Node is a worker machine in Kubernetes and may be either a virtual or a physical machine, depending on the cluster. Each Node is managed by the control plane.</li><li>Pods: When you created a Deployment, Kubernetes created a <strong>Pod</strong> to host your application instance. A Pod is a Kubernetes abstraction that represents a group of one or more application container</li><li>Services: Services are logical groupings of Pods that provide a single point of access to an application.</li></ul><h4>Rise of Kubernetes</h4><p>Kubernetes has become increasingly popular in recent years due to its ability to manage containerized applications at scale. It is now used by a wide range of organizations, including Google, Netflix, and Spotify.</p><h4>Why use Kubernetes?</h4><p>There are a number of reasons why you might want to use Kubernetes to manage your containerized applications. These include:</p><ul><li>Scalability: Kubernetes is designed to scale applications to meet demand. It can automatically add or remove nodes as needed to ensure that your application is always running at its optimal performance.</li><li>High availability: Kubernetes can help to ensure that your applications are highly available. If a node fails, Kubernetes will automatically reschedule the containers on another node.</li><li>Ease of use: Kubernetes provides a number of tools and features that make it easy to manage containerized applications. These include a command-line interface (CLI) and a graphical user interface (GUI).</li></ul><h4>Feature of Kubernetes</h4><p>Kubernetes has a number of features that make it a powerful container orchestration system. These features include:</p><ul><li>Declarative configuration: Kubernetes uses declarative configuration, which means that you can specify the desired state of your application rather than the steps to get there. This makes it easier to manage and update your applications.</li><li>Automated rollouts and rollbacks: Kubernetes can automatically roll out new versions of your application and roll back to previous versions if there are any problems. This helps to ensure that your applications are always running in a stable state.</li><li>Self-healing: Kubernetes can automatically heal itself if a node fails. It will reschedule the containers on the failed node onto another node.</li><li>Load balancing: Kubernetes can automatically load balance traffic across your application’s pods. This helps to ensure that your application is always running at its optimal performance.</li></ul><h4>Industry Use-Case of Kubernetes</h4><p>Kubernetes is used by a wide range of organizations in a variety of industries. Here are three of the most popular use cases for Kubernetes:</p><ul><li>Web applications: Kubernetes is a popular choice for deploying and managing web applications. It can automatically scale web applications to meet demand and ensure that they are always available.</li><li>Microservices: Kubernetes is also a popular choice for deploying and managing microservices-based applications. It can help to ensure that microservices are decoupled and can be scaled independently.</li><li>Containerized workloads: Kubernetes can be used to manage any containerized workload. This includes batch jobs, data processing pipelines, and machine learning applications.</li></ul><p>Reference-<a href="https://kubernetes.io/docs/tutorials/kubernetes-basics/"> https://kubernetes.io/docs/tutorials/kubernetes-basics/</a></p><h4>I hope this helps! Let me know if you have any other questions..</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b2779cb897c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ansible in Action: How Industries Are Overcoming Challenges with Automation]]></title>
            <link>https://tinkalshakya.medium.com/ansible-in-action-how-industries-are-overcoming-challenges-with-automation-b4bcfeb88031?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b4bcfeb88031</guid>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Thu, 27 Jul 2023 15:35:10 GMT</pubDate>
            <atom:updated>2023-07-29T08:09:40.254Z</atom:updated>
            <content:encoded><![CDATA[<p>In the dynamic world of information technology, where agility, scalability, and efficiency are paramount, industries have sought innovative solutions to address complex challenges. In the vast realm of IT automation, there’s a remarkable gem known as Ansible. This open-source wonder has transformed how businesses handle cloud setups, manage configurations, and deploy applications, among other tasks. Let’s take a delightful journey into Ansible’s origins, its inner workings, and discover why it’s a game-changer across diverse industries.</p><h4>Understanding Ansible: A Brief Overview</h4><p>At its core, Ansible is an incredibly user-friendly IT automation engine that enables organizations to streamline their operations with ease. In the magical year of 2012, a brilliant mind named Michael DeHaan gave life to Ansible. You might recognize him as the mastermind behind Cobbler and Func, two other enchanting projects. Eventually, it caught the eye of Red Hat, which acquired the company in 2015. Under the umbrella of IBM, Ansible has continued to thrive and integrate seamlessly into distributions like Fedora Linux, RHEL, Centos, and Oracle Linux.</p><h3>What is Ansible?</h3><p>Ansible is like a digital wizard that automates all sorts of tasks related to computer systems. It can set up cloud services, manage configurations, deploy applications, and do much more. Instead of controlling one computer at a time, Ansible understands how all the computers in a system interact with each other, making it easier to manage the entire system efficiently.</p><h4>Basic Ansible Architecture:</h4><p>Ansible operates with a simple and agentless architecture:</p><ol><li>Controller Node: This is where Ansible is installed. It acts as the “boss” and manages all the automation tasks. The controller node runs Ansible playbooks, which are like instruction manuals for automation jobs.</li><li>Managed/Target Nodes: These are the computers or servers that Ansible manages. Unlike some other automation tools, Ansible doesn’t require any special software or agents on these nodes. It communicates with them remotely using SSH (Secure Shell).</li><li>Inventory: Ansible Inventory is like a list of employees that the “boss” needs to manage. It contains details about the managed nodes, such as their IP addresses, usernames, and connection protocols.</li></ol><h4>Why do we need Ansible?</h4><p>Before Ansible, managing computer systems and applications was a tough job. People had to manually configure each computer, leading to mistakes and slow processes. Ansible makes things easy by automating these tasks, which reduces errors, saves time, and makes everything run smoothly.</p><h4>How does Ansible work?</h4><p>Imagine Ansible as the boss, and the computers it manages are its employees. It doesn’t need any special agents or extra software on those computers to work. Ansible connects to them remotely, like using a magical remote control. Then, it sends out scripts to each computer, telling them what to do. Once the tasks are completed, the scripts disappear, leaving the computers to do their jobs.</p><h4>Important terms used in Ansible</h4><ol><li>Ansible Server: Picture the Ansible server as the “mastermind” behind the scenes. It’s the machine where Ansible is installed and from where all the automation tasks and playbooks are executed.</li><li>Module: Consider a module as a “special tool” in Ansible’s toolbox. It represents a command or set of similar commands that Ansible uses to perform specific actions on the computers it manages.</li><li>Task: In Ansible, a task is like a “to-do” item on a checklist. It’s a single action or step that Ansible carries out on the computers, making progress toward completing the automation.</li><li>Role: Imagine a role as a “role-playing character” in a play. It’s a way to organize related tasks and files, making it easier to reuse them later in playbooks.</li><li>Inventory: The inventory is like a “list of friends” that Ansible keeps. It’s a file containing details about the computers (friends) it manages, such as their names and addresses.</li><li>Play: A play in Ansible is akin to a “script” for a performance. It’s a set of instructions that guide Ansible on which tasks to perform and on which computers.</li><li>Tag: A tag is like a “label” on a task, helping you find and organize specific tasks or groups of tasks. It’s like categorizing tasks for easy retrieval.</li></ol><h4>Solving Industry Challenges with Ansible</h4><ol><li>Managing IT Infrastructure: before the ansible, handling computer systems was very complicated and very time-consuming. With Ansible, businesses can quickly set up and configure servers and networks, making the whole process much smoother.</li><li>Scaling Applications: In industries like e-commerce, where website traffic can vary a lot, Ansible helps to scale applications up or down automatically. This ensures that websites run smoothly, even during busy times.</li><li>Simplifying IT in Education: Schools and universities often have limited IT resources. Ansible simplifies its IT operations by automating routine tasks, freeing up time for more important things.</li></ol><h3>Thanks for reading this article, I hope this article is helpful to you…</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b4bcfeb88031" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use Case of Jenkins in the Industries]]></title>
            <link>https://tinkalshakya.medium.com/use-case-of-jenkins-in-the-industries-17e6f40761e3?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/17e6f40761e3</guid>
            <category><![CDATA[jenkins]]></category>
            <category><![CDATA[jenkins-pipeline]]></category>
            <category><![CDATA[jenkins-plugins]]></category>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Sun, 23 Jul 2023 17:15:53 GMT</pubDate>
            <atom:updated>2023-07-24T04:59:13.857Z</atom:updated>
            <content:encoded><![CDATA[<h4>Industries use case of jenkins</h4><h4>Introduction:</h4><p>In today’s fast-paced software development world, continuous integration and continuous delivery (CI/CD) has become indispensable practices for organizations striving to achieve faster release cycles and higher-quality software. Jenkins, an open-source automation server, has emerged as a popular choice for facilitating these CI/CD processes. This article explores the industry use cases of Jenkins and delves into how it works to streamline software development pipelines.</p><h4>I. What is Jenkins?</h4><p>Jenkins is a powerful automation tool used primarily for automating repetitive tasks in the software development lifecycle. It enables developers to integrate code changes, automatically build and test applications, and deploy them to various environments. Jenkins is written in Java and offers extensive plugin support, making it highly customizable and adaptable to a wide range of use cases.</p><h4>II. Industry Use Cases of Jenkins:</h4><ol><li>Continuous Integration (CI): Jenkins is widely known for its CI capabilities. It continuously integrates code changes from multiple developers into a shared repository, triggering automated builds and tests. This ensures that any code changes are quickly validated, reducing integration issues and promoting collaboration among developers.</li><li>Continuous Delivery (CD): As an essential part of CI/CD pipelines, Jenkins facilitates continuous delivery by automating the deployment process. It allows teams to deploy applications to staging and production environments in a reliable and consistent manner, ensuring rapid and error-free delivery to end users.</li><li>Automated Testing: Jenkins can seamlessly integrate with testing frameworks and tools, automating the entire testing process. From unit tests to acceptance tests, Jenkins executes test suites on various platforms, providing quick feedback to developers about code quality and identifying potential issues early in the development cycle.</li><li>Infrastructure as Code (IaC): Jenkins can work in tandem with infrastructure as code tools like Ansible, Chef, or Terraform. This enables teams to automate the provisioning and configuration of infrastructure, making the deployment process more efficient, consistent, and version-controlled.</li><li>Scheduled Jobs and Data Pipelines: Beyond CI/CD, Jenkins can be used for scheduling tasks, such as generating reports, backing up data, or running periodic data pipelines. This enhances overall system reliability and ensures essential maintenance tasks are executed on time.</li><li>Deployment Rollbacks and Monitoring: Jenkins allows organizations to set up deployment rollbacks, ensuring that the application can quickly revert to the previous stable version if any issues occur after deployment. Additionally, Jenkins can integrate with monitoring tools to trigger alerts and actions based on predefined thresholds.</li></ol><h4>III. How Jenkins Works:</h4><ol><li>Installation and Setup: Jenkins can be installed on various platforms, including Windows, macOS, and Linux. After installation, administrators can configure the Jenkins server through its web-based interface.</li><li>Jobs and Pipelines: In Jenkins, a job is a single task that can be executed, such as building a project or running tests. Jobs can be organized into pipelines, where multiple jobs are interconnected, forming a complete workflow for CI/CD.</li><li>Version Control Integration: Jenkins seamlessly integrates with version control systems like Git, SVN, and Mercurial. It can monitor repositories for changes, triggering builds and deployments automatically.</li><li>Plugins: Jenkins offers a vast repository of plugins that extend its functionalities. These plugins can integrate with various tools, such as testing frameworks, cloud platforms, and notification services.</li><li>Build Agents: Jenkins uses build agents (also known as slaves or nodes) to execute jobs. Agents can be distributed across multiple machines, allowing parallel execution and load balancing.</li></ol><h4><strong>Thanks for reading this article, I hope this article is helpful to you…</strong></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17e6f40761e3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Case study or story of one company that got benefitted from AWS to host mobile game servers]]></title>
            <link>https://tinkalshakya.medium.com/case-study-or-story-of-one-company-that-got-benefitted-from-aws-to-host-mobile-game-servers-e9bdd4cf38e?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9bdd4cf38e</guid>
            <category><![CDATA[aws-cloudfront]]></category>
            <category><![CDATA[case-study-solutions]]></category>
            <category><![CDATA[aws-ec2]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-eks]]></category>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Sat, 22 Jul 2023 12:06:31 GMT</pubDate>
            <atom:updated>2023-07-27T15:39:55.831Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction:</h3><p><a href="https://medium.com/u/a0eb2286a62a">Gameloft</a>, a big name in mobile games, faced a challenge: combining game creation and infrastructure setup. They believed that working together would lead to better games and happier players. So, in March 2020, just before their 20th anniversary, they launched LEGO Legacy: Heroes Unboxed using Amazon Web Services (AWS) Cloud.</p><p>The magic of AWS Cloud gave Gameloft more agility, stability, and power for future plans. “I can’t imagine launching a game without AWS’s help,” said Marianne Barousse, from Gameloft. Now, they are never going back!</p><h4>The Challenge: Game and Infrastructure in Sync</h4><p>Gameloft creates games, and another team sets up the infrastructure. But they knew that teamwork could make games even better. For years, they hosted games in their own data centers, but it was challenging to predict how big a game would be and how many players it would have. They had to fit everything into their infrastructure to launch smoothly.</p><p>Having multiple games sharing the same infrastructure made maintenance tricky, so they wanted more flexibility and better coordination.</p><h4>The Solution: AWS Cloud Comes to the Rescue</h4><p>AWS Cloud gave Gameloft the power it needed. They used Amazon Elastic Compute Cloud (Amazon EC2) to host game servers. It brought the game closer to players worldwide, making it more fun to play together. With Amazon CloudFront, they delivered game data securely and super-fast to players all over the globe.</p><p>For LEGO Legacy: Heroes Unboxed, Gameloft built the game and its infrastructure together, changing how teams worked. “It’s easier to do that on the cloud,” said Barousse.</p><h4>The Outcome: A Smooth Launch and Beyond</h4><p>Thanks to AWS Cloud, LEGO Legacy: Heroes Unboxed launched without a hitch! They had the perfect setup, and players loved it. They saved costs by using AWS efficiently, and now they’re excited to use even more AWS tools for their upcoming games.</p><p>The success of LEGO Legacy: Heroes Unboxed convinced Gameloft to use AWS for all their future game launches. AWS Cloud gave them the freedom to overprovision and fine-tune their games, making each launch a smashing hit.</p><h3>Thanks for reading this article, I hope this article is helpful to you…</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e9bdd4cf38e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Run Docker Containers in Docker]]></title>
            <link>https://tinkalshakya.medium.com/run-docker-containers-in-docker-5f15d4e88e6d?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f15d4e88e6d</guid>
            <category><![CDATA[docker-container]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[docker-image]]></category>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Sat, 22 Jul 2023 11:18:04 GMT</pubDate>
            <atom:updated>2023-07-22T11:23:15.828Z</atom:updated>
            <content:encoded><![CDATA[<h4>Unleashing the Power of Nested Containerization</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*WO_9PsHwDMYKNhdoxxspBQ.png" /></figure><h4>Introduction:</h4><p>In the world of containerization, Docker has become the go-to solution for deploying applications efficiently and securely. While Docker is designed to run processes in isolated containers, have you ever wondered if it’s possible to run a Docker container inside another Docker container?</p><p>Running a Docker container inside another Docker container is possible, but it’s generally not recommended as it can lead to various complications and security concerns. Docker itself is designed to run processes in isolated containers, but those containers are not meant to be nested. Instead, it’s better to run multiple containers on the same Docker host, each serving a specific purpose.</p><p>However, if you have a specific use case that requires running a Docker container inside another Docker container, you can achieve it using a tool called “Docker-in-Docker” (dind) or by mounting the Docker socket from the host into the container.</p><h4>Understanding Running Docker Containers in Docker:</h4><p>Running Docker inside Docker allows you to create a nested container environment, providing flexibility for various development and testing scenarios. This guide outlines two methods to achieve this: Using Docker Dind (Docker-in-Docker) and Using the Docker socket. We’ll walk you through step-by-step instructions for each method.</p><h3>Method 1:- Using the Docker Dind</h3><p><strong>Step 1: Install Docker on the Host Machine</strong><br>Ensure that Docker is installed and running on the host machine. You’ll need Docker installed to run the nested containers.</p><p><strong>Step 2: Pull the Docker Image with DinD Support</strong><br>Choose a Docker image that supports DinD. The “docker:dind” image is a popular choice for this purpose. Pull the image using the following command:</p><pre>docker pull docker:dind</pre><p><strong>Step 3: Run Docker in Docker</strong><br>To run Docker inside a container, use the following command:</p><pre>docker run - privileged - name docker-container -d docker:dind</pre><p>The “--privileged” flag is necessary to give the container access to the host system’s Docker socket.</p><p><strong>Step 4: Interact with the Nested Docker Environment</strong><br>Once the DinD container is running, you can interact with it just like you would with a regular Docker environment. Use the “docker exec” command to run Docker commands within the nested container:</p><pre>docker exec -it my-dind-container docker run -it alpine /bin/sh</pre><h3>Method 2 :- Using the Docker socket</h3><p>Running Docker containers in Docker using the Docker socket is another method that allows you to interact with the host system’s Docker daemon from within a Docker container. This approach avoids the need to use the “privileged” flag and separate DinD images. Instead, it directly mounts the Docker socket from the host into the container, providing access to the host’s Docker environment. Now we go ahead step-by-step to running Docker containers in Docker using the Docker socket:</p><p><strong>Step 1:</strong> Install Docker on the Host Machine Ensure that Docker is installed and running on the host machine. You’ll need Docker installed to interact with the Docker socket.</p><p><strong>Step 2:</strong> Run Docker Containers with Mounted Docker Socket To run Docker containers with access to the host’s Docker socket, use the following command:</p><pre>docker run -v /var/run/docker.sock:/var/run/docker.sock -it &lt;docker-image&gt;</pre><p>In this command:</p><ul><li>-v /var/run/docker.sock:/var/run/docker.sock mounts the Docker socket from the host into the container. This allows the container to communicate with the host&#39;s Docker daemon.</li><li>docker-image is the image you want to use to run the container. Replace it with the image name you want to use.</li></ul><p>Step 3: Interact with the Docker Environment Once the container is running with the mounted Docker socket, you can use Docker commands as if you were working directly on the host machine. For example, you can create, start, stop, and manage other containers from within the nested container:</p><pre>docker ps<br>docker run -d -p 8080:80 nginx<br>docker exec -it container-id bash</pre><p>In the above commands:</p><ul><li>docker ps lists the containers running on the host machine.</li><li>docker run -d -p 8080:80 nginx starts an Nginx container on the host machine.</li><li>docker exec -it container-id bash accesses a shell in a running container on the host machine.</li></ul><p><strong>Thanks for reading this article, I hope this article is helpful to you.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f15d4e88e6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Face detection from live video, crop the face, and send it via Email Using OpenCV and smtplib]]></title>
            <link>https://tinkalshakya.medium.com/face-detection-from-live-video-crop-the-face-and-send-it-via-email-using-opencv-and-smtplib-b2c32c182651?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b2c32c182651</guid>
            <category><![CDATA[facedetection]]></category>
            <category><![CDATA[mail]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[opencv]]></category>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Fri, 10 Dec 2021 11:11:46 GMT</pubDate>
            <atom:updated>2021-12-10T11:11:46.695Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bDjJtVnUPAHCgjEb0Jvi0w.png" /></figure><p>In this article, we will know how to Capture a live video and Crop the video and Display the original video and different cropped parts in different windows and send the cropped part via mail.</p><p>we will use the opencv library/tool and smtplib library to resolve this problem.</p><h4>What is OpenCV?</h4><p>OpenCV is a great tool for image processing and performing computer vision tasks. It is an open-source library that can be used to perform tasks like face detection, objection tracking, landmark detection, and much more.</p><p><strong>How to install opencv and more libraries on your system?</strong></p><p>Firstly, open the Command prompt and install the python opencv, an email-to library using the below command</p><pre>pip install opencv-python<br>pip install email-to</pre><blockquote><strong>Note</strong>:-1. The<strong> email-to library</strong> built-in Python modules for sending email are powerful, but require a lot of boilerplate to write an HTML formatted email.</blockquote><blockquote>2. The smtplib module defines an SMTP client session object that can be used to send mail to any Internet machine with an SMTP listener daemon.</blockquote><p>We will also need of Haar cascade classifier file to detect the face of the video. Now we will read about the Haar cascade classifier.</p><p><strong>What is the Haar Cascade Classifier?</strong></p><p>Haar Cascade Classifier is an Object Detection Algorithm used to identify faces in an image or a real-time video. It employs a machine learning approach for visual object detection which is able to process images very quickly and achieve high detection rates.</p><h4>Face Detection with Haar Cascade Classifier -</h4><p>OpenCV uses Haar Feature-based Cascade Classifiers and comes with pre-trained XML files of various Haar Cascades. and Face detection with Haar Cascades algorithm needs a lot of positive images and negative images to train the classifier. The model created from this training is available in the OpenCV GitHub repository <a href="https://github.com/opencv/opencv/tree/master/data/haarcascades">https://github.com/opencv/opencv/tree/master/data/haarcascades</a>.</p><h4>Now, we will start writing the code.</h4><p>Firstly, import the libraries.</p><pre>import cv2<br>import smtplib,ssl<br>import os<br>from email.mime.text import MIMEText<br>from email.mime.image import MIMEImage<br>from email.mime.multipart import MIMEMultipart</pre><p>Mail with attachments can be regarded as mail with several parts: <strong>text</strong> and <strong>attachments</strong>. So, we can construct a <strong>MIMEMultipart</strong> object to represent the mail itself, then add a <strong>MIMEText</strong> object that contains email content to the mail body.</p><p>then set the video source to the default webcam, which OpenCV can easily capture.</p><pre>cap = cv2.VideoCapture(0)</pre><p>We will create a function to send the mail with an image attachment.</p><p>Firstly, we will stabilize the connection and then login to the mail sent to the mail, and last to close the connection.</p><pre>s =  smtplib.SMTP_SSL(&quot;smtp.gmail.com&quot;,465,context=context)<br>s.login(&quot;sender_mail&quot;,&quot;password&quot;)<br>s.sendmail(&#39;sender_mail&#39;,&#39;recevier_mail&#39;, msg.as_string())<br>s.quit()</pre><p>we capture the video. The read() function reads one frame from the video source, which in this example is the webcam. This returns:</p><ol><li>The actual video frame read (one frame on each loop)</li><li>A return code</li></ol><pre>while True:<br>    ret, img = cap.read()</pre><p>In this code, we will use the detectMultiScale() function to detect the<br>faces of the video.</p><pre>face  = model.detectMultiScale(img)</pre><p>Now, we will find the coordinates in our video. We use these coordinates to blur the face in our video.</p><pre>x1 = face[0][0]<br>y1 = face[0][1]<br>x2 = face[0][2] + x1<br>y2 = face[0][3] + y1 <br>cimg = img[y1:y2 , x1:x2]</pre><p>Now, we will show the video using the imshow() function and cv2 waitkey() allows you to wait for a specific time in milliseconds until you press “enter” on the keyword and destroyAllWindows() simply destroys all the windows we created.</p><pre>cv2.imshow(&#39;Crop video&#39;, crop_img)<br>cv2.imshow(&quot;Orginal Video&quot;,img)<br>if cv2.waitKey(100) == 13:<br>    break<br>cv2.destroyAllWindows()</pre><p>Full code:-</p><pre>import cv2<br>import smtplib,ssl<br>import os<br>from email.mime.text import MIMEText<br>from email.mime.image import MIMEImage<br>from email.mime.multipart import MIMEMultipart</pre><pre>cap = cv2.VideoCapture(0)<br>model = cv2.CascadeClassifier(&#39;haarcascade_frontalface_default.xml&#39;)</pre><pre>def SendMail(ImgFileName):<br>    with open(ImgFileName, &#39;rb&#39;) as f:<br>        img_data = f.read()<br>    msg = MIMEMultipart()<br>    msg[&#39;Subject&#39;] = &#39;Cropped Image&#39;<br>    msg[&#39;From&#39;] = &#39;Tinkal Shakya&#39;<br>    msg[&#39;To&#39;] = &#39;recevier&#39;<br>    text = MIMEText(&quot;I have cropped the face from the live video&quot;)<br>    msg.attach(text)<br>    image = MIMEImage(img_data, name=os.path.basename(ImgFileName))<br>    msg.attach(image)<br>    context=ssl.create_default_context()<br>    s =  smtplib.SMTP_SSL(&quot;smtp.gmail.com&quot;,465,context=context)<br>    s.login(&quot;sender_mail&quot;,&quot;password&quot;)<br>    s.sendmail(&#39;sender_mail&#39;,&#39;recevier_mail&#39;, msg.as_string())<br>    s.quit()<br>    print(&quot;Mail Sended&quot;)</pre><pre>while True:<br>    ret, img = cap.read()<br>    face  = model.detectMultiScale(img)<br>    if len(face) == 0:<br>        pass<br>    else:<br>        x1 = face[0][0]<br>        y1 = face[0][1]<br>        x2 = face[0][2] + x1<br>        y2 = face[0][3] + y1 <br>        crop_img = img[y1:y2 , x1:x2]         <br>        cv2.imshow(&#39;Crop Image&#39;, crop_img)<br>        cv2.imshow(&quot;Orginal Video&quot;,img)<br>        if cv2.waitKey(100) == 13:<br>            break<br>cv2.imwrite(&quot;crop_img.png&quot;,crop_img)<br>cv2.destroyAllWindows()<br>message=&quot;crop_img.png&quot;<br>SendMail(message)</pre><h3>Demo -</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yaWdKDgMvk4zPb11nYTfVQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RqyH4Ylu_nTJ3byTcrRTzg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dt8htcgZ0Io0bg2Eexcijw.png" /></figure><p>So that’s all I guess you have got an idea of how to detect the face from live video, crop the face, and send it via Email Using OpenCV and smtplib.</p><h3>Thank you for reading this article…..😊😍</h3><p><em>Please Comment down your thoughts, feedback, or suggestions</em>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b2c32c182651" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to detect the face of live video Streaming and blur the face Using Opencv]]></title>
            <link>https://tinkalshakya.medium.com/how-to-detect-the-face-of-live-video-streaming-and-blur-the-face-using-opencv-581ca6b52f68?source=rss-d969c07f72c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/581ca6b52f68</guid>
            <category><![CDATA[live-streaming]]></category>
            <category><![CDATA[righteducation]]></category>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[facedetection]]></category>
            <category><![CDATA[opencv-python]]></category>
            <dc:creator><![CDATA[Tinkal Shakya]]></dc:creator>
            <pubDate>Mon, 06 Dec 2021 08:00:34 GMT</pubDate>
            <atom:updated>2021-12-06T11:47:18.350Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4FtXOfVhICi1NuwHqCD-1A.png" /></figure><h4><strong>Problem Statment:-</strong></h4><p>To detect the human face from that live video stream and Identify and get it’s/their’s position and blur the part of a detected face and keep the rest part as it is.</p><p>In this problem, we have used the opencv library/tool to resolve this problem.</p><h4><strong>What is Opencv?</strong></h4><p>OpenCV is a great tool for image processing and performing computer vision tasks. It is an open-source library that can be used to perform tasks like face detection, objection tracking, landmark detection, and much more.</p><p><strong>How to install opencv on your system?</strong></p><p>Firstly, open the Command prompt and install the python opencv library using given below command</p><pre>pip install opencv-python</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/979/1*dV9Nmkw21Id0QMr1RoygGw.png" /></figure><p>and we will also need of Haar cascade classifier file to detect the face of the video. Now we will read about the Haar cascade classifier.</p><p><strong>What is the Haar Cascade Classifier?</strong></p><p>Haar Cascade Classifier is an Object Detection Algorithm used to identify faces in an image or a real-time video. It employs a machine learning approach for visual object detection which is able to process images very quickly and achieve high detection rates.</p><h4>Face Detection with Haar Cascade Classifier -</h4><p>OpenCV uses Haar Feature-based Cascade Classifiers and comes with pre-trained XML files of various Haar Cascades. and Face detection with Haar Cascades algorithm needs a lot of positive images and negative images to train the classifier. The model created from this training is available in the OpenCV GitHub repository <a href="https://github.com/opencv/opencv/tree/master/data/haarcascades">https://github.com/opencv/opencv/tree/master/data/haarcascades</a>.</p><h4>Now, we will start writing the code.</h4><p>Firstly, import the library</p><pre>import cv2</pre><p>Sets the video source to the default webcam, which OpenCV can easily capture.</p><pre>cap = cv2.VideoCapture(0)</pre><p>we capture the video. The read() function reads one frame from the video source, which in this example is the webcam. This returns:</p><ol><li>The actual video frame read (one frame on each loop)</li><li>A return code</li></ol><pre>while True:<br>    ret, img = cap.read()</pre><p>In this code, we will use the detectMultiScale() function to detect the<br>faces of the video.</p><pre>face  = model.detectMultiScale(img)</pre><p>Now, we will find the coordinates in our video. We use these coordinates to blur the face in our video.</p><pre>x1 = face[0][0]<br>y1 = face[0][1]<br>x2 = face[0][2] + x1<br>y2 = face[0][3] + y1 <br>cimg = img[y1:y2 , x1:x2]<br>blur_img = cv2.blur(cimg, (50,50))<br>img[y1:y2 , x1:x2] = blur_img</pre><p>Now, we will show the video using the imshow() function and cv2 waitkey() allows you to wait for a specific time in milliseconds until you press “enter” on the keyword and destroyAllWindows() simply destroys all the windows we created.</p><pre>cv2.imshow(“Blurred Face”,img)<br>if cv2.waitKey(100) == 13:<br>    break<br>cv2.destroyAllWindows()</pre><p><strong>Final code and Haar Cascade Classifier file:-</strong></p><p><a href="https://github.com/TinkalShakya09/face-detect-of-live-video-Streaming-and-blur-the-face">https://github.com/TinkalShakya09/face-detect-of-live-video-Streaming-and-blur-the-face</a></p><h3>Demo Video-</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*nibul63IGYqIYZus2izs7A.gif" /></figure><p>So that’s all I guess you have got an idea of how to detect the face of live video Streaming and blur the face Using Opencv.</p><h3>Thank you for reading this article…..😊😍</h3><p><strong><em>Please Comment down your thoughts, feedback, or suggestions</em></strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=581ca6b52f68" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>