{"id":10724,"date":"2024-05-17T14:09:50","date_gmt":"2024-05-17T11:09:50","guid":{"rendered":"https:\/\/sunucun.com.tr\/bilgi\/?post_type=dt_articles&#038;p=10724"},"modified":"2026-11-15T23:02:51","modified_gmt":"2026-11-15T20:02:51","slug":"aws-ec2-elastic-compute-cloud-2","status":"publish","type":"post","link":"https:\/\/sunucun.com.tr\/blog\/aws-ec2-elastic-compute-cloud-2\/","title":{"rendered":"What Is Amazon EC2? AWS Virtual Servers, Instance Types and Pricing"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>Amazon EC2 (Elastic Compute Cloud)<\/strong> is Amazon Web Services&#8217; (AWS) <strong>service for renting virtual servers in the cloud<\/strong>. With EC2 you launch as many virtual servers (called <strong>instances<\/strong> in AWS) as you need, choose the processor and memory capacity, configure network and security settings and pay only for the time you use. You can increase capacity when the load grows and reduce it when the load falls.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_90 ez-toc-wrap-center counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<span class=\"ez-toc-title-toggle\"><\/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:\/\/sunucun.com.tr\/blog\/aws-ec2-elastic-compute-cloud-2\/#Key_EC2_Concepts\" >Key EC2 Concepts<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/sunucun.com.tr\/blog\/aws-ec2-elastic-compute-cloud-2\/#EC2_Pricing_Models\" >EC2 Pricing Models<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/sunucun.com.tr\/blog\/aws-ec2-elastic-compute-cloud-2\/#How_to_Launch_a_Server_on_EC2\" >How to Launch a Server on EC2<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/sunucun.com.tr\/blog\/aws-ec2-elastic-compute-cloud-2\/#EC2_or_VPS\" >EC2 or VPS?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/sunucun.com.tr\/blog\/aws-ec2-elastic-compute-cloud-2\/#Frequently_Asked_Questions\" >Frequently Asked Questions<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/sunucun.com.tr\/blog\/aws-ec2-elastic-compute-cloud-2\/#Is_EC2_free\" >Is EC2 free?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/sunucun.com.tr\/blog\/aws-ec2-elastic-compute-cloud-2\/#Am_I_still_charged_if_an_EC2_instance_is_stopped\" >Am I still charged if an EC2 instance is stopped?<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Key_EC2_Concepts\"><\/span>Key EC2 Concepts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"snc-table-wrap\"><table>\n<thead><tr><th>Concept<\/th><th>What it does<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><strong>Instance<\/strong><\/td><td>A virtual server in the AWS cloud.<\/td><\/tr>\n<tr><td><strong>AMI (Amazon Machine Image)<\/strong><\/td><td>A ready-made server template containing the operating system and software (Amazon Linux, Ubuntu, Windows Server, etc.).<\/td><\/tr>\n<tr><td><strong>Instance type<\/strong><\/td><td>Different combinations of processor, memory, storage, network and GPU hardware (families for general purpose, compute, memory, storage or accelerated computing).<\/td><\/tr>\n<tr><td><strong>EBS volume<\/strong><\/td><td>A persistent disk whose data is kept even when the instance is stopped (Elastic Block Store).<\/td><\/tr>\n<tr><td><strong>Instance store<\/strong><\/td><td>A temporary disk; its data is deleted when the instance is stopped, hibernated or terminated.<\/td><\/tr>\n<tr><td><strong>Key pair<\/strong><\/td><td>Secure login credentials for the server; AWS stores the public key and you keep the private key.<\/td><\/tr>\n<tr><td><strong>Security group<\/strong><\/td><td>A virtual firewall that defines which protocols, ports and IP ranges are allowed access.<\/td><\/tr>\n<tr><td><strong>Elastic IP<\/strong><\/td><td>A static public IP address that can be assigned to an instance.<\/td><\/tr>\n<tr><td><strong>Region \/ Availability Zone<\/strong><\/td><td>The geographic region where the server runs, and the separate groups of data centres within that region.<\/td><\/tr>\n<\/tbody><\/table><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"EC2_Pricing_Models\"><\/span>EC2 Pricing Models<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>On-Demand:<\/strong> Pay per second (minimum 60 seconds) with no commitment or upfront payment.<\/li>\n<li><strong>Savings Plans:<\/strong> A discount in return for committing to a certain hourly spend (in USD) for 1 or 3 years.<\/li>\n<li><strong>Reserved Instances:<\/strong> A discount for a 1- or 3-year commitment to a specific instance type and region.<\/li>\n<li><strong>Spot Instances:<\/strong> Use AWS&#8217;s spare capacity at a much lower price; because AWS can take the capacity back, they are for interruption-tolerant workloads.<\/li>\n<li><strong>Dedicated Hosts:<\/strong> A physical server reserved for you; for using software licences tied to a server.<\/li>\n<li><strong>Free tier:<\/strong> According to the AWS page, new customers can get up to 200 USD in credits that can be used for up to 6 months, and EC2 is included. Terms can change, so check aws.amazon.com\/free.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Your bill includes not only server time but also items such as EBS disks, snapshots, Elastic IPs and data transferred out to the internet. Calculate the cost in advance with the AWS Pricing Calculator and set up a billing alert.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Launch_a_Server_on_EC2\"><\/span>How to Launch a Server on EC2<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create an AWS account and open the EC2 console; choose the region in the top right.<\/li>\n<li>With <strong>Launch instance<\/strong>, give the server a name and choose an AMI (for example Ubuntu Server or Windows Server).<\/li>\n<li>Choose the instance type; a small general-purpose type is enough for a small website.<\/li>\n<li>Create a key pair and store the private key file somewhere safe.<\/li>\n<li>In the security group, open only the ports you need (for example SSH 22 only to your own IP, and 80\/443 for the web).<\/li>\n<li>Set the disk (EBS) size and launch the instance; connect with SSH on Linux or RDP on Windows.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"EC2_or_VPS\"><\/span>EC2 or VPS?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<div class=\"snc-table-wrap\"><table>\n<thead><tr><th><\/th><th>Amazon EC2<\/th><th>Classic <a href=\"https:\/\/sunucun.com.tr\/vps-sunucu\" data-internallinksmanager029f6b8e52c=\"132\" title=\"Sanal sunucu se\u00e7eneklerini inceleyin\">VPS<\/a> \/ cloud server<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><strong>Billing<\/strong><\/td><td>Usage-based; traffic, disk and IP are separate items<\/td><td>Usually a fixed monthly plan<\/td><\/tr>\n<tr><td><strong>Scaling<\/strong><\/td><td>Auto scaling, load balancing, multiple regions<\/td><td>By upgrading the plan<\/td><\/tr>\n<tr><td><strong>Management<\/strong><\/td><td>Large AWS ecosystem, steeper learning curve<\/td><td>Simpler panel and local support<\/td><\/tr>\n<tr><td><strong>Best suited for<\/strong><\/td><td>Variable load, applications integrated with AWS services<\/td><td>Websites, e-commerce, application servers, a predictable budget<\/td><\/tr>\n<\/tbody><\/table><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">For projects that serve visitors in T\u00fcrkiye and want to keep costs fixed, our <a href=\"https:\/\/sunucun.com.tr\/en\/vps-server\">VPS server<\/a> or <a href=\"https:\/\/sunucun.com.tr\/en\/cloud-server\">cloud server<\/a> plans are a more predictable option. For cloud concepts, see our articles <a href=\"https:\/\/sunucun.com.tr\/blog\/cloud-computing\/\">what is cloud computing<\/a> and <a href=\"https:\/\/sunucun.com.tr\/blog\/virtualization\/\">virtualisation<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Frequently_Asked_Questions\"><\/span>Frequently Asked Questions<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Is_EC2_free\"><\/span>Is EC2 free?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">New AWS accounts can try EC2 free for a while with free tier credits. When the credits or the period run out, usage is charged; when the trial ends, remember to delete instances, disks and Elastic IPs you are not using.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Am_I_still_charged_if_an_EC2_instance_is_stopped\"><\/span>Am I still charged if an EC2 instance is stopped?<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">You are not charged for compute on a stopped instance, but attached EBS disks and, in some cases, Elastic IPs continue to be charged. To stop all charges, you need to terminate and delete the resources.<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>Amazon EC2 (Elastic Compute Cloud) is Amazon Web Services&#8217; (AWS) service for renting virtual servers in the cloud. With EC2 you launch as many virtual servers (called instances in AWS) as you need, choose the processor and memory capacity, configure network and security settings and pay only for the time you use. You can increase&hellip;<\/p>\n","protected":false},"author":1,"featured_media":10722,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[1519],"tags":[],"class_list":["post-10724","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-sanal-sunucu"],"_links":{"self":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts\/10724","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/comments?post=10724"}],"version-history":[{"count":1,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts\/10724\/revisions"}],"predecessor-version":[{"id":19508,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/posts\/10724\/revisions\/19508"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/media\/10722"}],"wp:attachment":[{"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/media?parent=10724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/categories?post=10724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sunucun.com.tr\/blog\/wp-json\/wp\/v2\/tags?post=10724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}