<?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: Akash Kumar</title>
    <description>The latest articles on DEV Community by Akash Kumar (@thecodexakash).</description>
    <link>https://dev.to/thecodexakash</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%2F1444244%2Febba339c-8f69-4f1d-8c15-f1166c0c4a05.png</url>
      <title>DEV Community: Akash Kumar</title>
      <link>https://dev.to/thecodexakash</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/thecodexakash"/>
    <language>en</language>
    <item>
      <title>Unlock $100K in AWS Credits with AWS Activate</title>
      <dc:creator>Akash Kumar</dc:creator>
      <pubDate>Wed, 07 Jan 2026 11:29:15 +0000</pubDate>
      <link>https://dev.to/thecodexakash/unlock-100k-in-aws-credits-with-aws-activate-3kf8</link>
      <guid>https://dev.to/thecodexakash/unlock-100k-in-aws-credits-with-aws-activate-3kf8</guid>
      <description>&lt;p&gt;For most tech startups, the biggest challenge isn’t the idea, the team, or even the market.&lt;/p&gt;

&lt;p&gt;Before product market fit, before revenue, and sometimes even before a public launch, founders are forced to pay for servers, cloud resources, databases, deployments, monitoring etc.&lt;/p&gt;

&lt;p&gt;For many early stage startups, this becomes an invisible entry barrier that stops the them before they can begin.&lt;/p&gt;

&lt;p&gt;For me even it could have been the same, but thanks to &lt;strong&gt;Amazon Web Services (AWS) &lt;a href="(https://aws.amazon.com/startups/credits)"&gt;Activate Program&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This article is written for startup founders across the globe, especially those building in the tech, SaaS, AI, and other such spaces. &lt;/p&gt;

&lt;p&gt;I’ll share how AWS startup programs are helping founders break this barrier and how you can claim AWS credits ranging from $1,000 to $100,000 through different startup enabling platforms.&lt;/p&gt;

&lt;h2&gt;
  
  
  AWS Startup Program
&lt;/h2&gt;

&lt;p&gt;AWS has built one of the strongest startup focused ecosystems in the world. Through AWS Activate, founders can access:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Cloud credits&lt;/li&gt;
&lt;li&gt;Technical guidance&lt;/li&gt;
&lt;li&gt;Architecture reviews&lt;/li&gt;
&lt;li&gt;Training and best practices&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Depending on your stage and eligibility, AWS credits can go up to $100,000.&lt;/p&gt;

&lt;p&gt;Let’s break this down into &lt;strong&gt;three practical paths&lt;/strong&gt;, starting from the earliest founder stage.&lt;/p&gt;

&lt;h2&gt;
  
  
  Founders Tier: Get Up to $1,000 in AWS Credits, Open to Everyone
&lt;/h2&gt;

&lt;p&gt;If you’re an early stage founder, solo developer, or just validating an idea, AWS offers a Founders Tier.&lt;/p&gt;

&lt;h4&gt;
  
  
  Who is this for?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Early stage startups&lt;/li&gt;
&lt;li&gt;Early MVP builders&lt;/li&gt;
&lt;li&gt;Developers experimenting with products&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  What you get?
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Up to $1,000 in AWS credits&lt;/li&gt;
&lt;li&gt;Valid for core AWS services&lt;/li&gt;
&lt;li&gt;Enough to build, test, and deploy an MVP&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;For Founders tier no accelerator or certification from startup enabler is required.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftf3nlzgylr7hmwyeq2e4.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftf3nlzgylr7hmwyeq2e4.jpeg" alt="aws activate snapshot" width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Portfolio Tier: Get Up to $100,000 in AWS Credits
&lt;/h2&gt;

&lt;p&gt;It differs from the Founders Tier offered in the Activate program because here startup needs to be affiliated with an AWS Activate Provider, meaning some kind of seed/VC firm, accelerator, incubator, or other startup-enabling institutions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Who is this for?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Early stage startups officially incorporated&lt;/li&gt;
&lt;li&gt;Early MVP builders&lt;/li&gt;
&lt;li&gt;Startups who maintain a working website&lt;/li&gt;
&lt;li&gt;Startups affiliated to some kind of seed/VC firm, accelerator, incubator, or other startup-enabling institutions&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  What you get?
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Up to $100,000 in AWS credits&lt;/li&gt;
&lt;li&gt;Valid for core AWS services and technical support&lt;/li&gt;
&lt;li&gt;Enough to build, test, and deploy production ready application with 2 years initial validity of the credits.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  AWS Credits via NVIDIA Inception Program (Global)
&lt;/h4&gt;

&lt;p&gt;The NVIDIA Inception Program is one of the best global opportunities for startups, including Indian startups. You can read more about the program &lt;a href="https://www.nvidia.com/en-in/startups" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h5&gt;
  
  
  Minimum requirements
&lt;/h5&gt;

&lt;ul&gt;
&lt;li&gt;You need to provide unique contact information for one developer and one business executive&lt;/li&gt;
&lt;li&gt;Email aliases (e.g., &lt;a href="mailto:info@domain.com"&gt;info@domain.com&lt;/a&gt;) and generic domains (e.g., gmail.com) are not accepted. If your NVIDIA account uses one of these email types, you’ll need to create a new one with the business email that you want to use for your program application&lt;/li&gt;
&lt;li&gt;To qualify for membership, your company needs to employ at least one developer&lt;/li&gt;
&lt;li&gt;The company needs to maintain a working website&lt;/li&gt;
&lt;li&gt;The company should be officially incorporated&lt;/li&gt;
&lt;li&gt;The company should be be less than 10 years old&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The following types of organizations &lt;strong&gt;do not qualify for membership&lt;/strong&gt;, consulting and outsourced development firms, companies associated with cryptocurrency, cloud service providers, resellers and distributors, public companies.&lt;/p&gt;

&lt;p&gt;Once you &lt;a href="https://programs.nvidia.com/phoenix/application?program=inception&amp;amp;ncid=no-ncid" rel="noopener noreferrer"&gt;apply to this program&lt;/a&gt; it usually takes 2-5 working days to get a confirmation on selection or rejection.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc0gxnu0nd5g4ei8wwpn8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc0gxnu0nd5g4ei8wwpn8.png" alt="Approved Nvidia Inception" width="800" height="539"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once selected, you can apply for AWS credits by navigating to the Benefits section and choosing the credit tier based on your eligibility. Simply select the appropriate credit range and click &lt;strong&gt;Request Benefit&lt;/strong&gt; to submit your application.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3l5stcrjofmxwbkl3zzr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3l5stcrjofmxwbkl3zzr.png" alt="nvidia inception dashboard" width="800" height="304"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;To claim AWS credits, make sure you are not using a personal or Gmail account. &lt;strong&gt;The email address used for your AWS Builder ID or AWS account must match the same official business email used during your NVIDIA Inception program registration&lt;/strong&gt;. Mismatched or personal emails may lead to rejection or delays in credit approval&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv4q2dn1jdluvey84nf67.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv4q2dn1jdluvey84nf67.png" alt="Request benefit tab" width="800" height="385"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fill in the additional details required in the application form and once approved the credits will be credited to your linked AWS Account.&lt;/p&gt;

&lt;p&gt;Based on my experience, claiming AWS Activate credits is not just about filling out an application it’s about clarity and intent.&lt;/p&gt;

&lt;p&gt;The first and most important thing is to be precise about how you plan to use AWS. Any cloud provider(there are others as well in Nvidia Inception Program) wants startups to genuinely build on their platform, not just claim credits and leave. So before applying, make sure you’ve clearly decided that AWS is the cloud you want to build on.&lt;/p&gt;

&lt;p&gt;From my personal journey, I’ve been using AWS for the last six years, and today our entire workload runs on AWS. This long-term commitment matters, and it should reflect strongly in your application.&lt;/p&gt;

&lt;p&gt;When applying for AWS credits through Nvidia Inception, it’s important to clearly explain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Which AWS services you plan to use?&lt;/li&gt;
&lt;li&gt;How your product depends on these services?&lt;/li&gt;
&lt;li&gt;How you plan to scale your usage over time?&lt;/li&gt;
&lt;li&gt;How AWS fits into your long-term architecture?&lt;/li&gt;
&lt;li&gt;Nvidia libraries, models, services you are more likely to use on AWS.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These questions may appear directly in the application form, or during a review. The more accurately you answer, the stronger is your chance to unlock higher credit tiers.&lt;/p&gt;

&lt;p&gt;If you are applying for &lt;strong&gt;AWS credits for the first time&lt;/strong&gt; and have not received any credits before, I &lt;strong&gt;strongly recommend&lt;/strong&gt; starting with a $10,000 credit tier. Once you have an active workload and usage history, you can later apply for a higher credit tier.&lt;/p&gt;

&lt;p&gt;These are my personal views and learnings, but they’ve worked well for us. Feel free to &lt;a href="https://www.linkedin.com/in/akash-kumar9996/" rel="noopener noreferrer"&gt;reach out&lt;/a&gt; if you need any help with setting up AWS, want to collaborate, or just exchange ideas and learnings.&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>startup</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Pathfinder: Your Smart Career Compass – Built in 1 Day with GitHub Copilot!</title>
      <dc:creator>Akash Kumar</dc:creator>
      <pubDate>Sun, 19 Jan 2025 10:21:07 +0000</pubDate>
      <link>https://dev.to/thecodexakash/pathfinder-fresh-starts-for-everyone-a-career-survey-app-built-in-1-day-with-github-copilot-5bg4</link>
      <guid>https://dev.to/thecodexakash/pathfinder-fresh-starts-for-everyone-a-career-survey-app-built-in-1-day-with-github-copilot-5bg4</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/challenges/github"&gt;GitHub Copilot Challenge &lt;/a&gt;: Fresh Starts&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;Pathfinder is a comprehensive career transition platform designed for anyone and everyone seeking a fresh start. It guides users to explore career paths suited to their personality, skills, and preferences through an engaging psychometric survey. &lt;/p&gt;

&lt;p&gt;The platform also provides tailored career clusters, matching careers, and resources like upskilling programs or educational information.&lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;You can access the website using this link =&amp;gt; : &lt;a href="https://pathfindersurvey.vercel.app/" rel="noopener noreferrer"&gt;Pathfinder APP&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5o9uei782umc9sf8abp1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5o9uei782umc9sf8abp1.png" alt=" " width="800" height="366"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2For2i1gwtzi2riwr1wol4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2For2i1gwtzi2riwr1wol4.png" alt=" " width="800" height="363"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Repo
&lt;/h2&gt;

&lt;p&gt;You can access the complete source code of Pathfinder on GitHub. Feel free to explore, fork, or contribute to the project!&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://assets.dev.to/assets/github-logo-5a155e1f9a670af7944dd5e12375bc76ed542ea80224905ecaf878b9157cdefc.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/thecodexakash" rel="noopener noreferrer"&gt;
        thecodexakash
      &lt;/a&gt; / &lt;a href="https://github.com/thecodexakash/pathfinder" rel="noopener noreferrer"&gt;
        pathfinder
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;div class="markdown-heading"&gt;
&lt;h1 class="heading-element"&gt;Pathfinder: Fresh Start for Everyone&lt;/h1&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Objective&lt;/h2&gt;
&lt;/div&gt;
&lt;p&gt;Pathfinder is a web application designed to help anyone discover career paths tailored to their skills, interests, and life circumstances through an engaging psychometric assessment. Whether you're starting fresh, transitioning, or transforming your career, Pathfinder provides actionable insights, resources, and inspiration to guide your journey.&lt;/p&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Features &amp;amp; Functionality&lt;/h2&gt;
&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1. Psychometric Career Survey&lt;/h3&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Input:&lt;/strong&gt; Users answer a series of psychometric questions related to interests, skills, values, and lifestyle preferences.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Output:&lt;/strong&gt; A personalized report suggesting:
&lt;ul&gt;
&lt;li&gt;Career clusters (e.g., technology, education, design).&lt;/li&gt;
&lt;li&gt;Potential industries.&lt;/li&gt;
&lt;li&gt;Actionable plans such as upskilling resources and mentorship programs - coming soon&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;2. Personalized Career Clusters&lt;/h3&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Recommend 2–3 career clusters tailored to the user’s survey results.&lt;/li&gt;
&lt;li&gt;Provide insights explaining why these careers suit the user.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;3. Accessibility and Usability&lt;/h3&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Mobile-friendly and fully accessible following &lt;strong&gt;WCAG guidelines&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="markdown-heading"&gt;
&lt;h2 class="heading-element"&gt;Development Workflow&lt;/h2&gt;

&lt;/div&gt;
&lt;div class="markdown-heading"&gt;
&lt;h3 class="heading-element"&gt;1. Tech Stack&lt;/h3&gt;

&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Frontend:&lt;/strong&gt; Next.js with React and Tailwind CSS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hosting:&lt;/strong&gt; Vercel or Netlify…&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/thecodexakash/pathfinder" rel="noopener noreferrer"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


&lt;h2&gt;
  
  
  Copilot Experience
&lt;/h2&gt;

&lt;p&gt;GitHub Copilot was instrumental in the development of Pathfinder.&lt;br&gt;
Here’s how I used Copilot:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Survey Logic &amp;amp; State Management:&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Generated React components for the psychometric survey.&lt;/li&gt;
&lt;li&gt;Autocompleted state management logic using hooks like useState and useReducer.&lt;/li&gt;
&lt;li&gt;Assisted in creating and managing a global state store using &lt;strong&gt;Zustand&lt;/strong&gt; for seamless state management across the app.&lt;/li&gt;
&lt;li&gt;Simplified the process of designing the overall application screens and connecting them to the store.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;API Integration&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Used Copilot to scaffold functions in Next.js for calculating psychometric scores and fetching career recommendations, eliminating the need to create a separate backend API.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Visualizations&lt;/strong&gt;:&lt;/li&gt;
&lt;/ul&gt;

&lt;ol&gt;
&lt;li&gt;Suggested code for integrating Chart.js to create career cluster graphs.&lt;/li&gt;
&lt;li&gt;Accessibility Features:&lt;/li&gt;
&lt;li&gt;Debugged accessibility issues with Copilot’s assistance, ensuring WCAG compliance.&lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Debugging and Code Refactoring&lt;/strong&gt;:

&lt;ol&gt;
&lt;li&gt;Bug Fixes: Whether it was a broken API call or a frontend rendering issue, Copilot offered suggestions that resolved issues in no time.&lt;/li&gt;
&lt;li&gt;Code Optimization: Copilot often suggested cleaner, more efficient ways of writing the same code, which helped improve the overall performance of the app.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Time Saved
&lt;/h3&gt;

&lt;p&gt;By using GitHub Copilot, I estimated a &lt;strong&gt;50% reduction&lt;/strong&gt; in development time. It helped me automate repetitive coding tasks, quickly prototype new features, and debug with ease. As a result, I was able to focus on refining the user experience and integrating innovative features like developing the questions for career survey without wasting time on boilerplate code.&lt;/p&gt;

&lt;h2&gt;
  
  
  GitHub Models
&lt;/h2&gt;

&lt;p&gt;No, I did not use GitHub Models for this project.&lt;/p&gt;

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

&lt;p&gt;Building Pathfinder has been an exciting and fulfilling journey. This app isn’t just about recommending careers—it’s about giving people, the confidence and resources to take that first step toward a new beginning.&lt;/p&gt;

&lt;p&gt;Pathfinder is more than a web app—it’s a lifeline for anyone who feels stuck, unsure, or ready for a change.By combining psychometric insights, personalized career clusters, and actionable resources, Pathfinder makes career transitions less overwhelming. The app offers a guiding hand, helping users find their strengths and navigate toward industries and roles that truly align with their skills and life goals.&lt;/p&gt;

</description>
      <category>devchallenge</category>
      <category>githubchallenge</category>
      <category>webdev</category>
      <category>ai</category>
    </item>
    <item>
      <title>Step-by-Step Guide: Migrating Data Between MongoDB Atlas Accounts Easily</title>
      <dc:creator>Akash Kumar</dc:creator>
      <pubDate>Fri, 13 Sep 2024 17:48:45 +0000</pubDate>
      <link>https://dev.to/thecodexakash/step-by-step-guide-migrating-data-between-mongodb-atlas-accounts-easily-1jie</link>
      <guid>https://dev.to/thecodexakash/step-by-step-guide-migrating-data-between-mongodb-atlas-accounts-easily-1jie</guid>
      <description>&lt;h1&gt;
  
  
  Introduction
&lt;/h1&gt;

&lt;p&gt;Migrating a MongoDB database between different hosts can be necessary for several reasons, such as moving your local database to a remote server, creating backup copies, or even pulling production data for local testing and development. &lt;/p&gt;

&lt;p&gt;Thankfully, MongoDB offers an effortless way to handle this through &lt;code&gt;mongodump&lt;/code&gt; and &lt;code&gt;mongorestore&lt;/code&gt;, a powerful tool that simplifies the migration process.&lt;/p&gt;

&lt;p&gt;Whether you're switching between MongoDB Atlas accounts or moving from a local to a cloud database, this guide will show you how to migrate your data seamlessly in just a few steps.&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 1: Installing MongoDB Database Tools
&lt;/h4&gt;

&lt;p&gt;MongoDB Database Tools are command-line utilities that help you manage and move data. &lt;/p&gt;

&lt;p&gt;Install these tools on your platform to get started.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.mongodb.com/try/download/database-tools" rel="noopener noreferrer"&gt;You can download the tool by clicking here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkmnphpdfp3gtwrfs08pc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkmnphpdfp3gtwrfs08pc.png" alt=" " width="800" height="384"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Step 2: Setting up Environment Variable
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Go to the path where the MongoDB Database Tools is installed and the copy the path until the &lt;code&gt;/bin&lt;/code&gt; as shown.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feu9e9q1ufxbudyjj01ej.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feu9e9q1ufxbudyjj01ej.png" alt=" " width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Then open the &lt;code&gt;Environment Variables&lt;/code&gt; and within the &lt;code&gt;User variable&lt;/code&gt; update the path.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1kj92vgf8zcy8bv4vn5p.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1kj92vgf8zcy8bv4vn5p.png" alt=" " width="567" height="627"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select "PATH", click "Edit" , click "New" =&amp;gt; Add path which the mongodb data tools is &lt;code&gt;C:\Program Files\MongoDB\Tools\100\bin&lt;/code&gt; and then click on &lt;code&gt;Ok&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Step 3: Dump Data to a Directory
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mongodump --uri "SOURCE-CONNECTION-STRING-URI"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;'&lt;strong&gt;SOURCE-CONNECTION-STRING-URI&lt;/strong&gt;' is URL you are using to connect your app to MongoDB 
-- either local something like &lt;code&gt;mongodb://127.0.0.1/someDatabase&lt;/code&gt; or can be remote server like &lt;code&gt;mongodb+srv://yourapp:&amp;lt;password&amp;gt;@cluster0.xyz123.mongodb.net/someDatabase&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ostnehavrz34hc57gcp.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ostnehavrz34hc57gcp.png" alt=" " width="800" height="408"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The command will save a dump of your entire database into a folder and in the directory where the command was run.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Step 4: Restore Data from Directory
&lt;/h4&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;mongorestore --uri "DESTINATION-CONNECTION-STRING-URI"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Run the above command in the same folder where the &lt;code&gt;dump&lt;/code&gt; was created and that's it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h1&gt;
  
  
  Conclusion
&lt;/h1&gt;

&lt;p&gt;In conclusion, this short tutorial showcased how easily data can be transferred between MongoDB instances using &lt;code&gt;mongodump&lt;/code&gt; and &lt;code&gt;mongorestore&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;With these easy steps, you can quickly back up and restore your data with no hassle. &lt;/p&gt;

&lt;p&gt;If you found this helpful, please &lt;code&gt;like this post&lt;/code&gt; and &lt;code&gt;follow&lt;/code&gt; for more useful tips!.&lt;/p&gt;

&lt;p&gt;Connect with me on &lt;a href="https://www.linkedin.com/in/akash-kumar9996/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt; and &lt;a href="https://www.instagram.com/thecodexakash/" rel="noopener noreferrer"&gt;Instagram&lt;/a&gt;&lt;/p&gt;

</description>
      <category>mongodb</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>Complete Guide on Next.js Deployment on AWS Elastic Beanstalk: Using-Docker, AWS CodePipeline &amp; CodeBuild</title>
      <dc:creator>Akash Kumar</dc:creator>
      <pubDate>Thu, 12 Sep 2024 10:33:12 +0000</pubDate>
      <link>https://dev.to/thecodexakash/complete-guide-on-nextjs-deployment-on-aws-elastic-beanstalk-using-docker-aws-codepipeline-codebuild-8g9</link>
      <guid>https://dev.to/thecodexakash/complete-guide-on-nextjs-deployment-on-aws-elastic-beanstalk-using-docker-aws-codepipeline-codebuild-8g9</guid>
      <description>&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;Deploying a Next.js web application to production can be streamlined and efficient when leveraging AWS (Amazon Web Services) Elastic Beanstalk, Docker, and CI/CD pipelines with AWS Code Build, Code Deploy, and GitLab. This guide will walk you through setting up a modern deployment pipeline to ensure your app is robust, scalable, and easy to maintain. &lt;/p&gt;

&lt;h3&gt;
  
  
  Prerequisites
&lt;/h3&gt;

&lt;p&gt;Before diving into the deployment process, ensure you have: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;An AWS root account or an IAM account with permission to create Elastic Beanstalk environments within AWS &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Docker installed on your local machine &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;GitLab or GitHub account with a repository for your Next.js app &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;A Next.js project that is ready for deployment &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 1: Set Up AWS Elastic Beanstalk
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Create an Elastic Beanstalk Environment - Log in to the AWS Management Console, navigate to Elastic Beanstalk, and create a new application.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkw3tljq35tr2ar4bsk49.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkw3tljq35tr2ar4bsk49.png" alt=" " width="800" height="361"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Enter your application name and click on &lt;code&gt;Create&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After you have created the application, it is now time to create the New Environment. Click on &lt;code&gt;Create new environment&lt;/code&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwiezk115p6ruxw0meb8s.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwiezk115p6ruxw0meb8s.png" alt=" " width="800" height="362"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Choose &lt;code&gt;Web server environment&lt;/code&gt;. The environment name will have the suffix &lt;code&gt;env&lt;/code&gt; along with your application name, and you can edit it if desired.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmzlys39l6vax51a4dft2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fmzlys39l6vax51a4dft2.png" alt=" " width="800" height="346"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Enter the valid environment name along with the domain. Enter the domain name .&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3v1fh6jher4rc2ibeauz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F3v1fh6jher4rc2ibeauz.png" alt=" " width="800" height="363"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Choose the appropriate platform. In this case, we will choose &lt;code&gt;Managed Platform&lt;/code&gt; and &lt;code&gt;Docker&lt;/code&gt; as the platform.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9h9wymgf457ayq5yg9qh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F9h9wymgf457ayq5yg9qh.png" alt=" " width="800" height="362"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;In application code, choose &lt;code&gt;Sample Application&lt;/code&gt; since we will be deploying our own code through AWS Code Pipeline.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In presets you can leave it to default, however, for production applications, it is advisable to use the High availability instance. Once you have selected the preset click on &lt;code&gt;Next&lt;/code&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create or use your existing service role. It is important to have Elastic Beanstalk service role along with EC2 service role setup before proceeding with the EC2 instance creation. &lt;br&gt;
However, if you wish to SSH into the EC2 instance from your terminal, add an EC2 key pair, and create an EC2 instance profile to perform the necessary operations. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fax4niju8y9wf90r59ru9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fax4niju8y9wf90r59ru9.png" alt=" " width="800" height="361"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Choose your VPC in which you want to deploy your EC2 instance. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fos1djk2qo40co9bohdty.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fos1djk2qo40co9bohdty.png" alt=" " width="800" height="349"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After selecting the VPC, choose the subnet in each Availability Zone. To run your load balancer and instances in the same public subnets, assign public IP addresses to the instances as shown in the image.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhf66lpnru50h6he8g1zd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fhf66lpnru50h6he8g1zd.png" alt=" " width="800" height="346"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Since, we do not need to configure a database, we can continue to the next step by clicking on &lt;code&gt;Next&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For root volume, we will choose &lt;code&gt;General Purpose SSD&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now, from the security group, you can either select from an already existing security group or leave it as it is, and Elastic Beanstalk will create one for you while setting up the EC2 instance. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;If deploying for production purposes, it is always advisable to configure autoscaling and select the type of instance that the Elastic Beanstalk will create to serve the traffic. We will go with the &lt;code&gt;t3 family&lt;/code&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb26kopcyu18fom6c31ua.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fb26kopcyu18fom6c31ua.png" alt=" " width="800" height="357"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Click on &lt;code&gt;Next&lt;/code&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;In health reporting, we will go with the &lt;code&gt;Basic reporting&lt;/code&gt;, but feel free to choose from the available options based on the type of report you need.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;We will also uncheck the Managed platform updates as it is not required for the demo website.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Keep rest of the settings as it is and click on &lt;code&gt;Next&lt;/code&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Finally, review your changes and click on &lt;code&gt;Submit&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Elastic Beanstalk will launch your environment, and it will take some time.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftfle6nk2y6pgr1aighon.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftfle6nk2y6pgr1aighon.png" alt=" " width="800" height="363"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;After a successful launch, you will see congratulations screen. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F46mxvh0vpf5t5i8iuibc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F46mxvh0vpf5t5i8iuibc.png" alt=" " width="800" height="379"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;h3&gt;
  
  
  Step 2: Create your Next.js app (or use an existing one)
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;To create a Next.js app, open your terminal, cd into the directory you would like to create the app in, and run the following command:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
npx create-next-app@latest nextjs-blog --use-npm --example "https://github.com/vercel/next-learn/tree/main/basics/learn-starter" 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;em&gt;If you already have your existing code ready you may skip to the next part&lt;/em&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;You now have a new directory called nextjs-blog. Let us &lt;code&gt;cd&lt;/code&gt; into it:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
cd nextjs-blog 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then, run the following command:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
npm run dev 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This starts your Next.js app’s "development server" (more on this later) on port 3000. &lt;/p&gt;

&lt;p&gt;Let's check to see if it is working. Open &lt;code&gt;http://localhost:3000&lt;/code&gt; in your browser. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Now it is time to create a Dockerfile within the application. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a file named &lt;code&gt;Dockerfile&lt;/code&gt; in the root of your application and add the following code:&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;
FROM node:18-alpine 

RUN mkdir -p /app 

WORKDIR /app 

COPY . . 

RUN npm install 

RUN npm run build 

EXPOSE 3000 

CMD ["npm", "start"] 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;After making the changes, it is important to check if the build is successful. Start the docker engine and run the following command:
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
docker build -t testapp . 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftj17wdnio3ubyc2lo5g1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ftj17wdnio3ubyc2lo5g1.png" alt=" " width="800" height="408"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Once the build is successful, then run the application with the command below:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
docker run -p 3000:3000 testapp 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;Create a file named &lt;code&gt;buildspec.yml&lt;/code&gt; in the root of your application and add the following code. This file will be used at a later stage when setting up the code pipeline within AWS.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
version: 0.2 

artifacts: 

  type: zip 

  files: 

    - '**/*' 

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;After adding these files to your new or existing code, push these changes to the remote repository on Gitlab or GitHub. &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 3: Setup Code Pipeline
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Log in to the AWS Management Console, navigate to Code Pipeline, and click on &lt;code&gt;create pipeline&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Enter a valid Pipeline name and choose the execution mode for the pipeline. In our case, we will select &lt;code&gt;Queued (Pipeline type V2 required)&lt;/code&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a new service role if it does not already exist or select from  existing service role and click &lt;code&gt;Next&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkjt8xuhu4r89s3nmeqf1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkjt8xuhu4r89s3nmeqf1.png" alt=" " width="800" height="362"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;From the source provider select where you have your artifacts stored. We will select "Gitlab".  &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;From the connection list, select an existing connection or create a new connection. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffzn16ikun5q06uhnvqvt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Ffzn16ikun5q06uhnvqvt.png" alt=" " width="800" height="373"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Once the connection is successful, then select the &lt;code&gt;Repository name&lt;/code&gt; and the branch from which the code will be used.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;For trigger type, we will choose &lt;code&gt;No filter&lt;/code&gt; and click on &lt;code&gt;Next&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F21uzc1n3z81dbe1v7p4w.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F21uzc1n3z81dbe1v7p4w.png" alt=" " width="800" height="362"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Next, we select the Build Provider. In our case, we will select &lt;code&gt;AWS Code Build&lt;/code&gt;. Select region or leave it to default AWS Region.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foin98rl8fnjvzldicmc4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foin98rl8fnjvzldicmc4.png" alt=" " width="800" height="362"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Then create a new project in &lt;code&gt;Code Build&lt;/code&gt; by clicking on &lt;code&gt;Create project&lt;/code&gt;. This will open a new window. Enter the project name and leave everything inside the &lt;code&gt;Environment&lt;/code&gt; as default.
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg1k4j80ysj6ehsefvc95.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fg1k4j80ysj6ehsefvc95.png" alt=" " width="800" height="378"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;When specifying the &lt;code&gt;build specification&lt;/code&gt;, make sure you select &lt;code&gt;Use buildspec file&lt;/code&gt;. This is the same file that we created earlier. Leave other settings as default and move to the next step. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4fvzfj2s327uyz57la1z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F4fvzfj2s327uyz57la1z.png" alt=" " width="800" height="377"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;When you click on &lt;code&gt;Continue to Code pipeline&lt;/code&gt; the window will automatically close and take you back to the code pipeline screen. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Specify the build type as &lt;code&gt;single build&lt;/code&gt; and click on &lt;code&gt;Next&lt;/code&gt;. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnhkrfhp5x3owinc1yg0j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fnhkrfhp5x3owinc1yg0j.png" alt=" " width="800" height="371"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In add deploy stage, select the deploy provider. In this case, it will be &lt;code&gt;AWS Elastic Beanstalk&lt;/code&gt; where we want the application to be finally deployed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd23aif1acypkh4udu92j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fd23aif1acypkh4udu92j.png" alt=" " width="800" height="362"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the application name, environment name, configure rollback settings and click on &lt;code&gt;Next&lt;/code&gt;. Review you Code pipeline settings and click on &lt;code&gt;Create Pipeline&lt;/code&gt;. &lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Step 4: Website is Live!
&lt;/h3&gt;

&lt;p&gt;Deploying Next.js web application to production is really easy and can de done more efficiently with AWS Elastic Beanstalk, Docker, and CI/CD pipelines using AWS Code Build, Code Deploy, and GitLab. &lt;/p&gt;

&lt;p&gt;You can access it using the URL provided by Elastic Beanstalk. Make changes locally and it will automatically get deployed when you push to your branch.  &lt;/p&gt;

&lt;p&gt;Happy Coding!! &lt;/p&gt;

&lt;p&gt;If you found this helpful, please &lt;code&gt;like this post&lt;/code&gt; and &lt;code&gt;follow&lt;/code&gt; for more useful tips!.&lt;/p&gt;

&lt;p&gt;Connect with me on &lt;a href="https://www.linkedin.com/in/akash-kumar9996/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt; and &lt;a href="https://www.instagram.com/thecodexakash/" rel="noopener noreferrer"&gt;Instagram&lt;/a&gt;&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>docker</category>
      <category>aws</category>
      <category>nextjs</category>
    </item>
  </channel>
</rss>
