<?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: Caleb Onyejeme</title>
    <description>The latest articles on DEV Community by Caleb Onyejeme (@nonny).</description>
    <link>https://dev.to/nonny</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%2F1815080%2F516598fe-bb2c-4aeb-9524-e1b56d5cd656.png</url>
      <title>DEV Community: Caleb Onyejeme</title>
      <link>https://dev.to/nonny</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nonny"/>
    <language>en</language>
    <item>
      <title>Creating a Windows Virtual Machine in the Azure Portal and connecting to it through RDP.</title>
      <dc:creator>Caleb Onyejeme</dc:creator>
      <pubDate>Mon, 24 Feb 2025 17:55:13 +0000</pubDate>
      <link>https://dev.to/nonny/creating-a-windows-virtual-machine-in-the-azure-portal-and-connecting-to-it-through-rdp-153g</link>
      <guid>https://dev.to/nonny/creating-a-windows-virtual-machine-in-the-azure-portal-and-connecting-to-it-through-rdp-153g</guid>
      <description>&lt;p&gt;&lt;strong&gt;Step 1&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Sign into the Azure Portal&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open Azure Portal in your browser.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Log in with your Microsoft Account.&lt;br&gt;
On your search box, type &lt;strong&gt;Virtual Machine&lt;/strong&gt; Select the Virtual Machine from the options that appear.&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%2Fd1ym2o96wvbuttuhgn0c.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%2Fd1ym2o96wvbuttuhgn0c.png" alt="Image description" width="800" height="378"&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%2F8yx2iuuwnq8raghumyf5.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%2F8yx2iuuwnq8raghumyf5.png" alt="Image description" width="371" height="438"&gt;&lt;/a&gt;  &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Create a Resource Group&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;In the Azure portal, select Create a resource in the left-hand menu.&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%2Fqfog44rjvn50xgat8q8x.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%2Fqfog44rjvn50xgat8q8x.png" alt="Image description" width="800" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Configure the Basic Settings&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Select your &lt;strong&gt;subscription&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Choose a &lt;strong&gt;Resource group&lt;/strong&gt; (if needed)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Pick a &lt;strong&gt;Virtual Machine Name&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Select a &lt;strong&gt;Region&lt;/strong&gt; where the Virtual Machine will be hosted.&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%2Flkgh2bgpsazqa7txdoei.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%2Flkgh2bgpsazqa7txdoei.png" alt="Image description" width="800" height="426"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 4&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Create Admin Credentials&lt;/strong&gt; &lt;br&gt;
Under the &lt;strong&gt;Administrator account&lt;/strong&gt; Choose Password&lt;br&gt;
Enter a &lt;strong&gt;username&lt;/strong&gt; and &lt;strong&gt;password&lt;/strong&gt; &lt;br&gt;
Under the &lt;strong&gt;Inbound Port Rules&lt;/strong&gt; allow RDP (3389) &lt;br&gt;
Leave the other settings as default or modify them as per your requirements.&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%2Fhgw24usq49v87ewi3iaw.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%2Fhgw24usq49v87ewi3iaw.png" alt="Image description" width="800" height="336"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Review and create&lt;/strong&gt;&lt;br&gt;
Review all configurations. If satisfied, click Review + Create, to start the deployment process.&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%2Fxdpe3yj8xqanf856329q.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%2Fxdpe3yj8xqanf856329q.png" alt="Image description" width="800" height="460"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Connect to your Virtual Machine through RDP&lt;/strong&gt;&lt;br&gt;
Once the virtual machine is deployed, you can connect to it using Remote Desktop Protocol (RDP).&lt;/p&gt;

&lt;p&gt;Once it is deployed, go to the Virtual Machines blade in the Azure portal and find your VM. &lt;br&gt;
Click on the "connect" button at the top of the virtual machine overview page.&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%2Fgeqh682wup3fw0wnob7e.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%2Fgeqh682wup3fw0wnob7e.png" alt="Image description" width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In the "Connect" blade, select "RDP" as the connection method,&lt;br&gt;
and when prompted, enter the username and password you provided while creating the virtual machine.&lt;/p&gt;

&lt;p&gt;At this stage, your virtual desktop will be ready for use.&lt;/p&gt;

&lt;p&gt;Congratulations! You have successfully created a Windows virtual machine in Azure and connected to it via RDP. You can now utilize the remote desktop session to manage and configure your VM as needed.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>How to Host a Static Website on Azure Blob Storage.</title>
      <dc:creator>Caleb Onyejeme</dc:creator>
      <pubDate>Mon, 24 Feb 2025 17:55:02 +0000</pubDate>
      <link>https://dev.to/nonny/how-to-host-a-static-website-on-azure-blob-storage-1gn7</link>
      <guid>https://dev.to/nonny/how-to-host-a-static-website-on-azure-blob-storage-1gn7</guid>
      <description>&lt;p&gt;&lt;strong&gt;Prerequisites&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Azure account&lt;/strong&gt;: You ll need an active azure subscription&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Static Website Files&lt;/strong&gt; : JavaScript, HTML, CSS, and other assets to be hosted.&lt;br&gt;
You can serve static content like HTML, CSS etc directly from a container in a general-purpose V2 or blockblob storage account.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;3 MAJOR TOOLS TO BE USED&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Visual Studio Code&lt;/strong&gt; : - It must be installed on your desktop.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install the &lt;strong&gt;azure subscription&lt;/strong&gt; &lt;strong&gt;azure account&lt;/strong&gt; and &lt;strong&gt;azure storage&lt;/strong&gt; extension plugin on the visual studio code.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Create a &lt;strong&gt;Storage Account&lt;/strong&gt; in the azure portal.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;STEP 1&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Enable Static Website Hosting&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Go to your newly created storage account and hit the static website on the left side of the search bar.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click &lt;strong&gt;Enable&lt;/strong&gt; &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Specify the &lt;strong&gt;index specific name&lt;/strong&gt; (e.g. index.html)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Specify an &lt;strong&gt;error document path&lt;/strong&gt; (e.g. error.html)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click the &lt;strong&gt;Save&lt;/strong&gt; button above to save your configurations.&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%2Fu9mfkubar06k2vyue3fr.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%2Fu9mfkubar06k2vyue3fr.png" alt="Image description" width="800" height="444"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This opens up a page with your primary and secondary endpoints.&lt;/p&gt;

&lt;p&gt;Copy the primary endpoint, that's the URL of your static website.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 2&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Return to Your Storage Account&lt;/strong&gt;&lt;br&gt;
Once you are in your storage account, navigate to the &lt;strong&gt;Containers&lt;/strong&gt; section, and you'll find a $web container already created to store the content of your static website.&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%2Fz29874qnoudpo1bqgq0r.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%2Fz29874qnoudpo1bqgq0r.png" alt="Image description" width="800" height="345"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 3&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Upload Your Website Files&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;In the storage account, navigate to &lt;strong&gt;Containers&lt;/strong&gt; and open the $web container created automatically for static website hosting.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click &lt;strong&gt;Upload&lt;/strong&gt; to add your files &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%2F1gepwv4zc6vomycfh2pk.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%2F1gepwv4zc6vomycfh2pk.png" alt="Image description" width="800" height="304"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 4&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Test Your Static Website&lt;/strong&gt; &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Navigate to the &lt;strong&gt;Static Website&lt;/strong&gt; in your storage account.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on the &lt;strong&gt;Primary endpoint URL&lt;/strong&gt; to view your static website&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Test the site and ensure everything uploaded completely and loads properly.&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%2Fh6nbbaaeef0flnr9bcna.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%2Fh6nbbaaeef0flnr9bcna.png" alt="Image description" width="800" height="371"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Hosting a static website on Azure Blob Storage is a straightforward, cost-effective solution for serving static content. By creating a storage account, enabling the static website feature, uploading your site files to the $web container, and optionally configuring a custom domain, you can quickly publish your website. Azure also provides scalability, secure HTTPS connections, and integration with Azure CDN to optimize performance.&lt;/p&gt;

&lt;p&gt;This setup is ideal for personal projects, portfolios, and lightweight web applications. With Azure’s reliability and ease of use, you can ensure a smooth hosting experience for your static website.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>EASY STEPS ON CREATING A WEBAPP ON AZURE USING CLI.</title>
      <dc:creator>Caleb Onyejeme</dc:creator>
      <pubDate>Mon, 24 Feb 2025 17:54:44 +0000</pubDate>
      <link>https://dev.to/nonny/easy-steps-on-creating-a-webapp-on-azure-using-cli-2c4d</link>
      <guid>https://dev.to/nonny/easy-steps-on-creating-a-webapp-on-azure-using-cli-2c4d</guid>
      <description>&lt;p&gt;&lt;strong&gt;This article serves as a guide to setting up a web app service in Azure using the Command Line Interface (CLI) and provides step-by-step instructions on how to scale up and scale out within the Azure web app environment.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Tools Required&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Install Azure CLI&lt;/li&gt;
&lt;li&gt;Github Account&lt;/li&gt;
&lt;li&gt;Install Gitbash&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;To install Azure CLI click &lt;a href="https://learn.microsoft.com/en-us/cli/azure/install-azure-cli" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 1. Login to Azure from the command line&lt;/strong&gt;&lt;br&gt;
Open a command line of your choice. For this exercise I will be using &lt;strong&gt;Git Bash&lt;/strong&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Type the command az login and hit enter
Once you hit the 'enter' it will prompt you to choose the azure account you wish to sign into. Select the appropriate account.&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%2Fq63xj4z38bgp6hlpkmcl.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%2Fq63xj4z38bgp6hlpkmcl.png" alt="Image description" width="269" height="290"&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%2Fbyuaqlq6snjroj0q84kh.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%2Fbyuaqlq6snjroj0q84kh.png" alt="Image description" width="800" height="126"&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%2F731xysykyxliwnpasc8v.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%2F731xysykyxliwnpasc8v.png" alt="Image description" width="458" height="517"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 2. CREATE A RESOURCE GROUP&lt;/strong&gt;&lt;br&gt;
A resource group organizes your resources. Create one by using this command :az group create --name &lt;strong&gt;group name&lt;/strong&gt; --location &lt;strong&gt;region&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%2Fbet8fnjkseq6j0ie6aeb.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%2Fbet8fnjkseq6j0ie6aeb.png" alt="Image description" width="643" height="207"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;from the above image, you can clearly see that the resource group has been successfully created.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 3. CREATE AN APP SERVICE APP&lt;/strong&gt;&lt;br&gt;
The App Service plan determines the web app's pricing and scale. You can create it by using the command: az appservice plan create --name  --resource-group  --sku F1&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 4. CREATE A WEB APP&lt;/strong&gt; &lt;br&gt;
You can do this by using the command: az webapp create --name &lt;strong&gt;name of your webapp&lt;/strong&gt; --resource-group &lt;strong&gt;resource group name&lt;/strong&gt; --plan &lt;strong&gt;plan name&lt;/strong&gt; hit enter. After hitting the enter buttton, it automatically creates a webapp on your azure portal.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 5. Deploy your code&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Go to your Github account and click on the repository that contains your website files (HTML, CSS and JavaScript) &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click on code button and copy the URL on display&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Go back to the PowerShell and type the following command&lt;br&gt;
az webapp deployment source config --name &lt;strong&gt;webapp name&lt;/strong&gt; --resource-group &lt;strong&gt;resource group name&lt;/strong&gt; --repo-url &lt;strong&gt;the url you copied from GitHub&lt;/strong&gt; --branch &lt;strong&gt;branch of the repo&lt;/strong&gt; --manual-integration&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This command deploys your web application instantly&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Access your web app&lt;/strong&gt;&lt;br&gt;
Go to the Azure portal and view the App Service plan and Web app application.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;click on the web application icon to overview the page.
On the Overview page, you will find the &lt;strong&gt;Default domain&lt;/strong&gt;, which serves as the URL for your website. You can copy and share it to allow others to access your site.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Additionally, the page displays details such as the &lt;strong&gt;App Service Plan&lt;/strong&gt; and the repository link from GitHub, which is the source of your website's content.&lt;/p&gt;

&lt;p&gt;To view deployment details, click on &lt;strong&gt;Deployment Center&lt;/strong&gt; in the left-hand menu under the Deployment section.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SCALING UP AND SCALING OUT&lt;/strong&gt;&lt;br&gt;
In most cases, after deploying your web application, it’s necessary to &lt;strong&gt;scale up&lt;/strong&gt; before moving to production. This ensures your application has adequate capacity to maintain high availability and fault tolerance.&lt;/p&gt;

&lt;p&gt;If your application is expected to experience heavy traffic, it’s crucial to enable &lt;strong&gt;scaling out&lt;/strong&gt; to handle increased demand as needed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SCALE UP&lt;/strong&gt;&lt;br&gt;
Scaling up involves enhancing an existing system by adding more resources to achieve the desired level of performance. This typically includes increasing the RAM and storage capacity of the current machine.&lt;/p&gt;

&lt;p&gt;In azure web application services, we can achieve this by&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Navigate to the &lt;strong&gt;App Service Plan&lt;/strong&gt; and click on your plan to open the Overview page. Next, select &lt;strong&gt;Scale Up (App Service Plan)&lt;/strong&gt; from the left-hand menu under &lt;strong&gt;Settings&lt;/strong&gt;. Choose your desired capacity from the &lt;strong&gt;Production&lt;/strong&gt; tiers and click the &lt;strong&gt;Select&lt;/strong&gt; button to apply the changes.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Click &lt;strong&gt;Upgrade&lt;/strong&gt; to upgrade to your chosen capacity.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;SCALE OUT&lt;/strong&gt;&lt;br&gt;
Scaling out, which can also be called horizontal scaling, involves adding more resources such as servers to your system. This helps distribute the workload across multiple machines, thereby enhancing performance and increasing storage capacity.&lt;/p&gt;

&lt;p&gt;In &lt;strong&gt;Azure App Services&lt;/strong&gt;, you can manage scaling through your App Service Plan by navigating to the Overview page.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Click on &lt;strong&gt;Scale Out (App Service Plan)&lt;/strong&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Choose one of the scaling options: Manual, Automatic, or Rule-based.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For automatic scaling, adjust the &lt;strong&gt;Maximum Burst&lt;/strong&gt; by dragging the slider until you reach your desired maximum.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Click &lt;strong&gt;SAVE&lt;/strong&gt; to effect your changes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;By following these steps, we successfully deployed our web application and scaled it to the desired capacity to ensure optimal performance.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Your easy steps in launching EC2 instance on AWS</title>
      <dc:creator>Caleb Onyejeme</dc:creator>
      <pubDate>Wed, 18 Dec 2024 07:20:37 +0000</pubDate>
      <link>https://dev.to/nonny/your-easy-steps-in-launching-ec2-instance-on-aws-591n</link>
      <guid>https://dev.to/nonny/your-easy-steps-in-launching-ec2-instance-on-aws-591n</guid>
      <description>&lt;p&gt;&lt;strong&gt;INTRODUCTION&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Amazon Web Services (AWS) is a comprehensive and widely adopted cloud computing platform provided by Amazon. AWS offers a broad set of infrastructure services such as computing power, storage options, networking, databases, machine learning, analytics, and much more, all available through the internet. These services enable businesses and developers to host applications and services on the cloud, reducing the need for maintaining physical servers and data centers.&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%2Fk4bjp06x8d8ypemknb4g.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%2Fk4bjp06x8d8ypemknb4g.png" alt="Image description" width="800" height="289"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Sign into your AWS account&lt;/strong&gt;&lt;br&gt;
To get started sign into your AWS account by entering your details. If you don't have an account with AWS, you can create one by clicking the "create a new AWS account" a button AND following instructions.&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%2Feyn96vtrwkpddbqa3yur.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%2Feyn96vtrwkpddbqa3yur.png" alt="Image description" width="575" height="657"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Once you are signed in the AWS, open the EC2 console&lt;/strong&gt;&lt;br&gt;
On the management console search bar, search for the "EC2" and click "EC2" from the search history and that opens the EC2 console where you will be able to manage your instances.&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%2Fa0iiza8wwtmrv1lai4mm.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%2Fa0iiza8wwtmrv1lai4mm.png" alt="Image description" width="800" height="440"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Launch an Instance&lt;/strong&gt;&lt;br&gt;
In the EC2 dashboard, click on Launch Instance to start the process of creating a new instance. &lt;br&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%2Fvejqm9q5ergwm42e5iq6.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%2Fvejqm9q5ergwm42e5iq6.png" alt="Image description" width="800" height="477"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;After clicking on the “Launch Instance” button, you will be redirected to a page as shown below.&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;Step 4: Name your EC2 instance *&lt;/em&gt;&lt;br&gt;
Provide a name for your EC2 instance by giving your instance a unique name that can help with easy identification and management of your resources in the future.&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%2Ffgcv9n6eqldcc41oi8re.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%2Ffgcv9n6eqldcc41oi8re.png" alt="Image description" width="800" height="216"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 5: Choose an Amazon Machine Image (AMI)&lt;/strong&gt;&lt;br&gt;
An Amazon Machine Image (AMI) is a pre-configured template that contains the operating system and other software necessary for your instance. In this step, you can choose from a wide variety of AMIs provided by AWS or the AWS Marketplace. Select an AMI that best suits your requirements.&lt;br&gt;
In this case, you can choose “Amazon Linux” as the operating system for your instance.&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%2F0zviq6mlmq33pqlv63k8.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%2F0zviq6mlmq33pqlv63k8.png" alt="Image description" width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 6: Choose an instance type&lt;/strong&gt;&lt;br&gt;
Select an Instance Type (e.g., t2.micro for free tier, t3.medium, etc.). You can filter for Free Tier eligible instances if you are on the free plan.&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%2Fd8rwdouexwxs5wyy58ng.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%2Fd8rwdouexwxs5wyy58ng.png" alt="Image description" width="800" height="256"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 7: Create a Pair Key&lt;/strong&gt;&lt;br&gt;
To securely connect to your EC2 instance from your system, you must create a key pair. This key pair includes a public key stored by AWS and a private key that you download to your local machine. The private key is used for authentication and to establish a secure connection with your EC2 instance.&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%2F0gwhew9dw5uoo8ereeje.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%2F0gwhew9dw5uoo8ereeje.png" alt="Image description" width="800" height="194"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 8: Configure instance details, Add Storage and configure security groups&lt;/strong&gt;&lt;br&gt;
*&lt;em&gt;Configure instance details: *&lt;/em&gt; &lt;/p&gt;

&lt;p&gt;You can configure details like network, subnet, and IAM role. In most cases, you can leave these settings as default. Ensure that you choose the correct VPC and Subnet for your region and network setup.&lt;br&gt;
&lt;strong&gt;Add storage&lt;/strong&gt;: &lt;br&gt;
AWS will automatically assign a default storage configuration, which you can customize by adding additional volumes or adjusting the size.&lt;/p&gt;

&lt;p&gt;If you require more storage, click "Add New Volume" and define the desired size and type.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Configure security groups&lt;/strong&gt; : &lt;br&gt;
A Security Group acts as a virtual firewall, managing inbound and outbound traffic for your EC2 instance. You can either create a new security group or select an existing one. Set up rules to permit SSH (port 22) for Linux instances or RDP (port 3389) for Windows instances. If you intend to host a website, you can also add rules for HTTP (port 80) and HTTPS (port 443). Once you've configured the security group, click &lt;strong&gt;Review and Launch&lt;/strong&gt; to proceed.&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%2Fb76qpj0jfwlwrvpjqsi9.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%2Fb76qpj0jfwlwrvpjqsi9.png" alt="Image description" width="800" height="373"&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%2F3dn17lpmvhg2r0epqjwx.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%2F3dn17lpmvhg2r0epqjwx.png" alt="Image description" width="800" height="311"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On the right side of the EC2 instance launch page, you'll find the summary details section. This section offers an overview of the configuration settings you've selected for your instance, allowing you to review and confirm them before proceeding with the launch.&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%2Frn5q9wbipwdgnqlgwvq1.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%2Frn5q9wbipwdgnqlgwvq1.png" alt="Image description" width="425" height="416"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 9: Review and Launch&lt;/strong&gt;&lt;br&gt;
Before starting the instance, carefully review the configuration details to confirm everything is correctly set up. Verify the instance type, storage options, security groups, and any additional settings you've configured. Once you're satisfied, click the "Launch Instance" button.&lt;br&gt;
When you have successfully launched your instance, you will be redirected to another page that displays the success dialogue box.&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%2Fezplvjg1n35z1mfwoc69.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%2Fezplvjg1n35z1mfwoc69.png" alt="Image description" width="565" height="131"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Launching an Amazon EC2 (Elastic Compute Cloud) instance on AWS is a straightforward yet powerful process, that enables users to deploy scalable virtual servers for various applications.&lt;br&gt;
Launching an EC2 instance on AWS offers the flexibility and scalability needed to run applications in the cloud. This article has guided you through the process, including navigating the AWS Management Console, selecting an AMI, choosing an instance type, configuring instance details, adding storage, setting up security groups, and successfully launching your instance.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Hosting a static website on AWS S3 Bucket.</title>
      <dc:creator>Caleb Onyejeme</dc:creator>
      <pubDate>Thu, 31 Oct 2024 16:40:25 +0000</pubDate>
      <link>https://dev.to/nonny/hosting-a-static-website-on-aws-s3-bucket-6i0</link>
      <guid>https://dev.to/nonny/hosting-a-static-website-on-aws-s3-bucket-6i0</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In today's digital landscape, having a web presence is essential for individuals and businesses alike. Whether you're showcasing a portfolio, sharing a blog, or launching a small business, a static website can be the perfect solution. But how do you get started? Enter Amazon Web Services (AWS) Simple Storage Service (S3), a powerful and cost-effective platform that makes hosting static websites a breeze.&lt;/p&gt;

&lt;p&gt;In this blog post, we'll walk you through the process of setting up your static website on an S3 bucket. With step-by-step instructions and helpful tips, you'll learn how to take advantage of S3’s scalability, durability, and ease of use. By the end, you'll have a fully functional website live on the internet, ready to share your content with the world. Let’s dive in and explore how easy it is to get started with AWS S3!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Prerequisite&lt;/strong&gt;&lt;br&gt;
1-AWS account&lt;br&gt;
2-Website Files&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;Now that you have the required tools. Let's Dive in!!&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 1&lt;/strong&gt;&lt;br&gt;
log in to your AWS account&lt;br&gt;
-Go to your web browser and enter &lt;a href="https://aws.amazon.com/" rel="noopener noreferrer"&gt;https://aws.amazon.com/&lt;/a&gt;&lt;br&gt;
create an account if you don't already have or sign in by hitting the the console button&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%2Fpsmgxbiwjh20e1jbp7pg.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%2Fpsmgxbiwjh20e1jbp7pg.png" alt="Image description" width="800" height="208"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;You will need to provide a billing information, but there's a free tier available for new users&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Select to sign in as a Root user if you own the account, otherwise, if given access by an organization or a third party, the select IAM user&lt;/p&gt;

&lt;p&gt;Provide your account email and click the Next button.&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%2F57s18i7c5hjgfs8wb8st.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%2F57s18i7c5hjgfs8wb8st.png" alt="Image description" width="427" height="510"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 2&lt;/strong&gt;&lt;br&gt;
Create an S3 bucket.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Access the S3 Console: Go to the AWS Management Console, search for S3, and select it.&lt;/li&gt;
&lt;/ol&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%2Fwrwvqv1iefku98ewtn3c.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%2Fwrwvqv1iefku98ewtn3c.png" alt="Image description" width="800" height="273"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Go ahead and click the 'create bucket' button&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%2Fck8x847k3v4itvs6m9n3.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%2Fck8x847k3v4itvs6m9n3.png" alt="Image description" width="800" height="286"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Enter a unique name for your bucket (this must be globally unique).&lt;br&gt;
Choose a region close to your target audience.&lt;br&gt;
Click "Create bucket" (you can leave most settings as default for now).&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%2Fdpn7vt4obknhio5wxynb.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%2Fdpn7vt4obknhio5wxynb.png" alt="Image description" width="800" height="489"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;-Scroll down on same page.&lt;br&gt;
-Leave the default ACL disabled option.&lt;br&gt;
-Uncheck the Block all public access option.&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%2F6ugxw3o85rtd1ykp25ey.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%2F6ugxw3o85rtd1ykp25ey.png" alt="Image description" width="800" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will be prompted with a warning message, but there's nothing to panic about here. It's just a message that reminds you the implications of making the bucket public. You'd have to acknowledge the message and remember to leave all the settings in default, scroll down to the end of the page and hit that &lt;strong&gt;Create Bucket&lt;/strong&gt; button&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%2F0w25mssg96lf1yq5n0a4.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%2F0w25mssg96lf1yq5n0a4.png" alt="Image description" width="800" height="463"&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%2F8vj6uxmdfiigrhjvflyc.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%2F8vj6uxmdfiigrhjvflyc.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 3: Uploading the web files to the static website.&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Click on your created bucket &lt;strong&gt;nonnycaleb&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;On the bucket page, click the &lt;strong&gt;upload&lt;/strong&gt; button, it will open another panel that will help you navigate to your resources in your local environment.&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%2Fw0h8n9isxwizlxc07s2s.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%2Fw0h8n9isxwizlxc07s2s.png" alt="Image description" width="800" height="212"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;Use the &lt;strong&gt;add files&lt;/strong&gt; or &lt;strong&gt;add folder&lt;/strong&gt; button depending on how your web files are saved.&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%2F2xmyzy66tr2mmn4omzmh.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%2F2xmyzy66tr2mmn4omzmh.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We will upload our web resources from our local desktop.&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%2F91uktp23mneih9mo6zuq.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%2F91uktp23mneih9mo6zuq.png" alt="Image description" width="800" height="194"&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%2Fe4qchmma1sly43gnjdbx.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%2Fe4qchmma1sly43gnjdbx.png" alt="Image description" width="800" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The uploaded files&lt;/p&gt;

&lt;p&gt;The index.html and the error.html or in this instance 404.html. They are the primary pages that display on the website.&lt;/p&gt;

&lt;p&gt;Scroll to the bottom of the page and click the Upload button.&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%2Fzcu57oz3ape3z5ivbval.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%2Fzcu57oz3ape3z5ivbval.png" alt="Image description" width="800" height="500"&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%2Ffu168cn224hmfeayn162.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%2Ffu168cn224hmfeayn162.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;STEP 4: Set Bucket Permissions&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go back to the &lt;strong&gt;nonnycaleb&lt;/strong&gt; S3 bucket and click on the permission button.&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%2F9fv42ni8t9y8glz5cdpu.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%2F9fv42ni8t9y8glz5cdpu.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scroll down and click on the &lt;strong&gt;edit button&lt;/strong&gt; then &lt;strong&gt;Bucket Policy&lt;/strong&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%2Ffjcroh0d61p4b69blkdk.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%2Ffjcroh0d61p4b69blkdk.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Add the policy below in the editor with your bucket name replacing the place holder. (We got the policy from AWS documentation on S3 static website hosting)&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%2Fvwjbn1r41gg5k526nh43.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%2Fvwjbn1r41gg5k526nh43.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Scroll down and click on the &lt;strong&gt;save&lt;/strong&gt; changes button, once you have clicked the save button you will be notified that the policy change was successful.&lt;br&gt;
Then Click on property on the same &lt;strong&gt;nonnycaleb&lt;/strong&gt; bucket page.&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%2Fitcu26rg001icuz6yzls.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%2Fitcu26rg001icuz6yzls.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Scroll down to the "Static website hosting, click &lt;strong&gt;edit&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%2Fmqip4nnt2hxm6469vub9.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%2Fmqip4nnt2hxm6469vub9.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Select &lt;strong&gt;Enable&lt;/strong&gt; option for Static website&lt;br&gt;
This will extend the pane, exposing boxes for you to input your &lt;strong&gt;index.html&lt;/strong&gt; and &lt;strong&gt;error.html&lt;/strong&gt; configurations.&lt;/p&gt;

&lt;p&gt;Leave other configurations as default and click &lt;strong&gt;Save Changes&lt;/strong&gt; button at the base of the page.&lt;/p&gt;

&lt;p&gt;You will get this notification of success.&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%2F8a9u3dy4utmvg2l02f9r.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%2F8a9u3dy4utmvg2l02f9r.png" alt="Image description" width="800" height="359"&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%2Fcwmzgesiar9axp7m8b4f.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%2Fcwmzgesiar9axp7m8b4f.png" alt="Image description" width="571" height="601"&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%2F5d6l8jszy9a4cwcye2l3.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%2F5d6l8jszy9a4cwcye2l3.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now at the bottom of the page there will be static website bucket endpoint which we can use to access it over a browser.&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%2Fjn6njbz9ueo6bhp8f1mk.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%2Fjn6njbz9ueo6bhp8f1mk.png" alt="Image description" width="800" height="359"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Go ahead and copy the endpoint and view the static website.&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%2Fgpx51h3xq3abf2rfw2qo.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%2Fgpx51h3xq3abf2rfw2qo.png" alt="Image description" width="800" height="421"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
That’s it! You’ve successfully hosted a static website on AWS. You can update your website by uploading new files to your S3 bucket whenever needed.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
