<?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: Prateek Jain</title>
    <description>The latest articles on DEV Community by Prateek Jain (@prateekjaindev).</description>
    <link>https://dev.to/prateekjaindev</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F390686%2F39860a39-ea0d-44a4-9668-6f24922ee9f3.png</url>
      <title>DEV Community: Prateek Jain</title>
      <link>https://dev.to/prateekjaindev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prateekjaindev"/>
    <language>en</language>
    <item>
      <title>Creating Rust Functions in Node.js with SSVM and Docker</title>
      <dc:creator>Prateek Jain</dc:creator>
      <pubDate>Fri, 28 Aug 2020 17:54:22 +0000</pubDate>
      <link>https://dev.to/prateekjaindev/creating-rust-functions-in-node-js-with-ssvm-and-docker-5am2</link>
      <guid>https://dev.to/prateekjaindev/creating-rust-functions-in-node-js-with-ssvm-and-docker-5am2</guid>
      <description>&lt;p&gt;I recently came across SSVM with which we can easily create an app with Rust functions. I followed these steps for creating the application:&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Creating the development environment with Docker
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Get the code
&lt;/h3&gt;

&lt;p&gt;$ git clone &lt;a href="https://github.com/second-state/ssvm-nodejs-starter"&gt;https://github.com/second-state/ssvm-nodejs-starter&lt;/a&gt;&lt;br&gt;
$ cd ssvm-nodejs-starter&lt;/p&gt;

&lt;h3&gt;
  
  
  Run Docker container
&lt;/h3&gt;

&lt;p&gt;$ docker pull secondstate/ssvm-nodejs-starter:v1&lt;br&gt;
$ docker run -p 8080:8080 --rm -it -v $(pwd):/app secondstate/ssvm-nodejs-starter:v1&lt;br&gt;
(docker) $ cd /app&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Create an application
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Copy the example application
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/second-state/wasm-learning/tree/master/nodejs/quadratic"&gt;https://github.com/second-state/wasm-learning/tree/master/nodejs/quadratic&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Replace files in the sample application and build
&lt;/h3&gt;

&lt;p&gt;$ ssvmup build&lt;br&gt;
$ npm install express # The application requires the Express framework in Node.js&lt;br&gt;
$ node node/server.js&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Run application in the browser and check
&lt;/h2&gt;

&lt;p&gt;From the web browser, go to &lt;a href="http://localhost:8080/"&gt;http://localhost:8080/&lt;/a&gt; to access this application.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--jnNQidL---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/t5p9q174a8of4whpseob.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--jnNQidL---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/t5p9q174a8of4whpseob.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>[Cloud DevOps Engineer Capstone Project]</title>
      <dc:creator>Prateek Jain</dc:creator>
      <pubDate>Wed, 20 May 2020 15:18:19 +0000</pubDate>
      <link>https://dev.to/prateekjaindev/cloud-devops-engineer-capstone-project-cj0</link>
      <guid>https://dev.to/prateekjaindev/cloud-devops-engineer-capstone-project-cj0</guid>
      <description>&lt;h1&gt;
  
  
  Cloud-DevOps-Engineer-Capstone-Project
&lt;/h1&gt;

&lt;p&gt;In this project, I have created a CICD pipeline as my Capstone project of the Udacity Cloud DevOps Nano Degree.&lt;/p&gt;

&lt;h2&gt;
  
  
  Project Requirements
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;AWS Account&lt;/li&gt;
&lt;li&gt;Jenkins Server&lt;/li&gt;
&lt;li&gt;Docker Hub account&lt;/li&gt;
&lt;li&gt;Docker&lt;/li&gt;
&lt;li&gt;Kubernetes&lt;/li&gt;
&lt;li&gt;Ansible&lt;/li&gt;
&lt;li&gt;eksctl and kubectl&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Project Tasks:
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Working on AWS Cloud Platform&lt;/li&gt;
&lt;li&gt;CICD pipeline on Jenkins&lt;/li&gt;
&lt;li&gt;Building Docker image&lt;/li&gt;
&lt;li&gt;Push Docker image to the Docker Hub&lt;/li&gt;
&lt;li&gt;Deploy EKS cluster with Ansible playbook&lt;/li&gt;
&lt;li&gt;Deploying Docker image to the cluster&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Project Architecture
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--7WXj813O--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/prateekjaindev/Cloud-DevOps-Engineer-Capstone-Project/master/ScreenShots/CICI%2520Pipeline.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--7WXj813O--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/prateekjaindev/Cloud-DevOps-Engineer-Capstone-Project/master/ScreenShots/CICI%2520Pipeline.png" alt="CI/CD Pipeline"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Project Files
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://github.com/prateekjaindev/Cloud-DevOps-Engineer-Capstone-Project"&gt;https://github.com/prateekjaindev/Cloud-DevOps-Engineer-Capstone-Project&lt;/a&gt;&lt;/p&gt;

</description>
      <category>octograd2020</category>
    </item>
  </channel>
</rss>
