<?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 Davain White on Medium]]></title>
        <description><![CDATA[Stories by Davain White on Medium]]></description>
        <link>https://medium.com/@davain?source=rss-c83405b04f1a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*124Ua-iPnZAFROkS4SVvWg.png</url>
            <title>Stories by Davain White on Medium</title>
            <link>https://medium.com/@davain?source=rss-c83405b04f1a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 18:33:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@davain/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[Install Hyper-V on Intel NUC 11 with eGPU Paravirtualization]]></title>
            <link>https://medium.com/@davain/install-hyper-v-on-intel-nuc-11-with-egpu-paravirtualization-0d29d2d6a5a6?source=rss-c83405b04f1a------2</link>
            <guid isPermaLink="false">https://medium.com/p/0d29d2d6a5a6</guid>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[mini-pc]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[homelab]]></category>
            <category><![CDATA[virtualization]]></category>
            <dc:creator><![CDATA[Davain White]]></dc:creator>
            <pubDate>Fri, 08 Dec 2023 01:13:46 GMT</pubDate>
            <atom:updated>2023-12-08T01:13:46.728Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*rGJNTgynItwDE39z.jpeg" /></figure><p>VMware ESXi is a robust enterprise-grade type-1 hypervisor known for its high availability, scalability, and resilience. However, when setting up a home lab with GPU-accelerated workloads like Jellyfin, Kasm Workspaces, Automatic 1111, etc., where multiple services require a single GPU, it might not be the sole hypervisor solution. In such cases, I’ve discovered that using Hyper-V can be the simplest solution.</p><h4>Hardware:</h4><ul><li>Intel NUC 11 Tiger Canyon 11th gen Core i5–1135G7 BNUC11TNHi50001</li><li>NVIDIA RTX A2000 | A2000 12GB Graphics Card</li><li>ROTATOR Labs Hummingbird 2 eGPU dock</li></ul><h4><strong>Software:</strong></h4><ul><li><a href="https://www.microsoft.com/en-us/software-download/windows10">Windows 10 Media Creation Tool</a></li><li><a href="https://www.microsoft.com/software-download/windows11">Windows 11 ISO</a><em> ( For VMs )</em></li><li><a href="https://www.intel.com/content/www/us/en/download/645997/intel-ethernet-lan-network-connection-driver-for-windows-10-for-5th-and-6th-generation-excluding-nuc6i7kyk-intel-nuc-products.html">Intel NUC 11 Network Drivers</a></li><li><a href="https://www.nvidia.com/Download/driverResults.aspx/214098/en-us/">NVIDIA RTX A2000 12GB Driver</a></li><li><a href="https://github.com/jamesstringerparsec/Easy-GPU-PV">Easy-GPU-PV Repository</a></li></ul><h4>Step 1: Create the Windows 10 Pro Installation Media</h4><ol><li>Navigate to the <a href="https://www.microsoft.com/en-us/software-download/windows10">Windows 10 Media Creation Tool</a> Link above and click the ‘Download Now’ button</li><li>Launch the MediaCreationTool22H2.exe executable as an administrator and accept all licensee agreements</li><li>Select ‘Create installation media (USB flash drive, DVD, or ISO file) for another PC’ and connect a usb flash device with at least 8gbs of space.</li><li>Wait until you see ‘Your USB flash drive is ready’ then press Finish</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aPfyBjhQCjUL4Pjuy2fdXg.png" /></figure><h4>Step 2: Install Windows 10 Pro</h4><ol><li>Insert the USB flash drive and power on the Intel NUC device</li><li>Press the F10 key during boot and select the external usb as the primary boot option</li><li>Accept License agreements and continue to following the on-screen instructions to create user account ( Select Windows 10 Pro as the Windows version )</li><li>After the installation has been completed navigate to the power and sleep settings for the Intel NUC and set both to ‘Never’ ( if you intend to use this device as a server )</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KcPsiZljvJ5k2tm6oKe7mw.png" /></figure><h4>Step 3: Install Intel NUC 11 Network drivers</h4><ol><li>Navigate to the <a href="https://www.intel.com/content/www/us/en/download/645997/intel-ethernet-lan-network-connection-driver-for-windows-10-for-5th-and-6th-generation-excluding-nuc6i7kyk-intel-nuc-products.html">Intel NUC 11 Network Drivers</a> Link above and click the ‘Download lan-win10–25.6.exe’ button</li><li>Transfer the downloaded executable to an external usb drive and connect it to the newly setup Intel NUC device</li><li>Launch the lan-win10–25.6.exe executable as an administrator and accept all licensee agreements and continue to click ‘Next’</li><li>Once complete press ‘Finish’ and the Intel NUC device should now have network connectivity trough the 2.5gb ethernet port</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FaAYBngbDnacFJGbnEexzQ.png" /></figure><h4>Step 4: Install Windows 10 Updates and Drivers</h4><ol><li>Once Internet connectivity has been established navigate to the ‘Windows Update’ settings page by typing ‘Check for Updates’ in the bottom left search input and pressing enter</li><li>Wait for all windows updates to be installed this may take some time and a few restarts, continue to install updates until you see ‘You’re up to date’</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2MXDgOPrSMEZVaresfwkYQ.png" /></figure><h4>Step 5: NVIDIA eGPU Driver Installation</h4><ol><li>Once all updates have been installed navigate to the ‘Device Manager’ window by typing ‘Device Manager’ in the bottom left search input and pressing enter</li><li>Expand the ‘Display adaptors’ section and you should see the appropriate Nvidia driver listed ( The Thunderbolt eGPU device must have been connected prior to the last restart )</li><li>Even if you see your device listed in the device manager with no errors then still continue to the official <a href="https://www.nvidia.com/Download/index.aspx?lang=en-us">Nvidia drivers page</a> to download the appropriate driver for your GPU ( This is a must )</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D7kHOkIpUTHJJAHT7kqv7Q.png" /><figcaption>NVIDIA RTX A2000 12GB Driver Has Been Installed</figcaption></figure><h4>Step 6: Enable the Hyper-V role through Settings</h4><ol><li>After confirming that the correct drivers have been installed navigate to the ‘Windows Features’ settings page by typing ‘Turn Windows features on or off’ in the bottom left search input and pressing enter</li><li>Select the Hyper-V checkbox then press ‘Ok’ then ‘Restart Now’</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0ZS0049s_vAoRRpb3ZXwaw.png" /></figure><h4>Step 7: Download Windows 11 ISO</h4><ol><li>After restarting navigate to the <a href="https://www.microsoft.com/software-download/windows11">Windows 11 ISO</a> Link above and click the ‘Download Now’ button below the ‘Download Windows 11 Disk Image (ISO) for x64 devices’ section</li><li>Select a language ‘English’ for the ISO file then proceed to click the ‘64-bit Download’ button to save the file to the Download directory</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ozw1XHAUThMkuMzVGpTcLg.png" /></figure><h4>Step 8: Enable the Hyper-V role through Settings</h4><ol><li>After restarting navigate to the <a href="https://github.com/jamesstringerparsec/Easy-GPU-PV">Easy-GPU-PV Repository</a> Link above and click the ‘Download ZIP’ option after opening the green ‘Code’ dropdown</li><li>After downloading the Easy-GPU-PV-main.zip file right click then select ‘Extract All…’ then press ‘Extract’ you should then see a new file window with the extracted folder</li><li>Next open Windows PowerShell ISE by typing ‘Windows PowerShell’ in the bottom left search input then selecting ‘Run ISE as Administrator’</li><li>Once Windows PowerShell ISE is open paste the following text inside the ‘Untitled1.ps1’ document <em>Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass</em> after which navigate to ‘File’ option in the top left and select ‘Run’ the select ‘Yes to All’ once prompted</li><li>Next navigate to the top left and select ‘File’ then ‘Open’ then select the ‘CopyFilesToVM.ps1’ file from the newly extracted folder’s directory</li><li>Modify the <em>SourcePath </em>as well as the <em>VHDPath </em>( as well as any other variables in the params section ) to match your user and path to the ISO downloaded in the previous step</li><li>After which navigate again to the ‘File’ option in the top left and select ‘Run’ ( This will take a few minutes )</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hVI8RZgJcyyKqyMt7-yKJA.png" /></figure><h4>Conclusion</h4><p>After following the steps outlined above and configuring your Hyper-V VM to share your eGPU among other VMs, along with Parsec for high-definition remote desktop streaming within the local network, you’re all set. The process results in a streamlined setup, providing near-instantaneous access and exceptional quality — all at no cost. This contrasts starkly with VMware’s solution, which could incur significant expenses, potentially reaching into the thousands of dollars. Enjoy the flexibility and cost-effectiveness of this setup for your GPU-accelerated tasks and remote access needs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*62GLKeXtqbvnDrIjD9hyKQ.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0d29d2d6a5a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS Amplify: How to add @key to an existing App-sync Schema]]></title>
            <link>https://medium.com/@davain/aws-amplify-how-to-add-key-to-an-existing-app-sync-schema-f5fa4159eb27?source=rss-c83405b04f1a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5fa4159eb27</guid>
            <category><![CDATA[dynamodb]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[aws-appsync]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[amplify]]></category>
            <dc:creator><![CDATA[Davain White]]></dc:creator>
            <pubDate>Mon, 31 Aug 2020 04:09:16 GMT</pubDate>
            <atom:updated>2020-08-31T04:09:16.729Z</atom:updated>
            <content:encoded><![CDATA[<p>During the process of creating a new software application with <a href="https://aws-amplify.github.io/">AWS Amplify</a> it is almost inevitable that you will find yourself in a situation where you find yourself having to add or remove a new key to one of your existing DynamoDB tables only to find out that you are unable to.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*a1DVaikUTJkdIfdz.jpg" /></figure><h3>Getting Started</h3><h3>Backing Up &amp; Deleting the Amplify project</h3><p>To get started, we’ll first create a copy of the exiting amplify folder to use later then delete your current project with:</p><pre>amplify delete</pre><h3>Installing the Amplify Project</h3><p>Now that the Amplify project has been deleted, we’ll create a new Amplify project with the exact same settings as the one we previously deleted.</p><p><em>You can find all the correct settings in the </em><strong><em>/amplify/.config/project-config.json</em></strong><em> file in your backup folder.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wMYgrGpTx6RS2RAmfgakZg.png" /></figure><h3>Restoring the Backend</h3><p>Now that the Amplify project has been initialized, we can begin adding the missing backend folders.</p><ol><li>First navigate to the newly initialized amplify project and open the <strong><em>/amplify/team-provider-info.json</em></strong> file.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D2QkDnyzbj9PyS2CKxaZbA.png" /><figcaption>You should see a unique project id number being repeated throughout this file. Save it to your clipboard then navigate over to the your backup project.</figcaption></figure><p>2. Open the folder for your backup project in vs code then navigate over the the search and replace tab. Find the same id in the backup project and replace it with the newly initialized project id.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BF2KfIeG0wGq6HfsY0yZLg.png" /><figcaption>Replace all instances of the old id with the new one.</figcaption></figure><p>3. Navigate back to the <strong><em>/amplify/team-provider-info.json </em></strong>file and copy the <strong>StackId </strong>of the new amplify project then paste it into the corresponding backup file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O1M2pkjMVVcD8H2gO-03PQ.png" /></figure><p>4. Now that the backup file is up to date its time to delete and replace the <strong>backend</strong> folder and <strong>the team-provider-info.json</strong> files in the new project with those of the backup project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*gC7Erc2DxlRghMGBTMaLWw.png" /></figure><p>5. Finally update the environment of your newly restored project with:</p><pre>amplify env checkout &lt;ENV&gt;</pre><h3>Adding Keys to schema</h3><p>At this point you now have a copy of your initial project without the existing DynamoDB tables preventing you from adding new sort keys.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VReHq103bFXhtoo-BMTUxw.png" /><figcaption>Shows the newly added keys to the MediumMonitor model</figcaption></figure><h3>Redeploying Project</h3><p>Now that you have made the necessary changes to your schema it is time to redeploy with:</p><pre>amplify push</pre><h3>Conclusion</h3><p>The most common error you may encounter wen rebuilding everything at once would be a catch twenty two when 2 or more resources are dependent on one another, in which case you should temporarily remove all dependencies from one or more resources then proceed to push them individual only restoring the dependencies once everything is back in place.</p><p>The library is under development so look out for additional features as well in the future! To learn more, check out <a href="https://aws-amplify.github.io/">the docs</a>.</p><p>Good Luck.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5fa4159eb27" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>