{"id":8781,"date":"2022-11-02T11:16:04","date_gmt":"2022-11-02T11:16:04","guid":{"rendered":"https:\/\/lng-consultancy.com\/staging\/5474\/?p=8781"},"modified":"2022-11-04T10:22:28","modified_gmt":"2022-11-04T10:22:28","slug":"ec2-instances","status":"publish","type":"post","link":"https:\/\/lng-consultancy.com\/staging\/5474\/ec2-instances\/","title":{"rendered":"EC2 Instances"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"755\" height=\"377\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/ec2-1.png?resize=755%2C377&ssl=1\" alt=\"\" class=\"wp-image-8783\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/ec2-1.png?w=755&ssl=1 755w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/ec2-1.png?resize=300%2C150&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/ec2-1.png?resize=720%2C360&ssl=1 720w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">EC2 is one of the most popular of AWS\u2019 offering and\u00a0provides tons of features to fully leverage cloud computing according to our need. It is an abbreviation of Elastic Compute Cloud. It is an on-demand re-sizable compute service provided by Amazon in the cloud. It includes all the services a computing device can offer along with the flexibility of a virtual environment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s not just a single service, instead composed of many things:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>It can provide\/rent virtual machines of customer\u2019s choice.<\/li>\n\n\n\n<li>Provision to attach storage.<\/li>\n\n\n\n<li>Allow us to distribute load across many different machines using Elastic Load Balancing<\/li>\n\n\n\n<li>We can scale instances as per requirement using Auto Scaling Group<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>EC2 Instance<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">EC2 Instances are the virtual servers that we can take from AWS to run applications on the cost of paying rent for them. An instance has its own hardware drive, operating system, network connection etc. but everything is virtual. There can be multiple instances on a single physical computer. Even the user can dismantle the virtual device once its task is completed or if it\u2019s not required anymore. For providing all these scalable resources AWS charges some bill amount at the end of every month, bill amount is entirely dependent on our usage. We can do the following configuration for our rented server:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Choose Operating System \u2013 Linux, Windows, Mac<\/li>\n\n\n\n<li>How much Compute power or CPU<\/li>\n\n\n\n<li>How much RAM<\/li>\n\n\n\n<li>Handle Firewall Rules using Security group<\/li>\n\n\n\n<li>Bootstrap script to configure the instance at first launch<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Benefits and Features of EC2 Instances<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Users can configure their instances as per their requirements i.e. allocate the RAM, ROM, and storage as per need. We can select different hardware and software configurations. It provides redundancy in case of any failures. It allows organizations to develop and deploy applications much faster, without any upfront investment for the hardware.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some of the prominent features of EC2 \u2212<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Reliable<\/strong> \u2212 Amazon EC2 offers a highly reliable environment where replacement of dead instances is instantly possible. It provides facility to scale up and scale down\u00a0 as per need.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Designed for Amazon Web Services<\/strong> \u2212 Amazon EC2 works perfect with Amazon services like Amazon S3, Amazon RDS, Amazon DynamoDB, and Amazon SQS. It provides a full solution for compute and storage across a wide range of applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Secure<\/strong> \u2212 Amazon EC2 works in Amazon Virtual Private Cloud to provide a secure network to resources. We can configure security group to secure our instances. Also, IAM roles can be used to provide security.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Inexpensive<\/strong> \u2212 Amazon EC2 is based on pay per use strategy i.e. we will only be billed for what we actually use. It offers multiple purchase plans which we can choose as per our requirement.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Set up an EC2 Instance<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We have to first Login into our AWS account and on the management console, click on AWS EC2. Under create instance, click on launch instance and need to follow the below steps:-<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1) Choose AMI<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An AMI is a template that is used to create a new instance or virtual machine. It will contain information about the software, operating system, volume, and access permissions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Types of AMIs:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">i) <strong>Predefined AMIs<\/strong>: \u00a0Created by Amazon itself.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ii)<strong> Custom AMIs<\/strong>: The user creates these, and they can be reused. These AMIs are also available in the AMI Marketplace<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"959\" height=\"816\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/1-2.png?resize=959%2C816&ssl=1\" alt=\"\" class=\"wp-image-8815\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/1-2.png?w=959&ssl=1 959w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/1-2.png?resize=300%2C255&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/1-2.png?resize=768%2C653&ssl=1 768w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/1-2.png?resize=720%2C613&ssl=1 720w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2) Choose instance type<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An instance type specifies the hardware specifications that are required in the machine<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Instance types belong to five main families:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">i) <strong>Compute-optimized<\/strong>\u2013 For situations that require a lot of processing power from CPU. They are designed to run data-intensive applications that require faster network performance and high input output operations per second. For example, applications including machine learning.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ii) <strong>Memory-optimized<\/strong>\u2013 For applications that are heavy, hence require larger Random Access memory and lesser cpu power. We can use these instance types when we want many applications to run in background.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">iii) <strong>GPU optimized<\/strong>\u2013 For setting up a gaming system, or something with the requirement of a large graphic rendering<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">iv) <strong>Storage optimized<\/strong>\u2013 For applications that are larger in size and occupies lot of space. Well suited for applications that require high I\/O performance, such as NoSQL\u00a0databases that store and retrieve data in real time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">v) <strong>General-purpose<\/strong>\u2013 These instance types are mainly used when everything is equally balanced (performance and cost). They are designed to handle a variety of workloads. Some common use cases include software development and testing.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"984\" height=\"276\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/2-1.png?resize=984%2C276&ssl=1\" alt=\"\" class=\"wp-image-8816\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/2-1.png?w=984&ssl=1 984w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/2-1.png?resize=300%2C84&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/2-1.png?resize=768%2C215&ssl=1 768w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/2-1.png?resize=720%2C202&ssl=1 720w\" sizes=\"(max-width: 984px) 100vw, 984px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3) Configure Instance:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You have to specify the number of instances, purchasing options, the kind of network, the subnet, assign a public IP, set the IAM role etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the advanced details, we can write bootstrap scripts that are executed when the VM starts up. It also offers multiple payment options, such as:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">i) <strong>On-demand instances<\/strong>\u2013 They can be launched whenever the user requires it and available with normal rates.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ii) <strong>Reserved instances<\/strong>\u2013 These instances are reserved for one year or three years. The entire amount has to be paid in advance or over a span of a few months.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">iii) <strong>Spot instances<\/strong>\u2013 These instances are provided on the basis of bidding process. \u00a0Bidding goes to the customer with the highest bid. They are less expensive than on-demand instances.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/3-2.png?resize=461%2C121&ssl=1\" alt=\"\" class=\"wp-image-8817\" width=\"461\" height=\"121\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/3-2.png?w=461&ssl=1 461w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/3-2.png?resize=300%2C79&ssl=1 300w\" sizes=\"(max-width: 461px) 100vw, 461px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"978\" height=\"312\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/3_2.png?resize=978%2C312&ssl=1\" alt=\"\" class=\"wp-image-8818\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/3_2.png?w=978&ssl=1 978w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/3_2.png?resize=300%2C96&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/3_2.png?resize=768%2C245&ssl=1 768w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/3_2.png?resize=720%2C230&ssl=1 720w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4) Adding Storage:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00a0Deciding the type of storage, which could be:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">i) <strong>Ephemeral Storage<\/strong> \u2013 A temporary and free storage attached to our instance, which is only present when our instance is in running state.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">ii) <strong>Amazon Elastic Block Store<\/strong> \u2013 A Block storage based service. Data stored in EBS volume is paid and retained permanently.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">iii) <strong>Amazon S3<\/strong> \u2013 An Object based paid storage service.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"967\" height=\"395\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/4-2.png?resize=967%2C395&ssl=1\" alt=\"\" class=\"wp-image-8819\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/4-2.png?w=967&ssl=1 967w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/4-2.png?resize=300%2C123&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/4-2.png?resize=768%2C314&ssl=1 768w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/4-2.png?resize=720%2C294&ssl=1 720w\" sizes=\"(max-width: 967px) 100vw, 967px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5) Adding tags:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This helps to identify instances more quickly. Type a name for your AWS EC2 instance in the value box. This name, more correctly known as tag, will appear in the console when the instance launches. It makes it easy to keep track of running instances in a complex environment. We should use a name that can be easily recognized and remembered.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"979\" height=\"197\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/5-1.png?resize=979%2C197&ssl=1\" alt=\"\" class=\"wp-image-8820\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/5-1.png?w=979&ssl=1 979w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/5-1.png?resize=300%2C60&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/5-1.png?resize=768%2C155&ssl=1 768w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/5-1.png?resize=720%2C145&ssl=1 720w\" sizes=\"(max-width: 979px) 100vw, 979px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>6) Configuring security groups:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">These are a kind of firewall rules based on which users are given access to the EC2 instance. We can set up the type of protocol, the port range, and source (from where the incoming traffic is coming from). \u00a0Incoming traffic has to be explicitly defined, and outgoing traffic is open.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"966\" height=\"515\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/6-1.png?resize=966%2C515&ssl=1\" alt=\"\" class=\"wp-image-8821\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/6-1.png?w=966&ssl=1 966w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/6-1.png?resize=300%2C160&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/6-1.png?resize=768%2C409&ssl=1 768w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/6-1.png?resize=720%2C384&ssl=1 720w\" sizes=\"(max-width: 966px) 100vw, 966px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>7) Key Pair:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A Key pair is a kind of security credentials that user uses to prove his identity while connecting to the instance.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"965\" height=\"245\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/7-1.png?resize=965%2C245&ssl=1\" alt=\"\" class=\"wp-image-8822\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/7-1.png?w=965&ssl=1 965w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/7-1.png?resize=300%2C76&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/7-1.png?resize=768%2C195&ssl=1 768w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/7-1.png?resize=720%2C183&ssl=1 720w\" sizes=\"(max-width: 965px) 100vw, 965px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Private key<\/strong>: \u00a0This key is downloaded by user to log-in to the instances.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Public key<\/strong>: This key is used by AWS to confirm the identity of the user.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">After choosing \u2018create a new pair\u2019, a new private key is generated and downloaded as a .pem file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Anyone who is having our private key can access our instance, so its mandatory to store it securely somewhere.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Instance Lifecycle<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An instance lifecycle starts when it is launched and ends when it is finally terminated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Initially, when you launch a new EC2 instance from an AMI image, it enters in the pending state. The instance type that you specified at launching time, determines the hardware characteristics of the host computer for your EC2 instance. When your EC2 instance is in the pending state, AWS move the EC2 instance into a new host computer.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When we stop the EC2 instance, it performs a normal shutdown and then transitions to a stopped state. While our instance is in the stopped state, we could modify some instance\u2019s attributes like the instance type etc. After stopping, AWS doesn\u2019t charge users for the instance, but it do charge for any attached Amazon EBS volumes related usage.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"747\" height=\"379\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/8.png?resize=747%2C379&ssl=1\" alt=\"\" class=\"wp-image-8791\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/8.png?w=747&ssl=1 747w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/8.png?resize=300%2C152&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/8.png?resize=720%2C365&ssl=1 720w\" sizes=\"(max-width: 747px) 100vw, 747px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, when an EC2 instance is terminated, the instance performs a normal shutdown. All host resources are liberated, and the root device volume is deleted by default.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Connecting with your EC2 instance<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Connecting with our newly created instance is quite straightforward. We can connect to the instance over a private network using an SSH client or the EC2 Instance Connect CLI.\u00a0<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Steps to connect:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">1) Open your Amazon EC2 Console<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">2) Choose the instance you want to connect<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">3) Click \u201cConnect\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"755\" height=\"274\" src=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/9-1.png?resize=755%2C274&ssl=1\" alt=\"\" class=\"wp-image-8793\" srcset=\"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/9-1.png?w=755&ssl=1 755w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/9-1.png?resize=300%2C109&ssl=1 300w, https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/9-1.png?resize=720%2C261&ssl=1 720w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We are connected to our instance. Let\u2019s start with a quick demo to play with it now.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Links<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/docs.aws.amazon.com\/AWSEC2\/latest\/UserGuide\/Instances.html\">Amazon EC2 instances \u2013 Amazon Elastic Compute Cloud<\/a><strong><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.geeksforgeeks.org\/what-is-elastic-compute-cloud-ec2\">https:\/\/www.geeksforgeeks.org\/what-is-elastic-compute-cloud-ec2<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.edureka.co\/blog\/ec2-aws-tutorial-elastic-compute-cloud\/\">What is AWS EC2: Learn Elastic Compute Cloud (EC2) in AWS (edureka.co)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>EC2 is one of the most popular of AWS\u2019 offering and\u00a0provides tons of features to fully leverage cloud computing according to our need. It is an abbreviation of Elastic Compute Cloud. It is an on-demand re-sizable compute service provided by Amazon in the cloud. It includes all the services a computing device can offer along [&hellip;]<\/p>\n","protected":false},"author":28,"featured_media":8809,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"nf_dc_page":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[32],"tags":[],"class_list":["post-8781","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>EC2 Instances - L&amp;G Consultancy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/lng-consultancy.com\/ec2-instances\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EC2 Instances - L&amp;G Consultancy\" \/>\n<meta property=\"og:description\" content=\"EC2 is one of the most popular of AWS\u2019 offering and\u00a0provides tons of features to fully leverage cloud computing according to our need. It is an abbreviation of Elastic Compute Cloud. It is an on-demand re-sizable compute service provided by Amazon in the cloud. It includes all the services a computing device can offer along [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/lng-consultancy.com\/ec2-instances\/\" \/>\n<meta property=\"og:site_name\" content=\"L&amp;G Consultancy\" \/>\n<meta property=\"article:published_time\" content=\"2022-11-02T11:16:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-04T10:22:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/lng-consultancy.com\/wp-content\/uploads\/2022\/11\/ec2-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"755\" \/>\n\t<meta property=\"og:image:height\" content=\"377\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Gundeep Kaur\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Gundeep Kaur\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/\"},\"author\":{\"name\":\"Gundeep Kaur\",\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#\\\/schema\\\/person\\\/f967876139fc46a65972906d8299b101\"},\"headline\":\"EC2 Instances\",\"datePublished\":\"2022-11-02T11:16:04+00:00\",\"dateModified\":\"2022-11-04T10:22:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/\"},\"wordCount\":1399,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/lng-consultancy.com\\\/staging\\\/5474\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/ec2-2.png?fit=755%2C377&ssl=1\",\"articleSection\":[\"Software Development\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/\",\"url\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/\",\"name\":\"EC2 Instances - L&amp;G Consultancy\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/lng-consultancy.com\\\/staging\\\/5474\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/ec2-2.png?fit=755%2C377&ssl=1\",\"datePublished\":\"2022-11-02T11:16:04+00:00\",\"dateModified\":\"2022-11-04T10:22:28+00:00\",\"author\":{\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#\\\/schema\\\/person\\\/f967876139fc46a65972906d8299b101\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/lng-consultancy.com\\\/staging\\\/5474\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/ec2-2.png?fit=755%2C377&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/lng-consultancy.com\\\/staging\\\/5474\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/ec2-2.png?fit=755%2C377&ssl=1\",\"width\":755,\"height\":377},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/lng-consultancy.com\\\/ec2-instances\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/lng-consultancy.com\\\/staging\\\/5474\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EC2 Instances\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#website\",\"url\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/\",\"name\":\"L&amp;G Consultancy\",\"description\":\"Your Technology Partner\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/sh024.global.temp.domains\\\/~landgcon\\\/#\\\/schema\\\/person\\\/f967876139fc46a65972906d8299b101\",\"name\":\"Gundeep Kaur\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/97f22280da4105993e8ff0181dae65157589946a128922d8f01591e9f3419715?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/97f22280da4105993e8ff0181dae65157589946a128922d8f01591e9f3419715?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/97f22280da4105993e8ff0181dae65157589946a128922d8f01591e9f3419715?s=96&d=mm&r=g\",\"caption\":\"Gundeep Kaur\"},\"url\":\"https:\\\/\\\/lng-consultancy.com\\\/staging\\\/5474\\\/author\\\/gkaur123\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EC2 Instances - L&amp;G Consultancy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/lng-consultancy.com\/ec2-instances\/","og_locale":"en_US","og_type":"article","og_title":"EC2 Instances - L&amp;G Consultancy","og_description":"EC2 is one of the most popular of AWS\u2019 offering and\u00a0provides tons of features to fully leverage cloud computing according to our need. It is an abbreviation of Elastic Compute Cloud. It is an on-demand re-sizable compute service provided by Amazon in the cloud. It includes all the services a computing device can offer along [&hellip;]","og_url":"https:\/\/lng-consultancy.com\/ec2-instances\/","og_site_name":"L&amp;G Consultancy","article_published_time":"2022-11-02T11:16:04+00:00","article_modified_time":"2022-11-04T10:22:28+00:00","og_image":[{"width":755,"height":377,"url":"https:\/\/lng-consultancy.com\/wp-content\/uploads\/2022\/11\/ec2-2.png","type":"image\/png"}],"author":"Gundeep Kaur","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Gundeep Kaur","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/lng-consultancy.com\/ec2-instances\/#article","isPartOf":{"@id":"https:\/\/lng-consultancy.com\/ec2-instances\/"},"author":{"name":"Gundeep Kaur","@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#\/schema\/person\/f967876139fc46a65972906d8299b101"},"headline":"EC2 Instances","datePublished":"2022-11-02T11:16:04+00:00","dateModified":"2022-11-04T10:22:28+00:00","mainEntityOfPage":{"@id":"https:\/\/lng-consultancy.com\/ec2-instances\/"},"wordCount":1399,"commentCount":0,"image":{"@id":"https:\/\/lng-consultancy.com\/ec2-instances\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/ec2-2.png?fit=755%2C377&ssl=1","articleSection":["Software Development"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/lng-consultancy.com\/ec2-instances\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/lng-consultancy.com\/ec2-instances\/","url":"https:\/\/lng-consultancy.com\/ec2-instances\/","name":"EC2 Instances - L&amp;G Consultancy","isPartOf":{"@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#website"},"primaryImageOfPage":{"@id":"https:\/\/lng-consultancy.com\/ec2-instances\/#primaryimage"},"image":{"@id":"https:\/\/lng-consultancy.com\/ec2-instances\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/ec2-2.png?fit=755%2C377&ssl=1","datePublished":"2022-11-02T11:16:04+00:00","dateModified":"2022-11-04T10:22:28+00:00","author":{"@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#\/schema\/person\/f967876139fc46a65972906d8299b101"},"breadcrumb":{"@id":"https:\/\/lng-consultancy.com\/ec2-instances\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/lng-consultancy.com\/ec2-instances\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/lng-consultancy.com\/ec2-instances\/#primaryimage","url":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/ec2-2.png?fit=755%2C377&ssl=1","contentUrl":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/ec2-2.png?fit=755%2C377&ssl=1","width":755,"height":377},{"@type":"BreadcrumbList","@id":"https:\/\/lng-consultancy.com\/ec2-instances\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/lng-consultancy.com\/staging\/5474\/"},{"@type":"ListItem","position":2,"name":"EC2 Instances"}]},{"@type":"WebSite","@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#website","url":"http:\/\/sh024.global.temp.domains\/~landgcon\/","name":"L&amp;G Consultancy","description":"Your Technology Partner","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/sh024.global.temp.domains\/~landgcon\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"http:\/\/sh024.global.temp.domains\/~landgcon\/#\/schema\/person\/f967876139fc46a65972906d8299b101","name":"Gundeep Kaur","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/97f22280da4105993e8ff0181dae65157589946a128922d8f01591e9f3419715?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/97f22280da4105993e8ff0181dae65157589946a128922d8f01591e9f3419715?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/97f22280da4105993e8ff0181dae65157589946a128922d8f01591e9f3419715?s=96&d=mm&r=g","caption":"Gundeep Kaur"},"url":"https:\/\/lng-consultancy.com\/staging\/5474\/author\/gkaur123\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/lng-consultancy.com\/staging\/5474\/wp-content\/uploads\/2022\/11\/ec2-2.png?fit=755%2C377&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/posts\/8781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/users\/28"}],"replies":[{"embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/comments?post=8781"}],"version-history":[{"count":4,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/posts\/8781\/revisions"}],"predecessor-version":[{"id":8824,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/posts\/8781\/revisions\/8824"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/media\/8809"}],"wp:attachment":[{"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/media?parent=8781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/categories?post=8781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lng-consultancy.com\/staging\/5474\/wp-json\/wp\/v2\/tags?post=8781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}