<?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: VineethKumar Marpadge</title>
    <description>The latest articles on DEV Community by VineethKumar Marpadge (@vmarpadge).</description>
    <link>https://dev.to/vmarpadge</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%2F440350%2F1613e082-f6f4-4ef1-b2eb-0e0ba6282de6.png</url>
      <title>DEV Community: VineethKumar Marpadge</title>
      <link>https://dev.to/vmarpadge</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vmarpadge"/>
    <language>en</language>
    <item>
      <title>Unlocking the Power of CodeWhisperer in Your SageMaker Notebook: A Step-by-Step Guide.</title>
      <dc:creator>VineethKumar Marpadge</dc:creator>
      <pubDate>Sat, 02 Sep 2023 14:10:35 +0000</pubDate>
      <link>https://dev.to/vmarpadge/unlocking-the-power-of-codewhisperer-in-your-sagemaker-notebook-a-step-by-step-guide-1b93</link>
      <guid>https://dev.to/vmarpadge/unlocking-the-power-of-codewhisperer-in-your-sagemaker-notebook-a-step-by-step-guide-1b93</guid>
      <description>&lt;p&gt;In the world of data science and machine learning, having a seamless and efficient development environment is crucial. Amazon SageMaker has been a go-to platform for many data professionals, providing a collaborative space to build, train, and deploy machine learning models. But what if you could supercharge your SageMaker Notebook experience even further? That’s where CodeWhisperer comes into play.&lt;/p&gt;

&lt;p&gt;In this article, we’ll walk you through the process of configuring CodeWhisperer in your SageMaker Notebook Instance, step by step. let’s dive right in.&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;Step 1: Customize Your Notebook Instance with a Script&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;To make sure CodeWhisperer is good to go every time you fire up your SageMaker Notebook, just follow these straightforward steps:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;# Create a Lifecycle Configuration Script&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Go to the SageMaker console at &lt;a href="https://console.aws.amazon.com/sagemaker/"&gt;https://console.aws.amazon.com/sagemaker/&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On the left, click “Lifecycle configurations.”&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now, switch to the “Notebook Instance” tab.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Choose Create configuration&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Give it a name (only letters, numbers, and hyphens, no spaces, please).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;To make sure this script runs when you create and start a notebook, choose “Start notebook.”&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now, paste this script in the “Start notebook editor”:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    #!/bin/bash

    set -e

    # OVERVIEW
    # This script installs a single Jupyter Notebook server extension package in SageMaker Notebook Instance

    sudo -u ec2-user -i &amp;lt;&amp;lt;'EOF'

    # PARAMETERS
    PIP_PACKAGE_NAME=amazon-codewhisperer-jupyterlab-ext
    EXTENSION_NAME=amazon_codewhisperer_jupyterlab_ext

    source /home/ec2-user/anaconda3/bin/activate JupyterSystemEnv

    pip install $PIP_PACKAGE_NAME
    jupyter server extension enable $EXTENSION_NAME --py --sys-prefix

    source /home/ec2-user/anaconda3/bin/deactivate

    EOF

    # The restart command is dependent on the current running Amazon Linux and JupyterLab
    CURR_VERSION=$(cat /etc/os-release)
    if [[ $CURR_VERSION == *$"http://aws.amazon.com/amazon-linux-ami/"* ]]; then
        sudo initctl restart jupyter-server --no-wait
    else
        sudo systemctl --no-block restart jupyter-server.service
    fi
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Click “Create configuration.”&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;# Update the Notebook Instance to use a Lifecycle Configuration Script&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open the SageMaker console at &lt;a href="https://console.aws.amazon.com/sagemaker/"&gt;https://console.aws.amazon.com/sagemaker/&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Navigate to “Notebook instances.”&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select the notebook instance you want to update by clicking its name.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If the notebook status isn’t “Stopped,” click “Stop” to halt the notebook instance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click “Edit” to open the Edit notebook instance page.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Under “Additional configuration,” select the lifecycle configuration created in step 1.1.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click “Update Notebook Instance.”&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step 2: Updating the Notebook Instance Execution Role to Allow CodeWhisperer Usage
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open the SageMaker console at &lt;a href="https://console.aws.amazon.com/sagemaker/"&gt;https://console.aws.amazon.com/sagemaker/&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Navigate to “Notebook instances.”&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select your notebook instance.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Scroll down to the “Permissions and encryption” section.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Grab the Notebook Instance Execution Role.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Update the role with the following policy:&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    {
        "Version": "2012-10-17",
        "Statement": [
            {
                "Sid": "CodeWhispererPermissions",
                "Effect": "Allow",
                "Action": [
                    "codewhisperer:GenerateRecommendations"
                ],
                "Resource": "*"
            }
        ]
    }
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Once you’ve updated the policy, Start Jupyter Labs and the CodeWhisperer extension will be enabled.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;With these simple steps, you can enhance your SageMaker Notebook Instance with CodeWhisperer, unlocking a wealth of features and functionalities for your data science and machine learning projects. So, why wait? Give it a try and experience the difference yourself. Happy coding!&lt;/p&gt;

&lt;p&gt;Connect with me on &lt;a href="https://www.linkedin.com/in/vmarpadge/"&gt;Linkedin&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How I Cleared AWS Solution Architect Associate(SAA-C03) in 2 Weeks!</title>
      <dc:creator>VineethKumar Marpadge</dc:creator>
      <pubDate>Mon, 07 Sep 2020 06:41:59 +0000</pubDate>
      <link>https://dev.to/vmarpadge/how-i-cleared-aws-solution-architect-associate-saa-c02-in-2-weeks-4l3k</link>
      <guid>https://dev.to/vmarpadge/how-i-cleared-aws-solution-architect-associate-saa-c02-in-2-weeks-4l3k</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_w8Cs_2_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2o7azkaz0k2j24ik8h2k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_w8Cs_2_--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2o7azkaz0k2j24ik8h2k.png" alt="Alt Text" width="600" height="600"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Hello Everyone !&lt;/p&gt;

&lt;p&gt;I cleared "AWS Certified Solutions Architect - Associate(SAA-C03)" and I thought of sharing my preparations and exam experience in this blog so that it may be useful for others who are planning to take the exam.&lt;/p&gt;

&lt;p&gt;One of the most in-demand qualifications for cloud engineers is the &lt;a href="https://aws.amazon.com/certification/certified-solutions-architect-associate/"&gt;AWS Certified Solutions Architect - Associate certification&lt;/a&gt;. While the focus of this article will be on exactly how to pass it, especially if you are not a cloud engineer, it is important to note why this certification can be so valuable.&lt;/p&gt;

&lt;p&gt;The Solutions Architect - Associate focuses on 4 different domains, each carrying a percentage weighting in the exam:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Design Secure Architectures (30%)&lt;/li&gt;
&lt;li&gt;Design Resilient Architectures (26%)&lt;/li&gt;
&lt;li&gt;Design High-Performing Architectures (24%)&lt;/li&gt;
&lt;li&gt;Design Cost-Optimized Architectures (20%)&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Pre-requisites
&lt;/h2&gt;

&lt;p&gt;As per AWS guidelines, examinee should have one year of hands-on experience in designing architecture, performance architecture, cost-efficient, fault-tolerant, and scalable distributed systems on AWS.&lt;/p&gt;

&lt;h2&gt;
  
  
  Join an Online Course
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.udemy.com/course/aws-certified-solutions-architect-associate-saa-c03/"&gt;Ultimate AWS Certified Solutions Architect Associate&lt;/a&gt; It's created by Stephane Maarek, one of my favorite instructors and another AWS Certified Solutions Architect &amp;amp; Developer.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://learn.cantrill.io/courses/enrolled/1820301"&gt;AWS Certified Solutions Architect - Associate(SAA-C03)&lt;/a&gt; It's Adrian Cantrill Course.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=5gnoVjpfWxU"&gt;AWS Certified Solutions Architect - Associate 2020&lt;/a&gt; This is a free course on youtube created by edureka .This course can used an additional material to the above mentioned course. This provides has Cheat Sheets which can be very helpful for your preparation.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Practice Exams
&lt;/h2&gt;

&lt;p&gt;1.&lt;a href="https://portal.tutorialsdojo.com/product/aws-certified-solutions-architect-associate-practice-exams/"&gt;AWS Certified Solutions Architect Associate SAA-C03 Practice Exams 2023&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;2.&lt;a href="https://www.udemy.com/course/aws-certified-solutions-architect-associate-amazon-practice-exams-saa-c03/"&gt;AWS Certified Solutions Architect Associate Practice Exams&lt;/a&gt; It consists of 6 practice tests .Each question has detailed explanations at the end of each set that will help you gain a deeper understanding of the AWS services. The explanation provides an overview of the topic, reference links to AWS docs and a rationale on why the option is correct or incorrect.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exam Preparation
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Step 1 : Complete All Udemy Modules.Take detailed notes and build an organized study guide.(spend at least 4-5 hours daily in learning and revising concepts)&lt;/li&gt;
&lt;li&gt;Step 2: If still any doubt and you want to learn in a simple language, please refer this &lt;a href="https://youtu.be/DxveVHN4Ymg"&gt;link&lt;/a&gt; to clear your doubt. I find it very helpful as sometimes, we may not be able to understand the Cloud Terminology. I watched this for VPC,Load balancer and other important series.&lt;/li&gt;
&lt;li&gt;Step 3: Create a VPC ( Virtual Private Cloud ) with your own memory.&lt;/li&gt;
&lt;li&gt;Step 4: Pick each service/topic mentioned in the exact guide, read its corresponding technical documentation and try to use that service from AWS Management Console using your free tier account.&lt;/li&gt;
&lt;li&gt;Step 5: In addition to reading about individual services look at reference architectures and read the principles behind these - &lt;a href="https://aws.amazon.com/architecture/"&gt;AWS | Application Architecture Center&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Step 6: Try to Practice as much as mock exam given in the udemy course and other free practice tests. Make sure concepts are clear.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Work on Hands-on AWS Labs
&lt;/h2&gt;

&lt;p&gt;Practice inside AWS console is very important if you aspire to work as a Solution Architect for AWS Cloud. In general, I advise to join a course that also has practice labs and also opens an AWS free tier account.&lt;br&gt;
Since you only remember if you do the stuff, these AWS practical sessions will help you to understand and memorize the services which you are reading like EC2, S3, DynamoDB, IAM, and others. You can sign up for a free AWS account &lt;a href="https://aws.amazon.com/"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Read AWS White Papers
&lt;/h2&gt;

&lt;p&gt;If you want to go one step more, you can also read AWS documentation as it provides the most up-to-date information, which is undoubtedly an essential factor given AWS is still evolving, and there are hundreds of updates to catch up.&lt;br&gt;
Alternatively, you can also see videos of AWS weekly on &lt;a href="https://www.youtube.com/watch?v=XbTmnnfYcRw&amp;amp;list=PLI1_CQcV71RmeydXo-5K7DAxLsUX6SVhL"&gt;ACloudGuru's&lt;/a&gt; youtube channel , which is a great way to keep up-to-date with new AWS changes. Here is the &lt;a href="https://aws.amazon.com/whitepapers"&gt;link&lt;/a&gt; to read AWS whitepapers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Read FAQ's
&lt;/h2&gt;

&lt;p&gt;Read FAQs of S3, IAM, EC2, VPC, SQS, Autoscaling, Elastic Load Balancer, EBS, RDS, Lambda, API Gateway, ECS. Here is the &lt;a href="https://aws.amazon.com/faqs/"&gt;link&lt;/a&gt; to read AWS FAQ's.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exam Tips
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;If you see any questions on DB read performance issue, always go for answers having Read Replica keyword in the option.&lt;/li&gt;
&lt;li&gt;If you see any question on highly available architecture, always go for answers having Multi AZ keyword in the option.&lt;/li&gt;
&lt;li&gt;If you see any question on traversing internet from Private subnet then always go for answers having NAT Gateway in the options.&lt;/li&gt;
&lt;li&gt;If you are confused in selecting the preferred RDS DB name then always go for Aurora ( Amazon own DB ).&lt;/li&gt;
&lt;li&gt;If you see any IOT devices in the keyword then go for Kinesis.&lt;/li&gt;
&lt;li&gt;Do not assume that , we have to always the answers having Cost effective unless this is not asked in questions. Priority is high availability architecture.&lt;/li&gt;
&lt;li&gt;I would suggest do not read for AWS Whitepapers as it will be at very high and expert level.&lt;/li&gt;
&lt;li&gt;Security Group Vs NACL&lt;/li&gt;
&lt;li&gt;S3 Storage Classes.&lt;/li&gt;
&lt;li&gt;Fault tolerance and high availability both are different terms make sure while selecting the answer what solution will be the best.&lt;/li&gt;
&lt;li&gt;Instead of setting up everything from scratch always prefer to use AWS managed services.&lt;/li&gt;
&lt;li&gt;If you find more than one options are correct but you have to select any one of them, then go with the one which is most cost-effective.&lt;/li&gt;
&lt;li&gt;Get hands-on experience through the free tier that AWS avails for its services&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Exam Day
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;As part of check in process &lt;a href="https://www.youtube.com/watch?v=otw3uO3KXpA"&gt;link&lt;/a&gt; for home , you have to take 6 photographs and upload (your face, your id, then your room (4 angles)&lt;/li&gt;
&lt;li&gt;Have your passport or driving license ready. You can check the FAQ here &lt;a href="https://home.pearsonvue.com/aws/onvue#collapse23"&gt;link&lt;/a&gt; to see which all documents are accepted as ID proof.&lt;/li&gt;
&lt;li&gt;Login 30 minutes before the exam and click on 'Begin exam' and start the check in process. If you face issues, process may go up to 1 hr. It took 50 minutes for me. (If everything goes fine, you can finish check-in process in 15 minutes)&lt;/li&gt;
&lt;li&gt;During exam time, you need to be in front of the webcam full time. No break allowed! Also ensure no one enter the room during the exam.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Useful Links from AWS officials website
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://aws.amazon.com/certification/certified-solutions-architect-associate/"&gt;AWS certified solutions architect associate&lt;/a&gt;&lt;br&gt;
&lt;a href="https://d1.awsstatic.com/training-and-certification/docs-sa-assoc/AWS-Certified-Solutions-Architect-Associate_Exam-Guide.pdf"&gt;AWS Exam guide&lt;/a&gt;&lt;br&gt;
&lt;a href="https://aws.amazon.com/certification/faqs/"&gt;AWS Certifications FAQ's&lt;/a&gt;&lt;br&gt;
&lt;a href="https://d1.awsstatic.com/training-and-certification/docs-sa-assoc/AWS-Certified-Solutions-Architect-Associate_Sample-Questions_v4.1_FINAL.pdf"&gt;AWS Sample Paper&lt;/a&gt;&lt;br&gt;
&lt;a href="https://aws.amazon.com/whitepapers/"&gt;AWS Whitepapers&lt;/a&gt;&lt;br&gt;
All the best guys!!!&lt;/p&gt;

</description>
      <category>aws</category>
      <category>amazon</category>
      <category>architecture</category>
      <category>certification</category>
    </item>
  </channel>
</rss>
