<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Subhash Tyler 🚀</title>
    <description>The latest articles on DEV Community by Subhash Tyler 🚀 (@subhashtyler).</description>
    <link>https://dev.to/subhashtyler</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F453041%2F8114f95b-02c7-4230-91e3-0dbba5f4ce07.jpg</url>
      <title>DEV Community: Subhash Tyler 🚀</title>
      <link>https://dev.to/subhashtyler</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/subhashtyler"/>
    <language>en</language>
    <item>
      <title>GUI container on the Docker</title>
      <dc:creator>Subhash Tyler 🚀</dc:creator>
      <pubDate>Tue, 01 Jun 2021 12:29:55 +0000</pubDate>
      <link>https://dev.to/subhashtyler/gui-container-on-the-docker-227</link>
      <guid>https://dev.to/subhashtyler/gui-container-on-the-docker-227</guid>
      <description>&lt;p&gt;GUI container on the Docker&lt;br&gt;
🔷 Launch a container on Docker in GUI mode &lt;br&gt;
🔷 Run any GUI software on the container&lt;br&gt;
In this Article I have explained how to launch firefox and Jupyter Notebook GUI application inside Docker container.&lt;/p&gt;

&lt;p&gt;step 1:  &lt;strong&gt;docker run -it --net=host --env=DISPLAY centos&lt;/strong&gt;&lt;br&gt;
this will pull centos image and run both at a time.&lt;/p&gt;

&lt;p&gt;step 2:  &lt;strong&gt;yum install firefox -y&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;step 3:  &lt;strong&gt;yum install python3 -y&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;step 4:  &lt;strong&gt;pip3 install jupyter&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;step 4:   &lt;strong&gt;jupyter notebook --allow-root&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;This will successfully run Jupyter notebook on Firefox browser.&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Running Machine Learning Model On top of Docker Container.</title>
      <dc:creator>Subhash Tyler 🚀</dc:creator>
      <pubDate>Sun, 30 May 2021 17:56:08 +0000</pubDate>
      <link>https://dev.to/subhashtyler/running-machine-learning-model-on-top-of-docker-container-lki</link>
      <guid>https://dev.to/subhashtyler/running-machine-learning-model-on-top-of-docker-container-lki</guid>
      <description>&lt;p&gt;&lt;strong&gt;First build model in Jupyter or any other dev environment.&lt;br&gt;
sample code:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;import pandas&lt;br&gt;
db = pandas.read_csv('marks.csv')&lt;br&gt;
y = db["marks"]&lt;br&gt;
x = db['hrs']&lt;br&gt;
x = x.values&lt;br&gt;
x = x.reshape(4,1)&lt;br&gt;
from sklearn.linear_model import LinearRegression&lt;br&gt;
mind = LinearRegression()&lt;br&gt;
mind.fit( x,  y)&lt;br&gt;
mind.predict([[ 6 ]] )&lt;br&gt;
mind.coef_&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;import joblib&lt;br&gt;
mind = joblib.load('marks.pk1')&lt;br&gt;
y = int(input("enter no. of hours: "))&lt;br&gt;
output = mind.predict([[y]])&lt;br&gt;
print(output[0])&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;save the model as savemodel.py file.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;open WinSCP, to transfer these files(marks.csv,savemodel.py) from windows to VirtualBox Linux.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Now open your linux terminal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;systemctl start docker&lt;/strong&gt;     # this will start docker service&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;docker run -dit --name ML_model centos&lt;/strong&gt;      # this will pull and run docker with latest centos version and having a interactive terminal&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;docker attach ML_model&lt;/strong&gt;    # this will attach docker container running&lt;/p&gt;

&lt;p&gt;we have to install some packages now:&lt;br&gt;
&lt;strong&gt;yum install python3&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;pip install scikit-learn&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;now go to Base linux os for copying Ml model saved .pk1 file to running docker container.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;docker cp savemodel.py ML_Model_check:/&lt;/strong&gt;  # this will copy model file from base os to container&lt;/p&gt;

&lt;p&gt;now come to container, &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;python3 savemodel.py&lt;/strong&gt;    # this will run the model file and ask for input, give input and get the prediction.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Awesome MongoDB .</title>
      <dc:creator>Subhash Tyler 🚀</dc:creator>
      <pubDate>Mon, 10 May 2021 18:27:29 +0000</pubDate>
      <link>https://dev.to/subhashtyler/awesome-mongodb-2dai</link>
      <guid>https://dev.to/subhashtyler/awesome-mongodb-2dai</guid>
      <description>&lt;p&gt;MongoDB is an open-source document based database and leading NoSQL database. It is written in C++.&lt;br&gt;
MongoDB uses JSON-like documents with optional schemas.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;some frequently used MongoDB commands:-&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;db.createCollection("testcc")&lt;br&gt;
db.testcc.drop()&lt;/p&gt;

&lt;p&gt;show collections&lt;br&gt;
db.student.find()&lt;/p&gt;

&lt;p&gt;use test&lt;br&gt;
db.dropDatabase()&lt;/p&gt;

&lt;p&gt;Date()&lt;br&gt;
db.student.find().pretty()&lt;/p&gt;
&lt;/blockquote&gt;

</description>
    </item>
    <item>
      <title>Industry use case on -Automation Using Ansible </title>
      <dc:creator>Subhash Tyler 🚀</dc:creator>
      <pubDate>Wed, 30 Dec 2020 18:27:16 +0000</pubDate>
      <link>https://dev.to/subhashtyler/industry-use-case-on-automation-using-ansible-2e3m</link>
      <guid>https://dev.to/subhashtyler/industry-use-case-on-automation-using-ansible-2e3m</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Le2AGrkn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rkwh5uq6e6rig13liqry.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Le2AGrkn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/rkwh5uq6e6rig13liqry.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
Being an ARTH learner, I have attended a live practical workshop organized by LinuxWorld on the industrial application of ansible.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The session was delivered by two best experts in the industry&lt;br&gt;
Mr. Sreejith Anujan (The Principal Instructor at Red Hat)&lt;br&gt;
and Mr. Arun Eapen (Director, APAC Service Delivery, GLS RedHat Asia Pacific)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;It was a very informative session, I learned about:&lt;/p&gt;

&lt;p&gt;What is Automation?&lt;br&gt;
&lt;strong&gt;Automation&lt;/strong&gt; means reducing manual work as much as possible for a smooth and fast process. Using a Script in Automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ansible&lt;/strong&gt; - Ansible is a and agentless Automation tool that helps in automating the deployment of various applications.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ansible tower&lt;/strong&gt; - Ansible tower is a bundle of multiple features that provide different services like WebUI, Jobs, Schedule Jobs, Notification feature, Credential Management, Workflow Management, Templates, and other integrations. It also helps in CI and CD where we can manage the entire workflow which includes the git SCM using webhooks, node scaling, credential security, and this whole thing can be done by using playbooks called Ansible Collections.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What are the Ansible Tower Challenges?&lt;/strong&gt; &lt;br&gt;
Ansible tower provides us with an API, with Role-based access control along with many more features and not to mention simple to control GUI interface.&lt;/p&gt;

&lt;p&gt;🔴 we can execute multiple playbooks in a single click.&lt;br&gt;
🔴 we can do scaling using an ansible tower.&lt;br&gt;
🔴 we can integrate other technologies easily.&lt;br&gt;
🔴 Maintaining Workflow (Always run Ansible playbooks one after other)&lt;br&gt;
🔴 Run Playbook based on permission by admin (allow/deny)&lt;br&gt;
🔴 Integration of Ansible with any other technology (If any technology not supported, We can integrate after changing the python Virtual Environment)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How can we use credentials in Ansible Tower?&lt;/strong&gt;&lt;br&gt;
🔴 we use credentials to authenticate.&lt;br&gt;
🔴 we use credentials when we integrate Ansible with cloud tech and others.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;ChatOps&lt;/strong&gt;&lt;br&gt;
ChatOps is a new operational paradigm - work that is already happening in the background today is brought into a common chatroom.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--0OY-aD_n--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/6hrdi6mucv97yhpgyl4b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--0OY-aD_n--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/6hrdi6mucv97yhpgyl4b.png" alt="0_QdL8T5zU2wgI2fMo"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;How can we integrate Ansible Tower with Cloud &amp;amp; Notification based Applications?&lt;/strong&gt;&lt;br&gt;
🔴 we can integrate ansible tower with cloud and notification based app (ChatOps).&lt;br&gt;
🔴 like we can integrate ansible with Slack notifications using slack tokens.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;#RedHat #vimaldaga #righteducation #educationredefine #rightmentor #linuxworld #makingindiafutureready #righeducation #arthbylw #ansiblebylw #ansible #expertsession #sreejith #arun #practicalimplementation #rh294&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Why Billion Dollar Companies betting big on AWS Cloud</title>
      <dc:creator>Subhash Tyler 🚀</dc:creator>
      <pubDate>Tue, 22 Sep 2020 13:33:12 +0000</pubDate>
      <link>https://dev.to/subhashtyler/why-billion-dollar-companies-betting-big-on-aws-cloud-281p</link>
      <guid>https://dev.to/subhashtyler/why-billion-dollar-companies-betting-big-on-aws-cloud-281p</guid>
      <description>&lt;p&gt;&lt;strong&gt;Setting up physical datacenters, servers, infrastructure and managing them is a bit hard and expansive for companies.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Amazon&lt;/strong&gt; launches its public cloud services namely AWS cloud in March 14, 2006, combining the three initial service offerings of Amazon S3 cloud storage, SQS, and EC2, and if we see AWS offering in 2020 it's 175 products. &lt;br&gt;
Over the last couple of years, from small startups to large enterprises have shown a huge growing interest in public clouds such as AWS.&lt;/p&gt;

&lt;p&gt;Managing operational expenses on public clouds is very easy for starting a business or even migrating and existing one to it.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3_A_BIrP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/jtnnzodcxlnvfuz365jv.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3_A_BIrP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/jtnnzodcxlnvfuz365jv.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Let's take a look at SLACK which uses AWS cloud services. Slack is the cloud-based team collaboration tool developed in 2013 under the team of Silicon Valley entrepreneurs. It was initially built for a company to work in a team. Now, it is used all over the leading enterprises with an estimate of over a million daily active users. I caught headlines on the Internet like Slack to spend at least $250 million on Amazon Web Services over five years and there s one more that caught my eye Slack and AWS join forces to drive agility in software development.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;"The future of enterprise software will be driven by the combination of cloud services and workstream collaboration tools," said Stewart Butterfield, CEO, and co-founder of Slack.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;A business-like Slack needed a scalable infrastructure, low implementation costs. So they turned to Amazon Web Services. Slack migration with AWS took less than an hour which in other case take weeks to scale an upgrade. Costs were lower and less staff was needed to maintain the minimal on-site hardware.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7TnlA_QQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/k0j6dk0ayi51zsjv9jll.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7TnlA_QQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/k0j6dk0ayi51zsjv9jll.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Slack&lt;/strong&gt; relies on simple cloud architecture (EC2 instances behind Elastic Load Balancers, S3, etc.), but it benefits greatly from the resource availability that AWS can provide. While adding capacity in traditional data centers took weeks, it is a non-issue with AWS. For a fast-growing company like Slack, the cloud was not only the best choice, it was probably the only one. In addition, the managed nature of most of AWS’ services has allowed Slack to minimize their IT management involvement in order to focus on their much sought-after product instead.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What If Companies Wanted to Opt-Out of AWS?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Even if we don't care about their contractual obligations, they have to face a huge task for re-architecting their components, and of course, they don't do it because they don't want to focus on building infrastructure so they are going to avoid it, also migrating data from AWS is also costly.&lt;/p&gt;

&lt;p&gt;Recently, DROPBOX moved out of Amazon's AWS for its own infrastructure. but still, not many companies are willing to take that chance.&lt;/p&gt;

&lt;p&gt;follow me at &lt;a href="https://twitter.com/SubhashTyler"&gt;https://twitter.com/SubhashTyler&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;sources:&lt;/strong&gt;&lt;br&gt;
&lt;em&gt;&lt;a href="https://aws.amazon.com/solutions/case-studies/slack/"&gt;https://aws.amazon.com/solutions/case-studies/slack/&lt;/a&gt; &lt;br&gt;
&lt;a href="https://www.cnbc.com/2019/04/26/slack-to-spend-at-least-250-million-on-aws-over-five-years.html"&gt;https://www.cnbc.com/2019/04/26/slack-to-spend-at-least-250-million-on-aws-over-five-years.html&lt;/a&gt;&lt;br&gt;
&lt;a href="https://n2ws.com/blog/aws-cloud/aws-case-studies-lyft-pinterest-slack"&gt;https://n2ws.com/blog/aws-cloud/aws-case-studies-lyft-pinterest-slack&lt;/a&gt;&lt;br&gt;
 #aws #awscloud #awscsa #arthbylw #vimaldaga #righteducation #educationredefine #rightmentor &lt;br&gt;
 #worldrecordholder #ARTH #linuxworld #makingindiafutureready #righeudcation&lt;/em&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Distributed Storage Cluster and Hadoop</title>
      <dc:creator>Subhash Tyler 🚀</dc:creator>
      <pubDate>Thu, 17 Sep 2020 17:32:31 +0000</pubDate>
      <link>https://dev.to/subhashtyler/distributed-storage-cluster-and-hadoop-29od</link>
      <guid>https://dev.to/subhashtyler/distributed-storage-cluster-and-hadoop-29od</guid>
      <description>&lt;p&gt;&lt;strong&gt;How big giant &lt;em&gt;MNC's like Google, Facebook, Instagram&lt;/em&gt;, etc stores, manages, and manipulates thousands of Terabytes of data with High Speed and High Efficiency.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The story starts with the buzzword Big data, which refers to a large volume of data that is large, fast, or complex and with different variety, variability, veracity – both structured and unstructured. The importance of big data doesn’t revolve around how much data you have, but what you do with it. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Sources of big data:&lt;/strong&gt; Streaming data(Youtube, Twitch, Netflix), Social media(Twitter, Facebook), Publicly available data(US government and other agencies data), others come from data lakes, cloud data sources, suppliers, and customers.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How to Access, Manage, and Store Big Data:&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Modern computing systems like Distributed Storage Cluster and Hadoop provide the speed, power, and flexibility needed to quickly&lt;br&gt;
manages and manipulate Thousands of Terabytes of data with High Speed and High-Efficiency. Along with reliable access, companies also need methods for integrating the data, ensuring data quality, providing data governance and storage, and preparing the data for analytics. Some data is stored on local premises in a traditional data warehouse and data center – but there are several flexible, low-cost options for storing and handling Big Data via Cloud solutions, Data Lakes, and Hadoop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Big Data analytics&lt;/strong&gt; is the technique with which companies gain value and insights from data. With the coming of AI, Augmented Analytics, and Augmented Data Management the problem can be solvable and be managed easily.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt; &lt;em&gt;follow &lt;a href="https://twitter.com/SubhashTyler"&gt;https://twitter.com/SubhashTyler&lt;/a&gt; for creating Hadoop master-slave architecture or Distributed Storage Cluster on your system in next blog.&lt;/em&gt;&lt;br&gt;
 #ARTH #bigdata #hadoop &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Distributed Storage Cluster and Hadoop</title>
      <dc:creator>Subhash Tyler 🚀</dc:creator>
      <pubDate>Thu, 17 Sep 2020 17:30:27 +0000</pubDate>
      <link>https://dev.to/subhashtyler/distributed-storage-cluster-and-hadoop-3n2j</link>
      <guid>https://dev.to/subhashtyler/distributed-storage-cluster-and-hadoop-3n2j</guid>
      <description>&lt;p&gt;How big giant MNC's like Google, Facebook, Instagram, etc stores, manages, and manipulates thousands of Terabytes of data with High Speed and High Efficiency.&lt;/p&gt;

&lt;p&gt;The story starts with the buzzword Big data, which refers to a large volume of data that is large, fast, or complex and with different variety, variability, veracity – both structured and unstructured. The importance of big data doesn’t revolve around how much data you have, but what you do with it. &lt;/p&gt;

&lt;p&gt;Sources of big data: Streaming data(Youtube, Twitch, Netflix), Social media(Twitter, Facebook), Publicly available data(US government and other agencies data), others come from data lakes, cloud data sources, suppliers, and customers.&lt;/p&gt;

&lt;p&gt;How to Access, Manage, and Store Big Data: &lt;/p&gt;

&lt;p&gt;Modern computing systems like Distributed Storage Cluster and Hadoop provide the speed, power, and flexibility needed to quickly&lt;br&gt;
manages and manipulate Thousands of Terabytes of data with High Speed and High-Efficiency. Along with reliable access, companies also need methods for integrating the data, ensuring data quality, providing data governance and storage, and preparing the data for analytics. Some data is stored on local premises in a traditional data warehouse and data center – but there are several flexible, low-cost options for storing and handling Big Data via Cloud solutions, Data Lakes, and Hadoop.&lt;/p&gt;

&lt;p&gt;Big Data analytics is the technique with which companies gain value and insights from data. With the coming of AI, Augmented Analytics, and Augmented Data Management the problem can be solvable and be managed easily.&lt;/p&gt;

&lt;p&gt;Tip: &lt;br&gt;
follow &lt;a href="https://twitter.com/SubhashTyler"&gt;https://twitter.com/SubhashTyler&lt;/a&gt; for creating Hadoop master-slave architecture or Distributed Storage Cluster on your system in the next blog.&lt;/p&gt;

&lt;h1&gt;
  
  
  ARTH #bigdata #hadoop
&lt;/h1&gt;

</description>
    </item>
  </channel>
</rss>
