{"id":1528,"date":"2021-07-23T15:51:54","date_gmt":"2021-07-23T14:51:54","guid":{"rendered":"https:\/\/www.easydeploy.io\/blog\/?p=1528"},"modified":"2021-07-28T18:12:03","modified_gmt":"2021-07-28T17:12:03","slug":"aws-ec2-hands-on","status":"publish","type":"post","link":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/","title":{"rendered":"AWS EC2\u00a0Hands-on"},"content":{"rendered":"<p class=\"graf graf--p\">Read what is EC2, available types, and its pricing model in our below blog.<\/p>\n<p class=\"graf graf--p\"><a class=\"markup--anchor markup--p-anchor\" href=\"https:\/\/www.easydeploy.io\/blog\/?p=1522&amp;preview=true\" target=\"_blank\" rel=\"nofollow noopener\" data-href=\"https:\/\/www.easydeploy.io\/blog\/?p=1522&amp;preview=true\">https:\/\/www.easydeploy.io\/blog\/?p=1522&amp;preview=true<\/a><\/p>\n<p class=\"graf graf--p\">In this article, we will be doing pure hands-on with respect to EC2 creation, technical aspects to be considered while operating with EC2, different types, and OS supported, few things about AMI (Amazon Machine Image), and Snapshots.<\/p>\n<p class=\"graf graf--p\"><strong class=\"markup--strong markup--blockquote-strong\"><em class=\"markup--em markup--blockquote-em\">Let&#8217;s get started.<\/em><\/strong><\/p>\n<figure class=\"graf graf--figure graf--layoutOutsetLeft\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/900\/1*LHy1IztvmSI3-EhAAQBEPw.png\" data-image-id=\"1*LHy1IztvmSI3-EhAAQBEPw.png\" data-width=\"1087\" data-height=\"743\" \/><\/figure>\n<p class=\"graf graf--p\">An EC2 instance can be launched in multiple ways such as using a console which is a basic method used, another way is using CLI commands, or either using Lambda (API function) and one more way is using an Infrastructure as Code service i.e. Cloudformation.<\/p>\n<p class=\"graf graf--p\">Your EC2 instance can be of two types one being a Public instance and another is a Private instance.<\/p>\n<p class=\"graf graf--p\">A Public instance is one which is having public IP and is reachable from outside your network whereas, a Private instance will have only private IP and cannot be reached from outside of your defined network. When you stop and start a public instance its IP address will be changed and in a private instance, its IP remains the same.<\/p>\n<h2><strong>Launching an EC2 instance<\/strong><\/h2>\n<p class=\"graf graf--p\"><em class=\"markup--em markup--p-em\">Below are the steps to launch an Amazon Linux EC2 machine using the console.<\/em><\/p>\n<ol class=\"postList\">\n<li class=\"graf graf--li\">Login to console and choose EC2 wizard and click on launch instance. Here, we are choosing Amazon Linux 2 AMI.<\/li>\n<\/ol>\n<p class=\"graf graf--p\">An AMI is a template that contains the software configuration (operating system, application server, and applications) required to launch your instance. You can select an AMI provided by AWS, user community, or the AWS Marketplace; or you can select one of your own AMIs.<\/p>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*M4s1n5_U2-mZONV9JSspRw.jpeg\" data-image-id=\"1*M4s1n5_U2-mZONV9JSspRw.jpeg\" data-width=\"1904\" data-height=\"553\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p class=\"graf graf--p\">2. Choose the required instance type (instance types are discussed in our other article). Here, we are choosing t2.micro general purpose instance as it is available in the free tier.<\/p>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*6klvT7V7jEZVlAMjvqnj9w.jpeg\" data-image-id=\"1*6klvT7V7jEZVlAMjvqnj9w.jpeg\" data-width=\"1904\" data-height=\"570\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p class=\"graf graf--p\">3. This step allows you to configure your instance details such as VPC, Subnet, Public IP, IAM role, and few other pre defined parameters. Here, we are launching 1 t2.micro instance into default VPC and Public Subnet. (We will be discussing in details regarding VPC in our coming blogs).<\/p>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*dgm3SfHB683IrPpshnVLSA.jpeg\" data-image-id=\"1*dgm3SfHB683IrPpshnVLSA.jpeg\" data-width=\"1865\" data-height=\"589\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p class=\"graf graf--p\">4. In this step we will choose the required storage capacity as well type of volumes. In general Linux machine\u2019s Root volume will be \u201c\/dev\/xvda\u201d and for Windows, it will be \u201c\/dev\/sda1\u201d. We can add additional storage if required as well as encryption for the data.<\/p>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*nbfDx6_a7SlG0tpPyXuChw.jpeg\" data-image-id=\"1*nbfDx6_a7SlG0tpPyXuChw.jpeg\" data-width=\"1861\" data-height=\"363\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p class=\"graf graf--p\">5. Add Tags as per the standards followed. A tag consists of a case-sensitive key-value pair. These are very useful when you are defining any API function based on Tags.<\/p>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*cNG1ksDhQsKv_KDGta68dg.jpeg\" data-image-id=\"1*cNG1ksDhQsKv_KDGta68dg.jpeg\" data-width=\"1864\" data-height=\"354\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p class=\"graf graf--p\">6. A security group is a set of firewall rules that control the traffic for your instance. On this page, you can add rules to allow specific traffic to reach your instance. You can choose existing Security Group or can define your own. We are going with default here as port 22 is allowed from internet and this is sufficient for connecting to this machine via SSH.<\/p>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*hFa7yOZJcDvDGBXOOGv_FQ.jpeg\" data-image-id=\"1*hFa7yOZJcDvDGBXOOGv_FQ.jpeg\" data-width=\"1876\" data-height=\"478\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p class=\"graf graf--p\">7. In this step we will verify all parameters and choose the key pair to connect to this instance.<\/p>\n<p class=\"graf graf--p\">A key pair consists of a <strong class=\"markup--strong markup--p-strong\">public key<\/strong> that AWS stores, and a <strong class=\"markup--strong markup--p-strong\">private key file<\/strong> that you store. Together, they allow you to connect to your instance securely. For Windows AMIs, the private key file is required to obtain the password used to log into your instance via RDP. For Linux AMIs, the private key file allows you to securely SSH into your instance.<\/p>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*1A5W4sVNuhl7JXrnfHXM2w.jpeg\" data-image-id=\"1*1A5W4sVNuhl7JXrnfHXM2w.jpeg\" data-width=\"1611\" data-height=\"685\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p class=\"graf graf--p\">8. Once clicked on launch, your instance will be launched in less than one minute and ready to connect.<\/p>\n<h4><\/h4>\n<h2 class=\"graf graf--h4\"><strong class=\"markup--strong markup--h4-strong\">How to convert\u00a0.pem ssh key to\u00a0.ppk\u00a0format?\u00a0<\/strong><\/h2>\n<ol class=\"postList\">\n<li class=\"graf graf--li\">When you create a key pair in the final stage of launching instance the key will be created as .pem file and if you are going to connect to the instance from a windows machine, you need to convert it to .ppk file inorder to connect your instance.<\/li>\n<li class=\"graf graf--li\">Click on Load and locate your\u00a0.pem file once you select it key will be imported and click on Save private key which will be now converted to\u00a0.ppk format which you need to use to connect with instance.<\/li>\n<\/ol>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*ULA_C3Wd8LEIjULie6mWLA.jpeg\" data-image-id=\"1*ULA_C3Wd8LEIjULie6mWLA.jpeg\" data-width=\"736\" data-height=\"740\" \/><\/figure>\n<h4><\/h4>\n<h2 class=\"graf graf--h4\">How to connect to an instance using putty and .ppk file?<\/h2>\n<ol class=\"postList\">\n<li class=\"graf graf--li\">Launch a putty session and enter username and public IP of the instance. By default username would be \u201cec2-user\u201d for example ec2-user@publicip.<\/li>\n<li class=\"graf graf--li\">Now select \u201cssh\u201d &gt; \u201cAuth\u201d and browse for your\u00a0.ppk file.<\/li>\n<\/ol>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*0-1cN3KdJeVVYwLRINbOYw.jpeg\" data-image-id=\"1*0-1cN3KdJeVVYwLRINbOYw.jpeg\" data-width=\"687\" data-height=\"669\" \/><\/figure>\n<p>&nbsp;<\/p>\n<p class=\"graf graf--p\">3. Click on open and select yes to connect to your instance.<\/p>\n<figure class=\"graf graf--figure\"><img decoding=\"async\" class=\"graf-image\" src=\"https:\/\/cdn-images-1.medium.com\/max\/1200\/1*AzDTTQX4O4OpwDHyIwARpw.jpeg\" data-image-id=\"1*AzDTTQX4O4OpwDHyIwARpw.jpeg\" data-width=\"797\" data-height=\"478\" \/><\/figure>\n<h4><\/h4>\n<h3 class=\"graf graf--h4\">Run commands on your Linux instance at\u00a0launch<\/h3>\n<p class=\"graf graf--p\">When you launch an instance in Amazon EC2, you have the option of passing user data to the instance that can be used to perform common automated configuration tasks and even run scripts after the instance starts. You can pass two types of user data to Amazon EC2: shell scripts and cloud-init directives. You can also pass this data into the launch wizard as plain text, as a file (this is useful for launching instances using the command line tools), or as base64-encoded text (for API calls).<\/p>\n<p class=\"graf graf--p\">It has a prerequisite that your instance should have a public DNS name that is reachable from the internet. You must also configure your security group to allow SSH (port 22), HTTP (port 80), and HTTPS (port 443) connections.<\/p>\n<p class=\"graf graf--p\">You can specify instance user data when you launch the instance. If the root volume of the instance is an EBS volume, you can also stop the instance and update its user data.<\/p>\n<p class=\"graf graf--p\">Read more about User data here at AWS official page.<\/p>\n<div class=\"graf graf--mixtapeEmbed\"><a class=\"markup--anchor markup--mixtapeEmbed-anchor\" title=\"https:\/\/docs.aws.amazon.com\/AWSEC2\/latest\/UserGuide\/user-data.html\" href=\"https:\/\/docs.aws.amazon.com\/AWSEC2\/latest\/UserGuide\/user-data.html\" data-href=\"https:\/\/docs.aws.amazon.com\/AWSEC2\/latest\/UserGuide\/user-data.html\"><strong class=\"markup--strong markup--mixtapeEmbed-strong\">Run commands on your Linux instance at launch<\/strong><br \/>\n<em class=\"markup--em markup--mixtapeEmbed-em\">When you launch an instance in Amazon EC2, you have the option of passing user data to the instance that can be used to\u2026<\/em>docs.aws.amazon.com<\/a><\/div>\n<h2><strong>AWS EC2 CLI usage<\/strong><\/h2>\n<ul class=\"postList\">\n<li class=\"graf graf--li\"><strong>Launch an EC2 instance using CLI &#8211;<\/strong><\/li>\n<\/ul>\n<p class=\"graf graf--p graf--startsWithDoubleQuote\"><em class=\"markup--em markup--p-em\">\u201caws ec2 run-instances &#8211;image-id ami-xxxxx &#8211;count 1 &#8211;instance-type t2.micro\u200a\u2014\u200akey-name &lt;&lt;MyKeyPair&gt;&gt; &#8211;security-group-ids sg-xxxxx &#8211;subnet-id subnet-xxxxx\u201d<\/em><\/p>\n<ul class=\"postList\">\n<li class=\"graf graf--li\"><strong>Display your AWS EC2 key pair &#8211;<\/strong><\/li>\n<\/ul>\n<p class=\"graf graf--p graf--startsWithDoubleQuote\"><em class=\"markup--em markup--p-em\">\u201caws ec2 describe-key-pairs &#8211;key-name MyKeyPair\u201d<\/em><\/p>\n<ul class=\"postList\">\n<li class=\"graf graf--li\"><strong>Delete your keypair &#8211;<\/strong><\/li>\n<\/ul>\n<p class=\"graf graf--p graf--startsWithDoubleQuote\"><em class=\"markup--em markup--p-em\">\u201caws ec2 delete-key-pair &#8211;key-name MyKeyPair\u201d<\/em><\/p>\n<h4 class=\"graf graf--h4\">Conclusion<\/h4>\n<p class=\"graf graf--p\">AWS Elastic Compute Cloud (EC2) offers us the easiest and fastest way to launch a virtual server and host application or website to run our business in the shortest possible time. Its vast variety of instance types and feasible pricing model is best in the industry and can be chosen to meet the requirements of business from small to enterprise level.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Read what is EC2, available types, and its pricing model in our below blog. https:\/\/www.easydeploy.io\/blog\/?p=1522&amp;preview=true In this article, we will be doing pure hands-on with respect to EC2 creation, technical aspects to be considered while operating with EC2, different types, and OS supported, few things about AMI (Amazon Machine Image), and Snapshots. Let&#8217;s get started. [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":1582,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[1],"tags":[409,410,12,407,10,408],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AWS EC2 Hands-on<\/title>\n<meta name=\"description\" content=\"In this article, we will be doing pure hands-on with respect to EC2 creation, technical aspects to be considered while operating with EC2, different types, and OS supported, few things about AMI (Amazon Machine Image), and Snapshots.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AWS EC2 Hands-on\" \/>\n<meta property=\"og:description\" content=\"In this article, we will be doing pure hands-on with respect to EC2 creation, technical aspects to be considered while operating with EC2, different types, and OS supported, few things about AMI (Amazon Machine Image), and Snapshots.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/\" \/>\n<meta property=\"og:site_name\" content=\"easydeploy.io\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-23T14:51:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-28T17:12:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"987\" \/>\n\t<meta property=\"og:image:height\" content=\"586\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Siranjeevi R\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Siranjeevi R\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/\"},\"author\":{\"name\":\"Siranjeevi R\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/0e7f79e0cd26f6446f7a76d9d2d3b20c\"},\"headline\":\"AWS EC2\u00a0Hands-on\",\"datePublished\":\"2021-07-23T14:51:54+00:00\",\"dateModified\":\"2021-07-28T17:12:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/\"},\"wordCount\":1079,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png\",\"keywords\":[\"Amazon Machine Image\",\"AMI\",\"AWS\",\"AWS EC2 Hands-on\",\"EC2\",\"EC2 creation\"],\"articleSection\":[\"News\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/\",\"name\":\"AWS EC2 Hands-on\",\"isPartOf\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png\",\"datePublished\":\"2021-07-23T14:51:54+00:00\",\"dateModified\":\"2021-07-28T17:12:03+00:00\",\"description\":\"In this article, we will be doing pure hands-on with respect to EC2 creation, technical aspects to be considered while operating with EC2, different types, and OS supported, few things about AMI (Amazon Machine Image), and Snapshots.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#primaryimage\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png\",\"contentUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png\",\"width\":987,\"height\":586,\"caption\":\"AWS EC2 Hands-on\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.easydeploy.io\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS EC2\u00a0Hands-on\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#website\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/\",\"name\":\"easydeploy.io\",\"description\":\"A Cloud Architect Company\",\"publisher\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.easydeploy.io\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#organization\",\"name\":\"EasyDeploy Technologies Pvt Ltd\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png\",\"contentUrl\":\"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png\",\"width\":536,\"height\":100,\"caption\":\"EasyDeploy Technologies Pvt Ltd\"},\"image\":{\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/0e7f79e0cd26f6446f7a76d9d2d3b20c\",\"name\":\"Siranjeevi R\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/353661218917699fcc292e9bc0da9081?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/353661218917699fcc292e9bc0da9081?s=96&d=mm&r=g\",\"caption\":\"Siranjeevi R\"},\"url\":\"https:\/\/www.easydeploy.io\/blog\/author\/siru\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AWS EC2 Hands-on","description":"In this article, we will be doing pure hands-on with respect to EC2 creation, technical aspects to be considered while operating with EC2, different types, and OS supported, few things about AMI (Amazon Machine Image), and Snapshots.","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:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/","og_locale":"en_GB","og_type":"article","og_title":"AWS EC2 Hands-on","og_description":"In this article, we will be doing pure hands-on with respect to EC2 creation, technical aspects to be considered while operating with EC2, different types, and OS supported, few things about AMI (Amazon Machine Image), and Snapshots.","og_url":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/","og_site_name":"easydeploy.io","article_published_time":"2021-07-23T14:51:54+00:00","article_modified_time":"2021-07-28T17:12:03+00:00","og_image":[{"width":987,"height":586,"url":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png","type":"image\/png"}],"author":"Siranjeevi R","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Siranjeevi R","Estimated reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#article","isPartOf":{"@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/"},"author":{"name":"Siranjeevi R","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/0e7f79e0cd26f6446f7a76d9d2d3b20c"},"headline":"AWS EC2\u00a0Hands-on","datePublished":"2021-07-23T14:51:54+00:00","dateModified":"2021-07-28T17:12:03+00:00","mainEntityOfPage":{"@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/"},"wordCount":1079,"commentCount":0,"publisher":{"@id":"https:\/\/www.easydeploy.io\/blog\/#organization"},"image":{"@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#primaryimage"},"thumbnailUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png","keywords":["Amazon Machine Image","AMI","AWS","AWS EC2 Hands-on","EC2","EC2 creation"],"articleSection":["News"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/","url":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/","name":"AWS EC2 Hands-on","isPartOf":{"@id":"https:\/\/www.easydeploy.io\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#primaryimage"},"image":{"@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#primaryimage"},"thumbnailUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png","datePublished":"2021-07-23T14:51:54+00:00","dateModified":"2021-07-28T17:12:03+00:00","description":"In this article, we will be doing pure hands-on with respect to EC2 creation, technical aspects to be considered while operating with EC2, different types, and OS supported, few things about AMI (Amazon Machine Image), and Snapshots.","breadcrumb":{"@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#primaryimage","url":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png","contentUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2021\/07\/Electronic-Signatures-2.png","width":987,"height":586,"caption":"AWS EC2 Hands-on"},{"@type":"BreadcrumbList","@id":"https:\/\/www.easydeploy.io\/blog\/aws-ec2-hands-on\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.easydeploy.io\/blog\/"},{"@type":"ListItem","position":2,"name":"AWS EC2\u00a0Hands-on"}]},{"@type":"WebSite","@id":"https:\/\/www.easydeploy.io\/blog\/#website","url":"https:\/\/www.easydeploy.io\/blog\/","name":"easydeploy.io","description":"A Cloud Architect Company","publisher":{"@id":"https:\/\/www.easydeploy.io\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.easydeploy.io\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.easydeploy.io\/blog\/#organization","name":"EasyDeploy Technologies Pvt Ltd","url":"https:\/\/www.easydeploy.io\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png","contentUrl":"https:\/\/www.easydeploy.io\/blog\/wp-content\/uploads\/2019\/02\/easydeploy.png","width":536,"height":100,"caption":"EasyDeploy Technologies Pvt Ltd"},"image":{"@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/0e7f79e0cd26f6446f7a76d9d2d3b20c","name":"Siranjeevi R","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.easydeploy.io\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/353661218917699fcc292e9bc0da9081?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/353661218917699fcc292e9bc0da9081?s=96&d=mm&r=g","caption":"Siranjeevi R"},"url":"https:\/\/www.easydeploy.io\/blog\/author\/siru\/"}]}},"_links":{"self":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts\/1528"}],"collection":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/comments?post=1528"}],"version-history":[{"count":8,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts\/1528\/revisions"}],"predecessor-version":[{"id":1609,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/posts\/1528\/revisions\/1609"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/media\/1582"}],"wp:attachment":[{"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/media?parent=1528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/categories?post=1528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.easydeploy.io\/blog\/wp-json\/wp\/v2\/tags?post=1528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}