[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"cheat-sheet---en":3,"domain-info---en":3,"topic-info----en":3,"next-aws-certified-cloud-practitioner-cloud-technology-and-services-compute-services-amazon-ec2-and-instance-types-en":4,"prev-aws-certified-cloud-practitioner-cloud-technology-and-services-compute-services-amazon-ec2-and-instance-types-en":18,"lesson-aws-certified-cloud-practitioner-cloud-technology-and-services-compute-services-amazon-ec2-and-instance-types-en":30},null,{"locked":5,"reason":6,"meta":7,"item":3},true,"paywall",{"title":8,"description":9,"isFree":10,"estimatedMinutes":11,"difficulty":12,"learningObjectives":13},"Containers: Amazon ECS and EKS","Learn what containers are, how they differ from virtual machines, and how Amazon ECS, Amazon EKS, and Amazon ECR work together to run containerized applications on AWS.",false,18,"beginner",[14,15,16,17],"Define a container and explain how it differs from a virtual machine","Describe the roles of Amazon ECR, Amazon ECS, and Amazon EKS","Compare Amazon ECS and Amazon EKS and when to choose each","Explain the two ways to provide compute for containers: EC2 and AWS Fargate",{"locked":5,"reason":6,"meta":19,"item":3},{"title":20,"description":21,"isFree":10,"estimatedMinutes":22,"difficulty":23,"learningObjectives":24},"High Availability and Multi-Region Design","Learn how to use multiple Availability Zones and multiple Regions to keep applications running through failures, and how high availability differs from disaster recovery.",16,"intermediate",[25,26,27,28,29],"Define high availability and explain why single points of failure are a risk","Explain how a Multi-AZ design protects against the loss of one data center","Describe when a multi-Region design is needed and what it protects against","Distinguish high availability from disaster recovery","Compare active-passive and active-active multi-Region patterns",{"locked":10,"reason":3,"meta":31,"item":39},{"title":32,"description":33,"isFree":5,"estimatedMinutes":11,"difficulty":12,"learningObjectives":34},"Amazon EC2 and Instance Types","Learn what Amazon EC2 is, the pieces that make up an instance, and how to read instance type names so you can pick the right hardware for a workload.",[35,36,37,38],"Define Amazon EC2 and explain what an instance is","Identify the main parts of an instance: AMI, instance type, key pair, security group, and storage","Compare the five EC2 instance type families and the workloads each one suits","Read an instance type name and explain what each part means",{"id":40,"title":32,"body":41,"description":33,"difficulty":12,"estimatedMinutes":11,"extension":320,"infographics":321,"isFree":5,"learningObjectives":322,"meta":323,"navigation":5,"path":324,"quiz":325,"seo":378,"stem":379,"__hash__":380},"courses/courses/aws-certified-cloud-practitioner/en/domains/03-cloud-technology-and-services/03-compute-services/01-amazon-ec2-and-instance-types.md",{"type":42,"value":43,"toc":309},"minimark",[44,49,53,56,60,63,66,69,73,76,136,139,142,146,149,221,224,228,236,268,282,286],[45,46,48],"h2",{"id":47},"why-this-matters","Why this matters",[50,51,52],"p",{},"Amazon EC2 is the service most people picture when they think of cloud computing: you rent a server, and it runs your application. It is one of the oldest and most widely used AWS services, and almost every other compute topic builds on it. The exam expects you to know what EC2 is, what makes up an instance, and how to match an instance type to a workload.",[50,54,55],{},"EC2 stands for Elastic Compute Cloud. \"Elastic\" because you can add or remove servers quickly, and \"Compute\" because the service gives you raw processing power. Instead of buying physical machines, you launch virtual servers in minutes and pay only for what you run.",[45,57,59],{"id":58},"what-is-amazon-ec2","What is Amazon EC2",[50,61,62],{},"Amazon EC2 provides on-demand, scalable computing capacity in the AWS Cloud. You launch virtual servers, called instances, and you control the operating system, the software, the networking, and the storage. You can start with one small instance and grow to thousands, then scale back down when demand drops.",[50,64,65],{},"Because the servers are virtual, you skip the slow parts of traditional IT. There is no hardware to buy, no data center to rack it in, and no weeks of waiting. You pick what you want, launch it, and it is ready in minutes. When you no longer need an instance, you stop or terminate it and stop paying for its compute time.",[50,67,68],{},"EC2 gives you a lot of control, which makes it flexible but also means more is your responsibility. You manage the operating system, patches, and the software you install. Later lessons cover services like Lambda and Fargate that hand more of that work to AWS.",[45,70,72],{"id":71},"the-parts-of-an-instance","The parts of an instance",[50,74,75],{},"When you launch an instance, you bring together a few pieces. Knowing each one is enough for the exam and for your first real launch.",[77,78,79,92],"table",{},[80,81,82],"thead",{},[83,84,85,89],"tr",{},[86,87,88],"th",{},"Component",[86,90,91],{},"What it is",[93,94,95,104,112,120,128],"tbody",{},[83,96,97,101],{},[98,99,100],"td",{},"Amazon Machine Image (AMI)",[98,102,103],{},"A template with the operating system and software the instance starts from",[83,105,106,109],{},[98,107,108],{},"Instance type",[98,110,111],{},"The hardware profile: how much CPU, memory, storage, and network the instance gets",[83,113,114,117],{},[98,115,116],{},"Key pair",[98,118,119],{},"A public and private key used to log in securely. AWS keeps the public key, you keep the private key",[83,121,122,125],{},[98,123,124],{},"Security group",[98,126,127],{},"A virtual firewall that controls which traffic can reach and leave the instance",[83,129,130,133],{},[98,131,132],{},"Storage",[98,134,135],{},"Disk for the instance: Amazon EBS for persistent volumes, or instance store for temporary data",[50,137,138],{},"The AMI decides what the server is (for example, Amazon Linux, Ubuntu, or Windows Server with your app preinstalled). The instance type decides how powerful it is. The key pair lets you connect to it. The security group decides who can talk to it. The storage holds its data.",[50,140,141],{},"One storage detail matters for the exam: Amazon EBS volumes are persistent, so the data survives a stop or restart, while instance store is temporary and is erased when the instance stops, hibernates, or terminates. Use instance store only for scratch data you can afford to lose.",[45,143,145],{"id":144},"instance-type-families","Instance type families",[50,147,148],{},"Every instance type belongs to a family that is tuned for a kind of work. Picking the right family means you pay for the resources your workload actually needs, instead of a generic machine that is too weak in one area and wasted in another.",[77,150,151,164],{},[80,152,153],{},[83,154,155,158,161],{},[86,156,157],{},"Family",[86,159,160],{},"Tuned for",[86,162,163],{},"Good for",[93,165,166,177,188,199,210],{},[83,167,168,171,174],{},[98,169,170],{},"General purpose",[98,172,173],{},"A balance of compute, memory, and networking",[98,175,176],{},"Web servers, small and medium databases, dev and test environments",[83,178,179,182,185],{},[98,180,181],{},"Compute optimized",[98,183,184],{},"High-performance processors",[98,186,187],{},"Batch processing, media transcoding, dedicated game servers, modeling",[83,189,190,193,196],{},[98,191,192],{},"Memory optimized",[98,194,195],{},"Large amounts of RAM",[98,197,198],{},"In-memory databases, big-data analytics, large enterprise applications",[83,200,201,204,207],{},[98,202,203],{},"Storage optimized",[98,205,206],{},"High local disk I/O",[98,208,209],{},"Data warehouses, large transactional databases, distributed file systems",[83,211,212,215,218],{},[98,213,214],{},"Accelerated computing",[98,216,217],{},"Hardware accelerators like GPUs",[98,219,220],{},"Machine learning, graphics rendering, scientific simulation",[50,222,223],{},"A simple way to remember it: general purpose is the all-rounder, compute optimized leans on the CPU, memory optimized leans on RAM, storage optimized leans on fast disks, and accelerated computing adds GPUs and other accelerators. AWS also offers an HPC optimized family for large-scale high-performance computing, but the five above are the core set to know.",[45,225,227],{"id":226},"reading-an-instance-type-name","Reading an instance type name",[50,229,230,231,235],{},"Instance type names look cryptic at first, but they follow a fixed pattern. Take ",[232,233,234],"code",{},"c7gn.xlarge"," as an example:",[237,238,239,250,256,262],"ul",{},[240,241,242,246,247,249],"li",{},[243,244,245],"strong",{},"c"," is the series, the family letter. Here ",[232,248,245],{}," means compute optimized.",[240,251,252,255],{},[243,253,254],{},"7"," is the generation. A higher number means newer hardware, usually with better price and performance.",[240,257,258,261],{},[243,259,260],{},"gn"," are the options, extra attributes such as a specific processor or added networking.",[240,263,264,267],{},[243,265,266],{},"xlarge"," is the size, after the dot. Larger sizes give you more vCPUs and memory.",[50,269,270,271,273,274,277,278,281],{},"So ",[232,272,234],{}," reads as a seventh-generation compute optimized instance with extra options, in the xlarge size. A smaller example, ",[232,275,276],{},"t3.micro",", is a third-generation general purpose ",[232,279,280],{},"t"," instance in the micro size, which is a common choice for light workloads and the AWS Free Tier. You do not need to memorize every letter for the exam, but you should be able to point at a name and say which part is the family, the generation, and the size.",[45,283,285],{"id":284},"exam-tips","Exam tips",[237,287,288,291,294,297,300,303],{},[240,289,290],{},"Amazon EC2 provides resizable virtual servers, called instances, that you launch on demand and pay for by compute time.",[240,292,293],{},"With EC2 you manage the operating system and software, so it gives you control but also more responsibility than serverless options.",[240,295,296],{},"An instance brings together an AMI (the OS and software template), an instance type (the hardware), a key pair (secure login), a security group (firewall), and storage.",[240,298,299],{},"EBS volumes are persistent storage; instance store is temporary and is erased when the instance stops or terminates.",[240,301,302],{},"Know the five core instance families: general purpose, compute optimized, memory optimized, storage optimized, and accelerated computing.",[240,304,305,306,308],{},"In a name like ",[232,307,234],{},": the letter is the family series, the number is the generation, the trailing letters are options, and the part after the dot is the size.",{"title":310,"searchDepth":311,"depth":311,"links":312},"",3,[313,315,316,317,318,319],{"id":47,"depth":314,"text":48},2,{"id":58,"depth":314,"text":59},{"id":71,"depth":314,"text":72},{"id":144,"depth":314,"text":145},{"id":226,"depth":314,"text":227},{"id":284,"depth":314,"text":285},"md",[],[35,36,37,38],{},"/courses/aws-certified-cloud-practitioner/en/domains/03-cloud-technology-and-services/03-compute-services/01-amazon-ec2-and-instance-types",{"passingScore":326,"questions":327},70,[328,337,345,349,357,364,370],{"question":329,"type":330,"options":331,"correctAnswer":333,"explanation":336},"What is an Amazon EC2 instance?","single",[332,333,334,335],"A managed relational database","A virtual server in the AWS Cloud","A folder for storing objects","A global content cache","EC2 (Elastic Compute Cloud) gives you virtual servers, called instances, that you launch on demand. Databases, object storage, and content caching are handled by other AWS services like RDS, S3, and CloudFront.",{"question":338,"type":330,"options":339,"correctAnswer":342,"explanation":344},"Which component is a preconfigured template that supplies the operating system and software for a new instance?",[340,341,342,343],"A security group","A key pair","An Amazon Machine Image (AMI)","An instance store volume","An AMI is the template AWS uses to boot an instance, including the OS and any bundled software. A security group is a firewall, a key pair is for secure login, and an instance store is temporary disk.",{"question":346,"type":330,"options":347,"correctAnswer":192,"explanation":348},"A data analytics team needs to process very large datasets that must be held in RAM. Which instance family is the best starting point?",[181,192,203,170],"Memory optimized instances are built for workloads that load large datasets into memory, such as in-memory databases and big-data analytics. Compute optimized favors CPU, and storage optimized favors local disk I/O.",{"question":350,"type":330,"options":351,"correctAnswer":353,"explanation":356},"In the instance type name c7gn.xlarge, what does the 7 represent?",[352,353,354,355],"The number of vCPUs","The generation of the instance family","The amount of memory in GiB","The number of Availability Zones it spans","The second position in the name is the generation, so 7 means a seventh-generation family. The leading letter is the series, the letters after it are extra options, and the part after the dot is the size.",{"question":358,"type":359,"options":360,"correctAnswers":362,"explanation":363},"Which of the following are parts of an EC2 instance's configuration? (Select all that apply.)","multiple",[342,361,340,341],"An instance type",[342,361,340,341],"Launching an instance ties together an AMI for the software, an instance type for the hardware, a security group as its firewall, and a key pair for secure login. Storage volumes attach on top of these.",{"question":365,"type":330,"options":366,"correctAnswer":368,"explanation":369},"An instance store volume keeps your data even after you stop or terminate the instance.",[367,368],"True","False","Instance store is temporary storage that is wiped when the instance stops, hibernates, or terminates. For data that must survive, attach an Amazon EBS volume, which is persistent.",{"question":371,"type":330,"options":372,"correctAnswer":374,"explanation":377},"What does the instance type determine when you launch an EC2 instance?",[373,374,375,376],"The geographic Region the instance runs in","The balance of CPU, memory, storage, and network resources the instance gets","The billing account that pays for the instance","The operating system installed on the instance","Each instance type offers a specific mix of compute, memory, storage, and networking. The Region is a separate choice, billing is handled by your account, and the operating system comes from the AMI.",{"title":32,"description":33},"courses/aws-certified-cloud-practitioner/en/domains/03-cloud-technology-and-services/03-compute-services/01-amazon-ec2-and-instance-types","IaGlWWdP-TBwxUehjyoHPW2gzcdv6aVx9x4myeugoSE"]