<?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 MAYUR on Medium]]></title>
        <description><![CDATA[Stories by MAYUR on Medium]]></description>
        <link>https://medium.com/@mayurpathak888?source=rss-ee6257206288------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*RajEdJpdK0Jz6VUpnoETHg.jpeg</url>
            <title>Stories by MAYUR on Medium</title>
            <link>https://medium.com/@mayurpathak888?source=rss-ee6257206288------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 11:04:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mayurpathak888/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[Amazon selling partner API (SP-API manually) integrates step by step (Part 1)]]></title>
            <link>https://awstip.com/amazon-selling-partner-api-sp-api-manually-integrates-step-by-step-part-1-14ced5dd66fa?source=rss-ee6257206288------2</link>
            <guid isPermaLink="false">https://medium.com/p/14ced5dd66fa</guid>
            <category><![CDATA[postman]]></category>
            <category><![CDATA[learning-and-development]]></category>
            <category><![CDATA[amazon-sp-api]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[api]]></category>
            <dc:creator><![CDATA[MAYUR]]></dc:creator>
            <pubDate>Tue, 28 Jun 2022 04:36:01 GMT</pubDate>
            <atom:updated>2022-07-06T10:08:35.031Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*DWexRcC_c9qh_WG_EY2duw.png" /><figcaption>SP-API</figcaption></figure><p>Hi, my name is Mayur, I am a software engineer, and integrations with MWS, and SPAPI, and I would like to share with you a quick and simple guide on how to start using the new Amazon selling partner API (SPA) and call on Postman.</p><h3>Integrate with Amazon SP-API (Selling Partner API) 5 steps.</h3><ul><li>Step 1 — <strong>set up AWS IAM.</strong></li><li>Step 2 — <strong>register an Application for SP-API.</strong></li><li>Step 3 — <strong>set up self- authorization procedure.</strong></li><li>Step 4 — <strong>connect to SP-API manually.</strong></li><li>Step 5 — <strong>Publish an SP-API application.</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FH6HybfpQiklQfiF_CCqfg.png" /><figcaption>You can establish an IAM user to get AWS keys And Authenticate calls to SP-API</figcaption></figure><h3>Step 1 — Set up AWS IAM</h3><p>Start AWS IAM setup by creating a free AWS account. if you don’t already have.</p><p>I recommend you establish a new IAM user exclusively for this purpose if you have another one already.</p><p>Open the IAM console at <a href="http://open iam">console.aws.amazon.com/iam</a></p><p>click ‘Users’, then the ‘Add users’ button and fill in the user name for IAM</p><p>and then select ‘Programmatic access’, and then click the next permission button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NKWpKqTlR9-bZJxsfYiamg.png" /><figcaption>Give Programmatic access then click the next permission button</figcaption></figure><p>This will take you to the ‘set Permission’ page Review the defaults, and then click the ‘Next: Tags’ button.</p><p>You’ll be taken to the ‘Add tags (optional)’ page, where you can add an optional tag as needed. Click the ‘Next: Review’ button when you’re ready to proceed.</p><p>click the next page AWS access key id for your new IAM user will be displayed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mx4brGzZVn7HTwrQ2vx_lQ.png" /><figcaption>Then click ‘Download.csv’ and save the file to a safe location.</figcaption></figure><p>be sure you complete this step as you won’t be given this secret key again</p><p>after saving your IAM credentials click ‘colse’</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5sjAzPVaFolHLTcr3UDHCA.png" /><figcaption>Get user ARN</figcaption></figure><p>Make a note of the ‘<strong>USER ARN</strong>’ before continuing</p><p>This is your IAM’s Unique Amazon Resource Name, which identifies it uniquely and unambiguously across all of AWS</p><p>after establishing your IAM user, you’ll create an IAM policy to define permissions for calls to <strong>SP-API</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dS1PGpaFOyAabk5Z4bgpgA.png" /></figure><p><strong>To create your Policy :</strong></p><p>Open the IAM console at <a href="http://open iam">console.aws.amazon.com/iam</a></p><p>Click Policy the ‘Create Policy’ button,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dwf2XinxPPq5haVdebZkew.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PpHVXoB8Nix3fS9951Tjvw.png" /></figure><p>Click the create policy button</p><p>And then the JSON tab replaces the code in the text box with the following below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rpQT-IvWFbROvLRsE99Lfg.png" /></figure><p>After entering the new code, click the NEXT: button and click the NEXT: Review button when you’re ready to proceed.</p><p>On the ‘review policy’ page, enter a name and any optional description for the policy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/822/1*0AW5mEjVqE1N1uVE9Mul1g.png" /><figcaption>Fill in the details then click the ‘create policy’ button</figcaption></figure><p>your new IAM policy will appear in the list with your policy and permission in Place you can create the IAM role that will use them to authenticate to calls to <strong>SP-API</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gyAeXSV19Ci-1r7k8kYd7w.png" /></figure><p><strong>To create your IAM role:</strong></p><p>Open the IAM console at <a href="http://open iam">console.aws.amazon.com/iam</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CaExTbaAbvnBjO8vabh2tw.png" /></figure><p>Click ‘Roles’ and then the ‘Create role’ button. on the create role page click ‘<strong>Another AWS Account</strong>’</p><p>In the [<strong>Account id]</strong> field enter the ID for the AWS account you used to create your IAM user earlier in <strong>STEP 1 </strong>then click the next permission button.</p><p>you’ll be taken to the <strong>Attach permission policies</strong> Page. Under the policy, name selects the IAM policy you created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dYEVNpsdRNDwKja7trRL6A.png" /></figure><p>Then Click the Next Tags Button and then click the NEXT: Review button when you’re ready to proceed</p><p>On the Create Role Page enter a role name and any optional role description then click then the ‘Create role’ button.</p><p>Under role, Name click the name of your new role</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F5eB_COBHBBdEWwJ3k1qug.png" /><figcaption>Name click the name of your new role</figcaption></figure><p>Role ARN:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kcFxtpWR-bca6oITKYphKA.png" /><figcaption>Role ARN</figcaption></figure><p>you have located and saved your role ARN on the summary page by clicking the copy icon, You’ll need this letter to register your application. so be sure to save it before proceeding</p><p><strong>AWS Security Token Service:- STS Policy</strong></p><p>This will allow you to request temporary AWS access keys to authenticate your request with SP-API</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e6d2TbBBWXfv635mWpmokw.png" /><figcaption>AWS STS policy</figcaption></figure><p>Your IAM user will assume the IAM role you created and gain the permissions necessary to call SP-API</p><p>Open the IAM console at <a href="http://open iam"><strong>console.aws.amazon.com/iam</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MlWLKu_V-xl0c1TaZJBK8A.png" /><figcaption>click user</figcaption></figure><p>Click the name of the IAM user you created at the beginning</p><p>next Permission tab click the Add inline policy</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9gOtbI7OyIVQ45YRqpdo6w.png" /><figcaption>Add inline policy</figcaption></figure><p>on the created policy page choose a service then select <strong>STS </strong>after selecting STS click the arrow next to Actions</p><p>then from the drop-down click the arrow next to write from new drop-down select <strong>AssumenRole</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DqBAeMmLvxJ-7ryNxlLdrg.png" /><figcaption><strong>AssumenRole</strong></figcaption></figure><p>Click the arrow next to Resources and the click Add ARN in the Add ARN dialog box enter the Role ARN that was provided when you created your IAM role in the Specify ARN for role box then click add and Review policy button next on the Review policy page</p><p>Enter a name for your policy I recommend ‘sellingPartnerSTS’ click the create policy button after you’ve created and added an AWS STS policy to your IAM user</p><p>You’ll have completed <strong>Step 1</strong> of the SP-API integration process.</p><p>see you in the next part.</p><p>If this guide has been helpful to you and your team please share it with others!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=14ced5dd66fa" width="1" height="1" alt=""><hr><p><a href="https://awstip.com/amazon-selling-partner-api-sp-api-manually-integrates-step-by-step-part-1-14ced5dd66fa">Amazon selling partner API (SP-API manually) integrates step by step (Part 1)</a> was originally published in <a href="https://awstip.com/">AWS Tip</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Whenever gem: cronjob update in multiple servers using NFS server — Ruby On Rails]]></title>
            <link>https://medium.com/@mayurpathak888/whenever-gem-cronjob-update-in-multiple-servers-using-nfs-server-ruby-on-rails-836d2d832000?source=rss-ee6257206288------2</link>
            <guid isPermaLink="false">https://medium.com/p/836d2d832000</guid>
            <category><![CDATA[cronjob]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[nfs-server]]></category>
            <category><![CDATA[shell-script]]></category>
            <dc:creator><![CDATA[MAYUR]]></dc:creator>
            <pubDate>Tue, 07 Jun 2022 05:25:53 GMT</pubDate>
            <atom:updated>2022-06-07T05:25:53.257Z</atom:updated>
            <content:encoded><![CDATA[<h3>Whenever gem: cronjob update in multiple servers using NFS server — Ruby On Rails</h3><p><strong>Hi Everyone!. This post, Introduction About the deploy cron job on multiple servers using the NFS server</strong></p><h3><strong>I have created a Linux shell script to automatic separate cron jobs in multiple servers</strong></h3><p>I want to share a little guide that will show you how to deploy cronjob on multiple servers to deploy time in a Ruby on Rails application.</p><p>I hope You have already created <strong>schedule.rb </strong>file in the ruby project</p><p><strong>Below is the flow to deploy on multiple servers</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EF9DVhXfsomeoKa9ACGNhw.png" /><figcaption>Flow Diagram how to work</figcaption></figure><p>Automated deploy cron job using Linux shell script</p><p>we need to create a script file on the NFS server</p><pre>nano /nfs_crontab/data/batch/execution_server.sh</pre><p>Here I have created a script file refer below file</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/522b7aecc6a5b13fa20f7a15f86d66c9/href">https://medium.com/media/522b7aecc6a5b13fa20f7a15f86d66c9/href</a></iframe><p>To run the above script, we need to add the below code in <strong>deploy.rb</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b6370aa3905de2da5b0d22a76739ab67/href">https://medium.com/media/b6370aa3905de2da5b0d22a76739ab67/href</a></iframe><p>If this guide has been helpful to you and your team please share it with others!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=836d2d832000" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>