{"id":78836,"date":"2021-05-06T23:00:32","date_gmt":"2021-05-07T04:30:32","guid":{"rendered":"https:\/\/www.whizlabs.com\/blog\/?p=78836"},"modified":"2024-04-30T15:59:27","modified_gmt":"2024-04-30T10:29:27","slug":"amazon-elastic-compute-cloud-guide","status":"publish","type":"post","link":"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/","title":{"rendered":"What is Amazon EC2 (Elastic Compute Cloud)?"},"content":{"rendered":"<p><b>Amazon Elastic Compute Cloud<\/b><span style=\"font-weight: 400;\">\u00a0 or <strong>Amazon EC2<\/strong> is defined as a virtual computing environment. It allows people to use their web service interfaces for launching several instances with diverse operating systems. Along with that, it also allows the users to implement network access control or permissions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Apart from these perks, Amazon EC2 has a lot more to offer the business owners for streamlining their operational aspects. Therefore, this guide is the best material for you to educate yourself about the detailed aspects of\u00a0<\/span><b>Amazon Elastic Compute Cloud<\/b><span style=\"font-weight: 400;\">\u00a0or Amazon EC2.<\/span><\/p>\n<blockquote><p>Go through the complete <a href=\"https:\/\/www.whizlabs.com\/blog\/virtual-private-cloud-a-guide\/\" target=\"_blank\" rel=\"noopener\">Virtual Private Cloud Guide<\/a> today!<\/p><\/blockquote>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_76 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #ea7e02;color:#ea7e02\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #ea7e02;color:#ea7e02\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#What_is_Amazon_EC2_or_Elastic_Compute_Cloud\" >What is Amazon EC2 or Elastic Compute Cloud?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#How_Can_You_Use_Amazon_EC2\" >How Can You Use Amazon EC2?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Know_the_Features_of_Amazon_Elastic_Compute_Cloud\" >Know the Features of Amazon Elastic Compute Cloud<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Available_Operating_Systems_that_can_be_used_with_Amazon_EC2_Instances\" >Available Operating Systems that can be used with Amazon EC2 Instances<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Benefits_of_Leveraging_the_Use_of_Amazon_EC2\" >Benefits of Leveraging the Use of Amazon EC2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Why_Amazon_EC2\" >Why Amazon EC2?<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Types_of_EC2_Instances\" >Types of EC2 Instances<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Elastic_Compute_Cloud_EC2_Pricing_Options\" >Elastic Compute Cloud (EC2) Pricing Options<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#How_to_Create_an_EC2_Instance\" >How to Create an EC2 Instance?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Connecting_to_EC2_instance\" >Connecting to EC2 instance<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#How_to_Create_an_EBS_Volume_and_Attach_to_EC2\" >How to Create an EBS Volume and Attach to EC2?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Migrating_EC2_instance_from_one_region_to_another\" >Migrating EC2 instance from one region to another<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Setting_up_Performance_Monitoring_for_EC2_Instance\" >Setting up Performance Monitoring for EC2 Instance<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.whizlabs.com\/blog\/amazon-elastic-compute-cloud-guide\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_is_Amazon_EC2_or_Elastic_Compute_Cloud\"><\/span><b>What is Amazon EC2 or Elastic Compute Cloud?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\"><strong>Amazon EC2<\/strong> is one of the most prominent services of AWS that has helped businesses to run their applications over the public cloud seamlessly. With the use of the EC2 interface, the developers can integrate several virtual machine instances and configure their scaling capacity.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The purpose of integrating Amazon EC2 into the business environment is to build apps for automating the scaling aspects based upon the needs and requirements at certain instances. Along with that, it becomes really easy to manage the storage and deploy virtual servers over the cloud with the use of Amazon EC2.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The best part is that you are saving a lot on the upfront cost of setting up the hardware proposition. And, you are also inching your operational aspects to streamline the development processes within your enterprise with EC2.<\/span><\/p>\n<blockquote><p>Get <strong>Free<\/strong> Questions on<a href=\"https:\/\/www.whizlabs.com\/aws-solutions-architect-associate\/\" target=\"_blank\" rel=\"noopener\"> AWS Solutions Architect Associate<\/a> Certification<\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">Amazon EC2 is billed based on the size and hours of instance, operating system, and region. Apart from that, the billing is also done based upon resource consumption. Setting up Amazon EC2 for your business operations is quite convenient and easy. You will get to know more about it further in this guide. So, follow on till the end!<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_Can_You_Use_Amazon_EC2\"><\/span><b>How Can You Use Amazon EC2?<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">In order to better understand the efficacy of\u00a0<\/span><b>AWS Elastic Compute Cloud<\/b><span style=\"font-weight: 400;\">, it is important for you to understand and implement the right ways of using it. Therefore, here are the steps that you need to follow for using this popular AWS service:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Firstly, you will have to select an AMI (Amazon Machine Image), which is usually a pre-configured template. You need to pick one right away to instantly move onto the next step of integrating it. If not that, you can still create a custom AMI that will have your data, applications, libraries, configuration setting, and other such aspects.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">In the second step, you will have to configure network and security accessibility upon the EC2 instance.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Now, select the type of instance you wish to integrate, following to which you can start, monitor, and terminate the instances as per the necessity of your AMI. You will be doing it with the use of APIs embedded within your web service and the management tools offered to you with EC2.<\/span><img decoding=\"async\" class=\"aligncenter size-full wp-image-78837\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types.png\" alt=\"Amazon EC2 Instances Types\" width=\"2240\" height=\"1260\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types.png 2240w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types-300x169.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types-1024x576.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types-768x432.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types-1536x864.png 1536w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types-2048x1152.png 2048w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types-747x420.png 747w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types-640x360.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Amazon-EC2-Instances-Types-681x383.png 681w\" sizes=\"(max-width: 2240px) 100vw, 2240px\" \/><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Now, you will have to determine whether you want to run your EC2 instance in multiple locations. Along with that, you will also have to utilize the IP endpoints. If not that, you will have to add block storage for your EC2 instances.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Finally, you will be billed only for the resources that you actually use, such as data transfer or instance hours.<\/span><\/li>\n<\/ol>\n<h2><span class=\"ez-toc-section\" id=\"Know_the_Features_of_Amazon_Elastic_Compute_Cloud\"><\/span><b>Know the Features of Amazon Elastic Compute Cloud<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">As you have understood the ways of implementing Amazon EC2 into your business operations, it is important for you to check on the features as well. With the proficient idea of the core features of Amazon EC2, you will gain knowledge about using it in the right manner for enhancing productivity. The features are:<\/span><\/p>\n<ol>\n<li>\n<h4><b> Hibernating &amp; Resuming the Instances<\/b><\/h4>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">Amazon EC2 instances can be hibernated based upon the needs and requirements of users. It is possible with the implementation of Amazon EBS. Hence, you can resume the instance anytime later from the hibernation state without much hassle.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It is mostly preferred for applications that have high latency in terms of bootstrapping and persisting into RAM. With the use of this hibernation feature embedded within Amazon EC2, you can stop or start anytime you want. Along with that, the data from RAM also gets persisted within these sessions.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The best part is that Amazon doesn\u2019t charge you for the hibernating hours of your Amazon EC2 instance. But, yes, the storage will be charged at standard pricing. You need to check the details of the compatible OS and instance types in the official operation guide of\u00a0<\/span><b>Amazon Elastic Compute Cloud<\/b><span style=\"font-weight: 400;\">.<\/span><\/p>\n<ol start=\"2\">\n<li>\n<h4><b> High I\/O Instances<\/b><\/h4>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">The customers who demand random I\/O access for their respective data can rely upon the High I\/O instances within EC2. Not just that, but the people expecting to tweak the latency between high and low can also use this instance type for the purpose.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This type of instance within Amazon<\/span><b>\u00a0Elastic Compute Cloud<\/b><span style=\"font-weight: 400;\">\u00a0is destined to offer customers some high random I\/O rates that go over 3 million IOPS. These instances are executed with the support of SSD-based Non-Volatile Memory Express. It is appropriate for the users who wish high-performance NoSQL databases, Elastic Search Workloads, or transactional systems.<\/span><\/p>\n<ol start=\"3\">\n<li>\n<h4><b> Highly-Optimized CPU Configurations<\/b><\/h4>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">It is one of the most important features embedded within Amazon EC2 that allows the users to gain more control over their EC2 instances from two aspects. The first aspect is that you get the potential to specify a custom count of vCPUs while you launch new EC2 instances. It will eventually help you save the additional licensing cost upon vCPU.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">The second aspect is that you can use it for disabling the option of multithreading for select workloads that are adequate to perform well upon single-threaded CPUs. This implementation is mostly required for the applications that demand high-performance computing.<\/span><\/p>\n<ol start=\"4\">\n<li>\n<h4><b> Diverse Storage Options<\/b><\/h4>\n<\/li>\n<\/ol>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-78838\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage.png\" alt=\"Amazon Elastic Compute Cloud - Diverse Storage Options\" width=\"2240\" height=\"1260\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage.png 2240w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage-300x169.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage-1024x576.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage-768x432.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage-1536x864.png 1536w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage-2048x1152.png 2048w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage-747x420.png 747w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage-640x360.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Storage-681x383.png 681w\" sizes=\"(max-width: 2240px) 100vw, 2240px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Amazon EC2 understands that different workloads might have different storage requirements. Therefore, Amazon has implemented flexible storage options within Elastic Cloud Compute functionality. Apart from the usual instance storage, Amazon EC2 also has Elastic Block Store (EBS) and Elastic File System (EFS) to meet the cloud storage need of different workloads.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Amazon EBS is destined to offer a consistent and low time delay storage volume for users to implement it with their EC2 instances. Amazon EFS is yet another simple and scalable yet a fully-managed file storage solution for implementing shared access.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">These are just a few of the many important features that explain the true potential of\u00a0<\/span><b>Amazon Elastic Compute Cloud<\/b><span style=\"font-weight: 400;\">\u00a0for business operations. It has elastic IP addresses, auto-scaling, multiple locations, enhanced networking, availability on AWS private link, and many more such features to streamline the business operations and data management.<\/span><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Available_Operating_Systems_that_can_be_used_with_Amazon_EC2_Instances\"><\/span><b>Available Operating Systems that can be used with Amazon EC2 Instances<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">The Amazon Machine Images are configured to work seamlessly with diverse operating systems. Some of the operating systems that are available for integrating with the EC2 instances are Amazon Linux, Windows, CentOS, and Debian.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are different charges stated on the use of different Operating Systems. So, make sure you consider all the associated factors before picking one amongst the list for calibrating with Amazon EC2 instances.<\/span><\/p>\n<blockquote><p>Have you checked out <a href=\"https:\/\/www.whizlabs.com\/blog\/best-performing-free-tests-from-whizlabs\/\" target=\"_blank\" rel=\"noopener\">40+ Best Performing Free Tests from Whizlabs<\/a>!<\/p><\/blockquote>\n<h2><span class=\"ez-toc-section\" id=\"Benefits_of_Leveraging_the_Use_of_Amazon_EC2\"><\/span><b>Benefits of Leveraging the Use of Amazon EC2<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><b>Amazon Elastic Compute Cloud<\/b><span style=\"font-weight: 400;\">\u00a0is meant to offer you elastic load balancing as a prime perk amongst all. With it, you can expect an automatic distribution of your application traffic to different instances. It will also help identify the unhealthy instances and direct the traffic only towards the healthy ones until the damaged instances are fixed.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Along with it, there are some other considerable perks to the use of\u00a0<\/span><b>Amazon Elastic Compute Cloud<\/b><span style=\"font-weight: 400;\">\u00a0as well, such that:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Amazon EC2 intends to reduce the booting time while working with new servers.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">As the computing requirements change, the scaling capacity can also be tweaked or enhanced accordingly.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">The users will have complete control over servers. Moreover, they can also infuse accessibility permissions upon the servers and instances.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">There is high-end flexibility in terms of storage options and operating systems. You can pick an ideal OS and storage option that you think is perfectly suitable for your workload.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">It also consists of built-in security for keeping your data protected at all times.<br \/>\n<\/span><\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"Why_Amazon_EC2\"><\/span>Why Amazon EC2?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Amazon EC2 is more flexible than traditional machines and offers a lot of other possibilities as well. We can start with small instances and we can increase the size when the traffic is increased and that can be done within minutes. It\u2019s easier to increase the storage capacity as well. You don\u2019t have to worry about security patch updates, etc since these are taken care of by AWS. The cost is another important factor to consider using EC2. We will be paying only for what we have used.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Types_of_EC2_Instances\"><\/span><b>Types of EC2 Instances<\/b><span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The nature of our application or task will decide which type of instances we need. AWS offers different types of instances optimized for different use cases or workloads.<\/p>\n<ol>\n<li>General Purpose Instance<\/li>\n<li>Compute Optimized Instance<\/li>\n<li>Memory Optimized Instance<\/li>\n<li>Storage Optimized Instance<\/li>\n<li>Accelerated Computing<\/li>\n<\/ol>\n<p><b>General Purpose Instances<\/b><\/p>\n<p>The general purpose instances are divided into two varieties, T and M. This type of instance is suitable for applications that require to balance performance and cost. T and M instances are based on the virtualization types PV and HVM. T instances are more suitable for testing environments and M instances are suitable for production workloads.<\/p>\n<p><b>Compute Optimized Instances<\/b><\/p>\n<p>The compute optimized instances (C type) are recommended for the workloads which require a lot of processing power from the CPU. More suitable for data analysis and data processing applications.<\/p>\n<p><b>Memory Optimized Instances<\/b><\/p>\n<p>If the application is heavy and needs a lot of RAM but doesn\u2019t require a lot of CPU power, then memory optimized instances are the best choice.<\/p>\n<p><b>Storage Optimized Instance<\/b><\/p>\n<p>Storage optimized instances are provisioned with more storage capacity. H, I and D instances belong to this group. When the application is huge and has a lot of data to be stored on the local disk, this type of instance would be a better choice.<\/p>\n<p><b>Accelerated Computing<\/b><\/p>\n<p>P and G instance types belong to this group. These types of instances are more suitable for the applications which require heavy graphics rendering. These instances have their own graphics card and GPU based on the instance size.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Elastic_Compute_Cloud_EC2_Pricing_Options\"><\/span><span id=\"Elastic_Compute_Cloud_EC2_Pricing_Options\" class=\"ez-toc-section\"><\/span>Elastic Compute Cloud (EC2) Pricing Options<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>AWS offers different purchase options for EC2:<\/p>\n<ul>\n<li>On Demand Instances<\/li>\n<li>Spot Instances<\/li>\n<li>Reserved Instances<\/li>\n<li>Dedicated Hosts<\/li>\n<li>Dedicated Instances<\/li>\n<li>Capacity Reservations<\/li>\n<\/ul>\n<p><b>On-Demand instances<\/b>\u00a0are used when you don\u2019t want any upfront payment and long term commitment. Follows pay-as-you-go pricing model and recommended for unpredictable and short term workloads.<\/p>\n<p><b>Spot Instances<\/b>\u00a0can give discounts of up to 90% compared to on-demand instances. This pricing option enables you to bid on unused EC2 instances. Price fluctuates based on the availability of instances. Recommended for batch processing and not recommended for critical jobs.<\/p>\n<p><b>Reserved instances<\/b>\u00a0save a significant amount of cost compared to on-demand instances. In this type you reserve the instance for a specific period of time.<\/p>\n<p>There are three payment options available for reserved instances:<\/p>\n<ol>\n<li>All Upfront<\/li>\n<li>Partial Upfront<\/li>\n<li>No Upfront<\/li>\n<\/ol>\n<p>There are two term lengths available to select from:<\/p>\n<ol>\n<li>One-Year<\/li>\n<li>Three-Year<\/li>\n<\/ol>\n<p>There are two different classes available in the reserved instance type.<\/p>\n<ol>\n<li>Standard Reserved Instances<\/li>\n<li>Convertible Reserved instances<\/li>\n<\/ol>\n<p><b>Dedicated Hosts\u00a0<\/b>is a physical server with EC2 instance capacity that is dedicated for your use. This is the more expensive instance type and suitable for companies which have a strong compliance need.<\/p>\n<p><b>Dedicated Instances<\/b>\u00a0are running on the dedicated hardware. May share the hardware with other instances running on the same account which are not dedicated instances.<\/p>\n<p>Learn the\u00a0<a href=\"https:\/\/www.whizlabs.com\/blog\/aws-cost-optimization-best-practices\/\">AWS pricing<\/a>\u00a0model before progressing your services for better cost optimization!<\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Create_an_EC2_Instance\"><\/span>How to Create an EC2 Instance?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>We have learnt about the EC2 basics in our previous tutorial. In this demo, we will dive deep into the EC2 instance in\u00a0 management console and see how to create an EC2 instance. I assume that you have an AWS account already or you can also use Whizlabs Hands On labs environment to get AWS login credentials.<\/p>\n<p>Login to\u00a0<a href=\"https:\/\/aws.amazon.com\/console\/\" rel=\"noopener\" target=\"_blank\">AWS management console<\/a>\u00a0and navigate to the EC2 dashboard by clicking on the Services tab and EC2.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82634 size-full\" title=\"AWS EC2 dashboard\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/EC2_dashboard.png\" sizes=\"(max-width: 1434px) 100vw, 1434px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/EC2_dashboard.png 1434w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/EC2_dashboard-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/EC2_dashboard-1024x511.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/EC2_dashboard-768x383.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/EC2_dashboard-842x420.png 842w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/EC2_dashboard-640x319.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/EC2_dashboard-681x340.png 681w\" alt=\"AWS EC2 dashboard\" width=\"1434\" height=\"715\" \/>Now, click on the \u201cLaunch Instance\u201d button. Give a name as you wish and select the AMI type. We will create an Ubuntu 20.04 with SSD volume for this type.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82636 size-full\" title=\"AWS select_ami\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami.png\" sizes=\"(max-width: 1435px) 100vw, 1435px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami.png 1435w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami-1024x510.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami-768x382.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami-844x420.png 844w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami-640x318.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami-681x339.png 681w\" alt=\"AWS select_ami\" width=\"1435\" height=\"714\" \/><\/p>\n<p>Now, we need to select the instance type. The t2.micro is a free tier eligible instance type so that we will be creating\u00a0<strong>t2.micro<\/strong>\u00a0for this tutorial. You can select any instance type as per your needs (please check the pricing before launching the instance).<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82637 size-full\" title=\"AWS select instance type\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_instance_type.png\" sizes=\"(max-width: 1431px) 100vw, 1431px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_instance_type.png 1431w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_instance_type-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_instance_type-1024x511.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_instance_type-768x383.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_instance_type-842x420.png 842w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_instance_type-640x319.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_instance_type-681x340.png 681w\" alt=\"AWS select instance type\" width=\"1431\" height=\"714\" \/><\/p>\n<p>We need a key pair to connect to the EC2 instance. We can either select the existing key pair or create a new one. For this demo, we will create a new key pair. Click on \u201cCreate new key pair\u201d and give a name then click on create key pair. Save the file in your local.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82638 size-full\" title=\"AWS create key pair\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_key_pair.png\" sizes=\"(max-width: 1436px) 100vw, 1436px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_key_pair.png 1436w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_key_pair-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_key_pair-1024x507.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_key_pair-768x380.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_key_pair-848x420.png 848w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_key_pair-640x317.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_key_pair-681x337.png 681w\" alt=\"AWS create key pair\" width=\"1436\" height=\"711\" \/><\/p>\n<p>Leave the network settings as it is or enter your settings. I have enabled HTTP traffic to this instance.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82639 size-full\" title=\"AWS Network settings\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/network_settings.png\" sizes=\"(max-width: 1433px) 100vw, 1433px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/network_settings.png 1433w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/network_settings-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/network_settings-1024x509.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/network_settings-768x382.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/network_settings-845x420.png 845w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/network_settings-640x318.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/network_settings-681x338.png 681w\" alt=\"AWS Network settings\" width=\"1433\" height=\"712\" \/><\/p>\n<p>Next, we need to select storage for the instance. Add the storage you need and select the storage type. I have selected a general purpose SSD (gp2) for this demo.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82640 size-full\" title=\"AWS configure storage\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/configure_storage.png\" sizes=\"(max-width: 1433px) 100vw, 1433px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/configure_storage.png 1433w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/configure_storage-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/configure_storage-1024x511.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/configure_storage-768x383.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/configure_storage-842x420.png 842w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/configure_storage-640x319.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/configure_storage-681x340.png 681w\" alt=\"AWS configure storage\" width=\"1433\" height=\"715\" \/><br \/>\nReview the settings and click on launch instance.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82641 size-full\" title=\"AWS launch instance\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/launch_instance.png\" sizes=\"(max-width: 1436px) 100vw, 1436px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/launch_instance.png 1436w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/launch_instance-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/launch_instance-1024x508.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/launch_instance-768x381.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/launch_instance-846x420.png 846w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/launch_instance-640x318.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/launch_instance-681x338.png 681w\" alt=\"AWS launch instance\" width=\"1436\" height=\"713\" \/><\/p>\n<p>Within a few seconds, our instance will be created. Navigate to the EC2 dashboard and you should be able to see the instance in the running state.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82642 size-full\" title=\"AWS instance running\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/instance_running.png\" sizes=\"(max-width: 1437px) 100vw, 1437px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/instance_running.png 1437w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/instance_running-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/instance_running-1024x508.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/instance_running-768x381.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/instance_running-846x420.png 846w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/instance_running-640x318.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/instance_running-681x338.png 681w\" alt=\"AWS instance running\" width=\"1437\" height=\"713\" \/><\/p>\n<p>That\u2019s it! We have successfully created an EC2 instance.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Connecting_to_EC2_instance\"><\/span><span id=\"Connecting_to_EC2_instance\" class=\"ez-toc-section\"><\/span>Connecting to EC2 instance<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Let us now connect the instance which we have created using SSH. We have created a keypair with the name whizlabs-demo.pem. We need to change the file permission for this file. Run the following command to change the permission (replace the file name with your keypair file name).<\/p>\n<p><b>chmod 400 whizlabs-demo.pem<\/b><\/p>\n<p>Run the following command to connect to the instance. Replace the ip address with your public ip address.<\/p>\n<p><b>ssh -i \u201cwhizlabs-demo.pem\u201d ubuntu@3.110.121.20<\/b><\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82644 size-full\" title=\"AW ssh connect\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ssh_connect.png\" sizes=\"(max-width: 1038px) 100vw, 1038px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ssh_connect.png 1038w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ssh_connect-300x181.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ssh_connect-1024x617.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ssh_connect-768x462.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ssh_connect-698x420.png 698w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ssh_connect-640x385.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ssh_connect-681x410.png 681w\" alt=\"AW ssh connect\" width=\"1038\" height=\"625\" \/><\/p>\n<p><b>Configuring Elastic IP<\/b><\/p>\n<p>Now, we have a public IP assigned to our instance but that\u2019s not a static IP address. If we restart the instance, this IP will be replaced with another one. Elastic IP resolves this problem. We will see how to assign elastic IP to the instance in the following steps.<\/p>\n<p>Go to the EC2 dashboard and click on the Elastic IP.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82645 size-full\" title=\"AWS eip dashboard\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_dashboard.png\" sizes=\"(max-width: 1437px) 100vw, 1437px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_dashboard.png 1437w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_dashboard-300x143.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_dashboard-1024x490.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_dashboard-768x367.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_dashboard-879x420.png 879w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_dashboard-640x306.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_dashboard-681x326.png 681w\" alt=\"AWS eip dashboard\" width=\"1437\" height=\"687\" \/><\/p>\n<p>Click on \u201cAllocate Elastic IP Address\u201d and leave the settings as it is and click on allocate.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82646 size-full\" title=\"AWS eip allocate\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_allocate.png\" sizes=\"(max-width: 1437px) 100vw, 1437px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_allocate.png 1437w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_allocate-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_allocate-1024x507.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_allocate-768x381.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_allocate-848x420.png 848w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_allocate-640x317.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_allocate-681x337.png 681w\" alt=\"AWS eip allocate\" width=\"1437\" height=\"712\" \/><\/p>\n<p>An IP address has been allocated but not associated with any resource. We need to associate it with the instance which we have created. Select the Elastic IP and click on actions then click on associate elastic ip address.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82647 size-full\" title=\"AWS associate eip\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/associate_eip.png\" sizes=\"(max-width: 1432px) 100vw, 1432px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/associate_eip.png 1432w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/associate_eip-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/associate_eip-1024x510.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/associate_eip-768x382.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/associate_eip-844x420.png 844w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/associate_eip-640x319.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/associate_eip-681x339.png 681w\" alt=\"AWS associate eip\" width=\"1432\" height=\"713\" \/><\/p>\n<p>Select the instance id and click on associate.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82648 size-full\" title=\"AWS eip associate select instance\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_associate_select_instance.png\" sizes=\"(max-width: 1433px) 100vw, 1433px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_associate_select_instance.png 1433w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_associate_select_instance-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_associate_select_instance-1024x510.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_associate_select_instance-768x383.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_associate_select_instance-843x420.png 843w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_associate_select_instance-640x319.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/eip_associate_select_instance-681x339.png 681w\" alt=\"AWS eip associate select instance\" width=\"1433\" height=\"714\" \/><\/p>\n<p>You can verify this by navigating to the EC2 dashboard.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82649 size-full\" title=\"AWS verify eip\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/verify_eip.png\" sizes=\"(max-width: 1434px) 100vw, 1434px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/verify_eip.png 1434w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/verify_eip-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/verify_eip-1024x511.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/verify_eip-768x383.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/verify_eip-841x420.png 841w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/verify_eip-640x320.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/verify_eip-681x340.png 681w\" alt=\"AWS verify eip\" width=\"1434\" height=\"716\" \/><\/p>\n<p><b>Cleanup<\/b><\/p>\n<p>As we don\u2019t want to be billed, we will terminate the instance and release the Elastic IP as well. Note that, if the elastic ip address is kept unassociated with any resource, we will be charged for that as well.<\/p>\n<p>Go to EC2 console, select the instance, click on instance state and select terminate instance.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82650 size-full\" title=\"AWS terminate instance\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/terminate_instance.png\" sizes=\"(max-width: 1437px) 100vw, 1437px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/terminate_instance.png 1437w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/terminate_instance-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/terminate_instance-1024x510.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/terminate_instance-768x382.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/terminate_instance-844x420.png 844w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/terminate_instance-640x318.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/terminate_instance-681x339.png 681w\" alt=\"AWS terminate instance\" width=\"1437\" height=\"715\" \/><\/p>\n<p>Then navigate to the Elastic IP section, select the IP address and click on release IP address.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82651 size-full\" title=\"AWS release ip\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/release_ip.png\" sizes=\"(max-width: 1435px) 100vw, 1435px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/release_ip.png 1435w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/release_ip-300x149.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/release_ip-1024x508.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/release_ip-768x381.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/release_ip-846x420.png 846w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/release_ip-640x318.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/release_ip-681x338.png 681w\" alt=\"AWS release ip\" width=\"1435\" height=\"712\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_Create_an_EBS_Volume_and_Attach_to_EC2\"><\/span><span id=\"How_to_Create_an_EBS_Volume_and_Attach_to_EC2\" class=\"ez-toc-section\"><\/span>How to Create an EBS Volume and Attach to EC2?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Login to AWS console and navigate to EC2 dashboard. Under Elastic Block Store, click on Volumes.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82652 size-full\" title=\"AWS ebs dashboard\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_dashboard.png\" sizes=\"(max-width: 1436px) 100vw, 1436px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_dashboard.png 1436w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_dashboard-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_dashboard-1024x516.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_dashboard-768x387.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_dashboard-833x420.png 833w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_dashboard-640x323.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_dashboard-681x343.png 681w\" alt=\"AWS ebs dashboard\" width=\"1436\" height=\"724\" \/><\/p>\n<p>Choose volume type. I am selecting gp2 for this demo. Enter the volume size and select the availability zone where you want to attach. If you want to encrypt the disk, you can select the option \u201cEncrypt this volume\u201d and select the default KMS key. For this tutorial, I am creating a volume without encryption. Review the settings and click on create volume.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82653 size-full\" title=\"AWS ebs create volume\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_create_volume.png\" sizes=\"(max-width: 1435px) 100vw, 1435px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_create_volume.png 1435w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_create_volume-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_create_volume-1024x516.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_create_volume-768x387.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_create_volume-834x420.png 834w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_create_volume-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_create_volume-681x343.png 681w\" alt=\"AWS ebs create volume\" width=\"1435\" height=\"723\" \/><\/p>\n<p>Navigate to the EBS dashboard to see the volume. Let us see how to attach this volume to an EC2 instance.<\/p>\n<p>Click on the volume ID and click on Actions dropdown and select the option \u201cAttach Volume\u201d.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82654 size-full\" title=\"AWS ebs attach\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_attach.png\" sizes=\"(max-width: 1436px) 100vw, 1436px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_attach.png 1436w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_attach-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_attach-1024x516.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_attach-768x387.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_attach-834x420.png 834w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_attach-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_attach-681x343.png 681w\" alt=\"AWS ebs attach\" width=\"1436\" height=\"723\" \/><\/p>\n<p>Select the instance ID and click on attach.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82655 size-full\" title=\"AWS ebs select instance id\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_select_instance_id.png\" sizes=\"(max-width: 1434px) 100vw, 1434px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_select_instance_id.png 1434w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_select_instance_id-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_select_instance_id-1024x515.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_select_instance_id-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_select_instance_id-835x420.png 835w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_select_instance_id-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ebs_select_instance_id-681x342.png 681w\" alt=\"AWS ebs select instance id\" width=\"1434\" height=\"721\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Migrating_EC2_instance_from_one_region_to_another\"><\/span><span id=\"Migrating_EC2_instance_from_one_region_to_another\" class=\"ez-toc-section\"><\/span>Migrating EC2 instance from one region to another<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>As we know that AWS has regions and availability zones. Most of the AWS services are region specific. If you are running your servers on AWS, you may come across a situation where you want to migrate an EC2 instance running on one region to another region or one AZ to another AZ. In this article, we will see how to move EC2 instances from one region to another and one AZ to another AZ and one VPC to another VPC.<\/p>\n<p><b>What is a Region?<\/b><\/p>\n<p>Regions are the physical data centers of Amazon located around the world. Each region has different data centers which are physically isolated from each other and called availability zones.<\/p>\n<p><b>Migrate EC2 instance from one region to another<\/b><\/p>\n<p>I have an EC2 instance already created in the us-east-1 (N Virginia) region and I will migrate the instance to us-east-2(Ohio) region.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82658 size-full\" title=\"AWS ec2 dashboard\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ec2-running.png\" sizes=\"(max-width: 1433px) 100vw, 1433px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ec2-running.png 1433w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ec2-running-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ec2-running-1024x517.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ec2-running-768x387.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ec2-running-832x420.png 832w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ec2-running-640x323.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/ec2-running-681x344.png 681w\" alt=\"AWS ec2 dashboard\" width=\"1433\" height=\"723\" \/><\/p>\n<p>To migrate the instance, we need to create an Amazon Machine Image (AMI) from the existing instance and have to create a new instance in the new region.<\/p>\n<p>Select the instance and click on the actions dropdown, and select \u201cimage and templates\u201d and click on the \u201ccreate image\u201d.<\/p>\n<p>Give a name and optional description then click on \u201ccreate image\u201d button.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82659 size-full\" title=\"AWS create image\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image.png\" sizes=\"(max-width: 1434px) 100vw, 1434px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image.png 1434w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image-1024x516.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image-768x387.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image-834x420.png 834w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image-681x343.png 681w\" alt=\"AWS create image\" width=\"1434\" height=\"722\" \/><\/p>\n<p>Once the image is created, it needs to be copied to the destination region. In our case, it\u2019s Ohio(us-east-2). Select the image and click on actions dropdown and select copy ami.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82660 size-full\" title=\"AWS create image fields\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image_fields.png\" sizes=\"(max-width: 1437px) 100vw, 1437px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image_fields.png 1437w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image_fields-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image_fields-1024x514.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image_fields-768x385.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image_fields-837x420.png 837w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image_fields-640x321.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_image_fields-681x342.png 681w\" alt=\"AWS create image fields\" width=\"1437\" height=\"721\" \/><\/p>\n<p>Give a name and description, select the destination region. Then click on the \u201cCopy AMI\u201d.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82661 size-full\" title=\"Amazon Machine Images \" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copy_ami.png\" sizes=\"(max-width: 1435px) 100vw, 1435px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copy_ami.png 1435w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copy_ami-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copy_ami-1024x513.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copy_ami-768x385.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copy_ami-838x420.png 838w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copy_ami-640x321.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copy_ami-681x341.png 681w\" alt=\"Amazon Machine Images \" width=\"1435\" height=\"719\" \/><\/p>\n<p>Once the AMI is copied, the same will be visible on the destination region as well.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82662 size-full\" title=\"copied ami\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copied_ami.png\" sizes=\"(max-width: 1435px) 100vw, 1435px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copied_ami.png 1435w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copied_ami-300x152.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copied_ami-1024x517.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copied_ami-768x388.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copied_ami-831x420.png 831w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copied_ami-640x323.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/copied_ami-681x344.png 681w\" alt=\"copied ami\" width=\"1435\" height=\"725\" \/><\/p>\n<p>Now, we need to launch an EC2 instance using the newly copied AMI.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82664 size-full\" title=\"select ami1\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami1.png\" sizes=\"(max-width: 1431px) 100vw, 1431px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami1.png 1431w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami1-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami1-1024x514.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami1-768x385.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami1-837x420.png 837w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami1-640x321.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_ami1-681x342.png 681w\" alt=\"select ami1\" width=\"1431\" height=\"718\" \/><\/p>\n<p>That\u2019s it, we have successfully migrated the instance from the N Virginia region to the Ohio region.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82665 size-full\" title=\"migrated instance\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/migrated_instance.png\" sizes=\"(max-width: 1436px) 100vw, 1436px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/migrated_instance.png 1436w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/migrated_instance-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/migrated_instance-1024x512.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/migrated_instance-768x384.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/migrated_instance-840x420.png 840w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/migrated_instance-640x320.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/migrated_instance-681x341.png 681w\" alt=\"migrated instance\" width=\"1436\" height=\"718\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Setting_up_Performance_Monitoring_for_EC2_Instance\"><\/span><span id=\"Setting_up_Performance_Monitoring_for_EC2_Instance\" class=\"ez-toc-section\"><\/span>Setting up Performance Monitoring for EC2 Instance<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>Monitoring your cloud infrastructure is one of the major challenges you face when you migrate your servers to the cloud. Most of the AWS services integrate seamlessly with AWS CloudWatch, which is Amazon\u2019s built- in service that helps you to configure monitoring and alerts in just a few clicks.<\/p>\n<p>Amazon EC2 allows you to create instances on the cloud within minutes. Since it\u2019s a managed service, it\u2019s recommended to utilize the monitoring tools provided by AWS.<\/p>\n<p><b>AWS CloudWatch Overview<\/b><\/p>\n<p>CloudWatch is a monitoring tool or service offered by Amazon for the infrastructure and the applications running on it. CloudWatch can be used to monitor various AWS services and create metrics and alarms. It enables real time monitoring for AWS services like EC2 instances, RDS, etc.<\/p>\n<p><b>Namespaces:\u00a0<\/b>A container for CloudWatch metrics. Metrics in one namespace are isolated from another namespace.<\/p>\n<p><b>Metrics:\u00a0<\/b>Set of time-ordered points published to CloudWatch.<\/p>\n<p><b>Dimensions:\u00a0<\/b>A unique identifier for the metric.<\/p>\n<p><b>Statistics:\u00a0<\/b>Metric data aggregated over the time period.<\/p>\n<p><b>Alarms:\u00a0<\/b>Used to initiate actions on your behalf. Alarm monitors the metrics based on time interval and performs the suggested actions.<\/p>\n<p><b>Configuring CloudWatch Alarm<\/b><\/p>\n<p>We will see what are the basic alarms that need to be configured while deploying an EC2 instance. For this demo, we will configure default and custom metrics for the deployed EC2 instances. We also configure healcheck and HTTP errors.\u00a0<b><\/b><\/p>\n<ul>\n<li><b>CPU Utilization<\/b><\/li>\n<\/ul>\n<p>CPU utilization is a CloudWatch metric that is available by default. To configure this metric, login to the AWS management console, navigate to the Management tools and select CloudWatch.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82666 size-full\" title=\"cloudwatch nav\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cloudwatch_nav.png\" sizes=\"(max-width: 1432px) 100vw, 1432px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cloudwatch_nav.png 1432w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cloudwatch_nav-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cloudwatch_nav-1024x515.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cloudwatch_nav-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cloudwatch_nav-835x420.png 835w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cloudwatch_nav-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cloudwatch_nav-681x342.png 681w\" alt=\"cloudwatch nav\" width=\"1432\" height=\"720\" \/><\/p>\n<p>Click on the Alarms on the left then click on create alarm.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82667 size-full\" title=\"create alarm in AWS\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_alarm.png\" sizes=\"(max-width: 1434px) 100vw, 1434px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_alarm.png 1434w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_alarm-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_alarm-1024x513.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_alarm-768x385.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_alarm-839x420.png 839w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_alarm-640x320.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/create_alarm-681x341.png 681w\" alt=\"create alarm in AWS\" width=\"1434\" height=\"718\" \/><\/p>\n<p>On the next screen, click on the select metric.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82668 size-full\" title=\"select metric in AWS\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_metric.png\" sizes=\"(max-width: 1430px) 100vw, 1430px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_metric.png 1430w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_metric-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_metric-1024x514.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_metric-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_metric-836x420.png 836w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_metric-640x321.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/select_metric-681x342.png 681w\" alt=\"select metric in AWS\" width=\"1430\" height=\"718\" \/><\/p>\n<p>Select the metric \u201cCPU Utilization\u201d for the EC2 instance which you want to monitor. I have selected the instance named as cloudwatch-demo.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82669 size-full\" title=\"cpuutil metric in AWS\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cpuutil_metric.png\" sizes=\"(max-width: 1434px) 100vw, 1434px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cpuutil_metric.png 1434w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cpuutil_metric-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cpuutil_metric-1024x514.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cpuutil_metric-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cpuutil_metric-837x420.png 837w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cpuutil_metric-640x321.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/cpuutil_metric-681x342.png 681w\" alt=\"cpuutil metric in AWS\" width=\"1434\" height=\"720\" \/><\/p>\n<p>On the following screen, you will have an option to give a name and conditions for the alarm. Enter the details and click on next.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82670 size-full\" title=\"metric form in AWS\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/metric_form.png\" sizes=\"(max-width: 1433px) 100vw, 1433px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/metric_form.png 1433w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/metric_form-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/metric_form-1024x515.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/metric_form-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/metric_form-836x420.png 836w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/metric_form-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/metric_form-681x342.png 681w\" alt=\"metric form in AWS\" width=\"1433\" height=\"720\" \/><\/p>\n<p>On the next page, we need to configure the alarm actions. Define when the alarm should perform the actions and select the SNS topic. We can create a new SNS topic from this page if we don\u2019t have the existing one.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82671 size-full\" title=\"alarm actions in AWS\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_actions.png\" sizes=\"(max-width: 1425px) 100vw, 1425px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_actions.png 1425w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_actions-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_actions-1024x514.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_actions-768x385.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_actions-837x420.png 837w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_actions-640x321.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_actions-681x342.png 681w\" alt=\"alarm actions in AWS\" width=\"1425\" height=\"715\" \/><\/p>\n<p>Apart from sending the notifications, CloudWatch alarm can also perform other actions like autoscaling and EC2 state change, etc. For example, if the metric goes beyond the desired value, we can set the alarm to reboot the instance.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82672 size-full\" title=\"alarm ec2 reboot in AWS\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_ec2_reboot.png\" sizes=\"(max-width: 1427px) 100vw, 1427px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_ec2_reboot.png 1427w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_ec2_reboot-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_ec2_reboot-1024x517.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_ec2_reboot-768x387.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_ec2_reboot-832x420.png 832w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_ec2_reboot-640x323.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_ec2_reboot-681x344.png 681w\" alt=\"alarm ec2 reboot in AWS\" width=\"1427\" height=\"720\" \/><\/p>\n<p>Click on next, you will see a review page. Review the settings and click on create alarm.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82673 size-full\" title=\"AWS alarm review\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_review.png\" sizes=\"(max-width: 1433px) 100vw, 1433px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_review.png 1433w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_review-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_review-1024x515.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_review-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_review-835x420.png 835w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_review-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_review-681x343.png 681w\" alt=\"AWS alarm review\" width=\"1433\" height=\"721\" \/><\/p>\n<p>Once done, you can see the alarm created on the CloudWatch dashboard.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82674 size-full\" title=\"AWS alarm dash\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_dash.png\" sizes=\"(max-width: 1432px) 100vw, 1432px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_dash.png 1432w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_dash-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_dash-1024x515.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_dash-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_dash-835x420.png 835w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_dash-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_dash-681x342.png 681w\" alt=\"AWS alarm dash\" width=\"1432\" height=\"720\" \/><\/p>\n<p>If you click on the alarm name, you would be able to see a detailed view of an alarm.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82675 size-full\" title=\"AWS alarm view\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_view.png\" sizes=\"(max-width: 1431px) 100vw, 1431px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_view.png 1431w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_view-300x151.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_view-1024x515.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_view-768x386.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_view-835x420.png 835w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_view-640x322.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_view-681x343.png 681w\" alt=\"AWS alarm view\" width=\"1431\" height=\"720\" \/><\/p>\n<p><b>System Status Check<\/b><\/p>\n<p>StatusCheckFailed_System is another important metric for the EC2 instances. This metric is also available by default. To configure alarm for this metric, repeat the previous steps and select the metric as \u201cStatusCheckFailed_System\u201d.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82676 size-full\" title=\"AWS alarm status check\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_statuscheck.png\" sizes=\"(max-width: 1430px) 100vw, 1430px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_statuscheck.png 1430w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_statuscheck-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_statuscheck-1024x512.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_statuscheck-768x384.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_statuscheck-840x420.png 840w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_statuscheck-640x320.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/alarm_statuscheck-681x341.png 681w\" alt=\"AWS alarm status check\" width=\"1430\" height=\"715\" \/><\/p>\n<p>Please remember that there are two status checks performed. System status check and Instance status check.<\/p>\n<p><strong>System Status Check<\/strong>\u00a0monitors the AWS system required to use our instance. This check will fail in case of:<\/p>\n<ul>\n<li>Loss of network connectivity<\/li>\n<li>Software or Hardware issues on the physical host<\/li>\n<li>Power issues<\/li>\n<\/ul>\n<p>Usually these failures will be fixed by AWS or by rebooting the instance.<\/p>\n<p><strong>Instance Status Check<\/strong>\u00a0monitors the configuration and softwares of an instance. This status check will fail in case of:<\/p>\n<ul>\n<li>Incorrect network configuration<\/li>\n<li>Exhausted memory<\/li>\n<li>Corrupted disk\/filesystem<\/li>\n<\/ul>\n<p>Usually these failures need our involvement to be resolved.<\/p>\n<p>For this demonstration, I have selected a metric as \u201cStatusCheckFailed_System\u201d to create an alarm. Apart from selecting SNS topics to send a notification, the preferred EC2 action for this alarm would be the \u201crecover this instance\u201d.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-82677 size-full\" title=\"AWS recover instance\" src=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/recover_instance.png\" sizes=\"(max-width: 1431px) 100vw, 1431px\" srcset=\"https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/recover_instance.png 1431w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/recover_instance-300x150.png 300w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/recover_instance-1024x512.png 1024w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/recover_instance-768x384.png 768w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/recover_instance-839x420.png 839w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/recover_instance-640x320.png 640w, https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2022\/06\/recover_instance-681x341.png 681w\" alt=\"AWS recover instance\" width=\"1431\" height=\"716\" \/><\/p>\n<p>In this demonstration, we have created an EC2 instance, connected to the instance using SSH and allocated an Elastic IP address to the instance. We have also learnt how to create EBS volume and attach to EC2 instances. We have also seen how to migrate instances from one region to another. Hope you are able to follow along and the tutorial helped you.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><b>Conclusion<\/b><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400;\">These are just a few important enlightening details on the use of\u00a0<\/span><b>Amazon Elastic Compute Cloud<\/b><span style=\"font-weight: 400;\">. The practical use cases are meant to give you immense productivity at a very low but worthy investment. Therefore, if you intend to implement AWS services to your business operations, then Amazon EC2 should be one of the services that are to be picked on priority.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">It will help streamline the business operations and help you with processing your operational workloads at ease. You can get in touch with AWS consultants to get more ideas about Amazon EC2 before you can integrate it for your particular requirements.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Amazon Elastic Compute Cloud\u00a0 or Amazon EC2 is defined as a virtual computing environment. It allows people to use their web service interfaces for launching several instances with diverse operating systems. Along with that, it also allows the users to implement network access control or permissions. Apart from these perks, Amazon EC2 has a lot more to offer the business owners for streamlining their operational aspects. Therefore, this guide is the best material for you to educate yourself about the detailed aspects of\u00a0Amazon Elastic Compute Cloud\u00a0or Amazon EC2. Go through the complete Virtual Private Cloud Guide today! What is Amazon [&hellip;]<\/p>\n","protected":false},"author":13,"featured_media":78856,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4],"tags":[4205,4210,4206,4211,729,4208,4209,4207],"class_list":["post-78836","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-aws-certifications","tag-amazon-elastic-compute-cloud","tag-available-operating-systems-that-can-be-used-with-amazon-ec2-instances","tag-aws-elastic-compute-cloud","tag-benefits-of-leveraging-the-use-of-amazon-ec2","tag-elastic-compute-cloud","tag-how-can-you-use-amazon-ec2","tag-know-the-features-of-amazon-elastic-compute-cloud","tag-what-is-amazon-elastic-compute-cloud-or-amazon-ec2"],"uagb_featured_image_src":{"full":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",1108,622,false],"thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM-150x150.png",150,150,true],"medium":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM-300x168.png",300,168,true],"medium_large":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM-768x431.png",768,431,true],"large":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM-1024x575.png",1024,575,true],"1536x1536":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",1108,622,false],"2048x2048":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",1108,622,false],"profile_24":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",24,13,false],"profile_48":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",48,27,false],"profile_96":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",96,54,false],"profile_150":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",150,84,false],"profile_300":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",300,168,false],"tptn_thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM-250x250.png",250,250,true],"web-stories-poster-portrait":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",640,359,false],"web-stories-publisher-logo":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",96,54,false],"web-stories-thumbnail":["https:\/\/www.whizlabs.com\/blog\/wp-content\/uploads\/2021\/05\/Screenshot-2021-05-07-9.57.10-AM.png",150,84,false]},"uagb_author_info":{"display_name":"Pavan Gumaste","author_link":"https:\/\/www.whizlabs.com\/blog\/author\/pavan\/"},"uagb_comment_info":62,"uagb_excerpt":"Amazon Elastic Compute Cloud\u00a0 or Amazon EC2 is defined as a virtual computing environment. It allows people to use their web service interfaces for launching several instances with diverse operating systems. Along with that, it also allows the users to implement network access control or permissions. Apart from these perks, Amazon EC2 has a lot&hellip;","_links":{"self":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/78836","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/comments?post=78836"}],"version-history":[{"count":8,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/78836\/revisions"}],"predecessor-version":[{"id":91592,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/posts\/78836\/revisions\/91592"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/media\/78856"}],"wp:attachment":[{"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/media?parent=78836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/categories?post=78836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whizlabs.com\/blog\/wp-json\/wp\/v2\/tags?post=78836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}