<?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>Forem: Ajanaku Temitope Grace </title>
    <description>The latest articles on Forem by Ajanaku Temitope Grace  (@temi-cloud).</description>
    <link>https://forem.com/temi-cloud</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%2F1061292%2Ffc5ea787-177d-4f66-87c3-18c4ce99c04c.jpg</url>
      <title>Forem: Ajanaku Temitope Grace </title>
      <link>https://forem.com/temi-cloud</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/temi-cloud"/>
    <language>en</language>
    <item>
      <title>Create an Azure Static Web App in 2 mins!</title>
      <dc:creator>Ajanaku Temitope Grace </dc:creator>
      <pubDate>Sat, 15 Apr 2023 13:26:55 +0000</pubDate>
      <link>https://forem.com/temi-cloud/create-azure-web-app-in-2-mins-2pn5</link>
      <guid>https://forem.com/temi-cloud/create-azure-web-app-in-2-mins-2pn5</guid>
      <description>&lt;p&gt;If you have used Netlify and Vercel before and found them simple, you might be pleasantly surprised by the experience offered by Azure Static Web Apps. This service provides automatic deployment for web applications, allowing you to deploy full-stack web apps using a variety of sources such as Github, Azure DevOps, and others.&lt;/p&gt;

&lt;p&gt;In this article, we will focus on using Github as the source for creating an Azure Static Web App. So, let's dive in!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Create your Azure account&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Don't have an Azure account yet? Not to worry, you can easily create a free account by clicking &lt;a href="https://azure.microsoft.com/en-us/free/" rel="noopener noreferrer"&gt;here&lt;/a&gt; and selecting the "Start free" option. Simply follow the prompts and you'll be in the Azure portal in no time!&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2: Create Azure static web app&lt;/strong&gt;&lt;br&gt;
I know that's why you are here. In your Azure portal, select the &lt;strong&gt;Create resource&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fb4kuoizf6lc3uixsamsw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fb4kuoizf6lc3uixsamsw.png" alt="Create a Azure resouce"&gt;&lt;/a&gt;&lt;br&gt;
This will take you to Azure market place. Make use of the search field and search &lt;strong&gt;web app&lt;/strong&gt;. You have various results like in the image below&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fmto12hsfzq4ss50j1pen.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fmto12hsfzq4ss50j1pen.png" alt="Azure marketplace"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Alot of possibilities we have there. Our focus is the Static web app so select Create static web like so&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2F3058eutq4zpkrarw5hmv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2F3058eutq4zpkrarw5hmv.png" alt="Create Azure static web"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Creating a resource group is required. If you have a resource group you have created previously, you can select it in the drop down else create a new one. &lt;/p&gt;

&lt;p&gt;Next is to complete your static web details. This include;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Name:&lt;/strong&gt; You can use any name you want here. Ensure you follow the validation. Special characters are not allowed!&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Plan:&lt;/strong&gt; You have two options here, Free and Standard. If you are deploying a personal project, free is the plan for you. If you have a production web app, you might want to explore the standard plan. &lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Azure Staging details:&lt;/strong&gt; We follow the rule in &lt;a href="https://dev.to/temi-cloud/creating-a-virtual-machine-on-aws-25ld"&gt;creating virtual machine&lt;/a&gt;. Always select a region close to your customer!&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deployment details:&lt;/strong&gt; You have three options here, Github/Azure Devops/Other. As mentioned earlier, we will use Github&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Step 3: Connect your Github&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is easy. Allow access to your Gitub simply by selecting Github and completing Github authorization.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fewocyut26pm06eg9pywh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fewocyut26pm06eg9pywh.png" alt="Connect your Gihub"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Select the organization you have your repository (if you have multiple organizations on Github)&lt;/li&gt;
&lt;li&gt;Select your project repository&lt;/li&gt;
&lt;li&gt;Select a branch. Make sure this is the branch with the changes you want to deploy. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Review your details and create your static web app. Once your deployment is complete, you can now go to your resource overview. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Faljv4s9snlxwpf8ivy4u.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Faljv4s9snlxwpf8ivy4u.jpg" alt="Your static web overview"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You can see your url. If clicked, it might still be empty. This is because your Github action is still in progress. You can inspect this. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fw5qvkv0582rr3l75aoy7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fw5qvkv0582rr3l75aoy7.png" alt="Successful deployment"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What happens if my workflow fails?&lt;/strong&gt;&lt;br&gt;
I thought you won't ask. A common error can be seen in the image below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fx810w7s61cwkejymclz9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fx810w7s61cwkejymclz9.png" alt="Unknown path error"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This is most times because of the &lt;code&gt;app_location: "/" # App source code path&lt;/code&gt; in your azure-static-web-apps.yml file. By default, Azure uses &lt;code&gt;/&lt;/code&gt; for file path. If like me, you have your files in a &lt;code&gt;src&lt;/code&gt; folder, you might want to change the app_location to this &lt;code&gt;app_location: "/src" # App source code path&lt;/code&gt;. Push your changes and see your workflow run again. &lt;/p&gt;

&lt;p&gt;The beauty of Azure static web service is that, your application deploys automatically after every push or pull request. ofcourse you can also configure this in your .yml file&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.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%2Fxuc7n4qbix1vgev4d666.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.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%2Fxuc7n4qbix1vgev4d666.png" alt="Configure your .yml file"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you find this helpful, please follow and let's grow together!&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>azure</category>
      <category>devops</category>
      <category>cloud</category>
    </item>
    <item>
      <title>Creating S3 Buckets on AWS</title>
      <dc:creator>Ajanaku Temitope Grace </dc:creator>
      <pubDate>Sun, 09 Apr 2023 14:26:50 +0000</pubDate>
      <link>https://forem.com/temi-cloud/creating-s3-buckets-on-aws-30c5</link>
      <guid>https://forem.com/temi-cloud/creating-s3-buckets-on-aws-30c5</guid>
      <description>&lt;p&gt;Simple Storage Service (S3) is a cloud storage solution that offers a lot of flexibility, allowing multiple access irrespective of location. Cloud storage is safer and easier to scale.&lt;/p&gt;

&lt;p&gt;Creating an S3 bucket on AWS is a straightforward process. You can follow the steps below:&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Select S3 on AWS Header
&lt;/h2&gt;

&lt;p&gt;To get started, log in to your AWS account and navigate to the S3 console by selecting S3 from the AWS header. You can also access this from services&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--a-c8Vs7T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/orh40s3j12l1i7846elq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--a-c8Vs7T--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/orh40s3j12l1i7846elq.png" alt="S3 bucket" width="800" height="69"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Create S3 Bucket
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--6lA_xwbo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lu8z1q8uycfo6g8qk7k0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--6lA_xwbo--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/lu8z1q8uycfo6g8qk7k0.png" alt="Create S3 bucket" width="800" height="96"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Once you are on the S3 console, click on the "Create bucket" button to create a new bucket. The following details are required:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_pN6_Ywj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b5u8auwrm43ucjb30ecw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_pN6_Ywj--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/b5u8auwrm43ucjb30ecw.png" alt="AWS S3 bucket" width="800" height="538"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Bucket name:&lt;/strong&gt; This must be globally unique on AWS. The name must also comply with DNS naming conventions and cannot contain uppercase letters or underscores. A good practice is to use a name that describes the contents of the bucket.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;AWS Region:&lt;/strong&gt; It is important to choose a region closer to your users. The closer the region to the users of the applications, the lower the latency.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Copy settings from an existing bucket (optional)&lt;/strong&gt;: You can choose to copy settings from an existing bucket to this new one, such as permissions and encryption settings.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Access Control list (ACL) options&lt;/strong&gt;: AWS provides a set of predefined ACL options that define who can access the bucket and the objects within it. You can choose one of the predefined options or define your own.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Block public access (optional):&lt;/strong&gt; By default, AWS blocks public access to your bucket. You can choose to enable public access for specific users or groups, but it is recommended to keep public access blocked to avoid unauthorized access.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;After filling in all the necessary details, click "&lt;strong&gt;Create bucket&lt;/strong&gt;" to create your new S3 bucket.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You can now start uploading files to it by clicking on the bucket name from the S3 console and selecting "Upload" or by using AWS APIs or the AWS CLI.&lt;/p&gt;

&lt;p&gt;Did you find this useful? Kindly follow for more!&lt;/p&gt;

</description>
      <category>s3</category>
      <category>cloud</category>
      <category>aws</category>
    </item>
    <item>
      <title>Creating a Virtual machine on AWS</title>
      <dc:creator>Ajanaku Temitope Grace </dc:creator>
      <pubDate>Sun, 09 Apr 2023 13:38:20 +0000</pubDate>
      <link>https://forem.com/temi-cloud/creating-a-virtual-machine-on-aws-25ld</link>
      <guid>https://forem.com/temi-cloud/creating-a-virtual-machine-on-aws-25ld</guid>
      <description>&lt;p&gt;As the name implies, this is a machine that cannot be seen; you can think of it as a digital computer. It can perform the same tasks as your physical computer, and much more. It can connect to networks, store data, and like your physical computer, it requires maintenance and updates.&lt;/p&gt;

&lt;p&gt;There are several cloud platforms where you can create your virtual machine, and in this article, we will be focusing on creating a virtual machine on AWS using the following steps.&lt;/p&gt;

&lt;p&gt;While you may see the term "Virtual Machine" on platforms like Azure, on AWS, you will see the term "instance". Don't worry, they mean the same thing.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Setup your AWS Account.
&lt;/h2&gt;

&lt;p&gt;While this is not a difficult process, you will be required to add a billing card to connect to Amazon Web Services. Amazon will hold on to $1 until the card is successfully verified. Access to Amazon Web Services will not be granted until a billing card has been added and verified. A virtual dollar card can be used for this purpose.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2:
&lt;/h2&gt;

&lt;p&gt;Congratulations on setting up your AWS account! We are now ready to create our first instance aka virtual machine&lt;/p&gt;

&lt;p&gt;To create an instance, click on EC2 - &lt;strong&gt;Elastic Cloud Compute&lt;/strong&gt; as seen in the attached image. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8ZoqZ0GX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jt4hkc2cvnb7osig290v.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8ZoqZ0GX--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jt4hkc2cvnb7osig290v.png" alt="AWS EC2" width="800" height="56"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;You will be routed to the Elastic Cloud compute dashboard. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--o6_-heis--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/219m2igzfh30ga7ljk89.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--o6_-heis--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/219m2igzfh30ga7ljk89.png" alt="EC2 dashboard" width="800" height="369"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If not already open, click on the instances drop down and select launch instances. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--_WaH4YJk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oo653yjrlshq7cw7hd0x.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--_WaH4YJk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/oo653yjrlshq7cw7hd0x.png" alt="launch instance" width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;  Provide all the required details, including:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Instance name&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Select your AMI&lt;/strong&gt; - Amazon Machine Image. Note that this has nothing to do with your physical machine's operating system. For example, you could be using macOS but choose an Ubuntu AMI. If you're using a free AMI, make sure it is eligible for the free tier.&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Key pair name&lt;/strong&gt; - create one if you don't already have it. While this field is not required, it is important, and you will use it when connecting to your virtual machine. The key pair is downloaded as a file with a .pem extension.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Network settings&lt;/strong&gt; - this is another crucial section. As a cloud engineer, you manage the server via SSH, so be sure to select "Allow SSH traffic from Anywhere" or your specified IP address. Users interact with your machine via HTTPS (Secure Hypertext Transfer Protocol), so to ensure that it is discoverable, select "HTTPS traffic from the internet."&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Configure your storage.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;You can launch multiple instances at once, so you have the option to input the number of instances you want to launch.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Confirm your details.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Launch your instance.&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--X1M2sYzk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f3bqgwjq2syn9svacnwi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--X1M2sYzk--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/f3bqgwjq2syn9svacnwi.png" alt="successful instance" width="800" height="194"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Connect your virtual machine
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Route to your instances list and select the instance you want to connect&lt;/li&gt;
&lt;li&gt;Click connect instance&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--QZY886KE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vj6itu20ylm9kxdbdkyq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--QZY886KE--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vj6itu20ylm9kxdbdkyq.png" alt="connect your instance" width="800" height="144"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We will be using SSH client to connect this on MacOS&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;p&gt;Open your SSH client - you can use your terminal&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Local your private key file - this is the key pair your created that got downloaded using this command &lt;code&gt;cd downloads&lt;/code&gt; (downloads is my file path. Be sure to use yours)&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run this command &lt;code&gt;chmod 400 teminstance.pem&lt;/code&gt; - A common mistake to avoid is using the wrong key pair file name. Be sure that is the right name in your file path. &lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Connect your virtual machine using its public DNS. Sample &lt;code&gt;ssh -i "temiinstance.pem" ubuntu@ec2-54-222-141-75.compute-1.amazonaws.com&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Once this is successfully connected, you will see your virtual machine name like below. &lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VtIFdYEK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xok4qnnohmnjz4juzdjt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VtIFdYEK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xok4qnnohmnjz4juzdjt.png" alt="Virtual machine is ready" width="242" height="60"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Terminating your virtual machine
&lt;/h2&gt;

&lt;p&gt;It is important to &lt;strong&gt;terminate&lt;/strong&gt; or &lt;strong&gt;stop&lt;/strong&gt; instances you are not using to avoid incurring unnecessary bills. To stop or terminate your instance, check the instance and click the instance state. You can select the action you want. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--J3L7Y36y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ynh0y91qrz54f6ux8erv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--J3L7Y36y--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ynh0y91qrz54f6ux8erv.png" alt="terminate or stop your instance" width="800" height="195"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Be sure to choose "Stop" only if you still care about the data on your virtual machine. If you choose to "Terminate," you will lose all the data.&lt;/p&gt;

&lt;p&gt;I hope you find this information helpful. Kindly follow for more.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>aws</category>
      <category>cloud</category>
      <category>ec2</category>
    </item>
  </channel>
</rss>
