{"id":4037,"date":"2026-05-19T18:26:41","date_gmt":"2026-05-19T11:26:41","guid":{"rendered":"https:\/\/daiilynews.cu.ma\/?p=4037"},"modified":"2026-05-19T18:26:41","modified_gmt":"2026-05-19T11:26:41","slug":"cloud-engineer-journey-6-ec2-explained-simply-launching-your-first-cloud-server","status":"publish","type":"post","link":"https:\/\/daiilynews.cu.ma\/?p=4037","title":{"rendered":"Cloud Engineer Journey #6 \u2014 EC2 Explained Simply &#038; Launching Your First Cloud Server"},"content":{"rendered":"<p> <br \/>\n<br \/>\n                After understanding:<\/p>\n<p>Linux fundamentals<br \/>\nAWS basics<br \/>\nand Cloud Computing concepts,<\/p>\n<p>it\u2019s time to work with one of the most important AWS services:<\/p>\n<p>EC2 is one of the core services in AWS and is heavily used in:<\/p>\n<p>Cloud Engineering<br \/>\nDevOps<br \/>\nHosting applications<br \/>\nAutomation<br \/>\nCI\/CD<br \/>\nDocker &#038; Kubernetes environments<\/p>\n<p>In this post, we\u2019ll understand:<\/p>\n<p>what EC2 actually is,<br \/>\nwhy companies use it,<br \/>\nand how to launch your first cloud server step by step.<\/p>\n<p>I\u2019ll keep everything beginner-friendly and practical.<\/p>\n<p>EC2 stands for:<\/p>\n<p>EC2 allows you to create virtual servers in the cloud.<\/p>\n<p>Think of EC2 like:\ud83d\udda5\ufe0f renting a computer\/server online whenever you need it.<\/p>\n<p>Instead of buying physical hardware, AWS lets you launch servers within minutes.<\/p>\n<p>These servers can run:<\/p>\n<p>websites,<br \/>\napplications,<br \/>\ndatabases,<br \/>\nAPIs,<br \/>\nautomation tools,<br \/>\nand many cloud workloads.<\/p>\n<p>Most modern cloud applications run on servers.<\/p>\n<p>EC2 helps companies:<\/p>\n<p>deploy applications quickly,<br \/>\nscale resources,<br \/>\nreduce hardware costs,<br \/>\nand manage infrastructure more easily.<\/p>\n<p>It is one of the most commonly used AWS services.<\/p>\n<p>Imagine you want to host:<\/p>\n<p>a website,<br \/>\na backend application,<br \/>\nor a Jenkins server.<\/p>\n<p>Instead of buying a physical machine:\ud83d\udc49 you can launch an EC2 instance in AWS within minutes.<\/p>\n<p>This is one of the main reasons cloud computing became so popular.<\/p>\n<p>When you launch a server in AWS, it is called an:<\/p>\n<p>Each instance includes:<\/p>\n<p>CPU<br \/>\nMemory (RAM)<br \/>\nStorage<br \/>\nNetworking<br \/>\nOperating System<\/p>\n<p>Just like a real computer.<\/p>\n<p>Before launching an EC2 instance, there are a few important concepts to understand.<\/p>\n<p>An AMI is a preconfigured operating system template.<\/p>\n<p>Example:<\/p>\n<p>Amazon Linux<br \/>\nUbuntu<br \/>\nRed Hat<\/p>\n<p>Think of it like:\ud83d\udcbf selecting which operating system you want to install on your server.<\/p>\n<p>Instance type decides:<\/p>\n<p>CPU power<br \/>\nRAM size<br \/>\nperformance level<\/p>\n<p>Example:<\/p>\n<p>&#8220;`bash id=&#8221;22j9mo&#8221;t2.micro<\/p>\n<p>This is commonly used in AWS Free Tier.<\/p>\n<p>&#8212;<\/p>\n<p># \ud83d\udd10 3. Key Pair<\/p>\n<p>AWS uses SSH keys for secure login.<\/p>\n<p>When creating an EC2 instance, AWS generates:<\/p>\n<p>* a public key<br \/>\n* and a private key<\/p>\n<p>The private key (`.pem` file) is used to connect to the server securely.<\/p>\n<p>&#8212;<\/p>\n<p># \ud83d\udee1\ufe0f 4. Security Groups<\/p>\n<p>Security Groups act like virtual firewalls.<\/p>\n<p>They control:<\/p>\n<p>* incoming traffic<br \/>\n* outgoing traffic<\/p>\n<p>Example:<\/p>\n<p>* Allow SSH (port 22)<br \/>\n* Allow HTTP (port 80)<\/p>\n<p>Without proper Security Group rules, you cannot access the server.<\/p>\n<p>&#8212;<\/p>\n<p># \ud83c\udf0d 5. Region<\/p>\n<p>AWS has multiple regions worldwide.<\/p>\n<p>Example:<\/p>\n<p>* Mumbai<br \/>\n* Virginia<br \/>\n* Singapore<br \/>\n* London<\/p>\n<p>Choosing a region closer to users improves performance and reduces latency.<\/p>\n<p>&#8212;<\/p>\n<p># \ud83d\ude80 Launching Your First EC2 Instance<\/p>\n<p>Basic steps:<\/p>\n<p>### 1. Open AWS Console<\/p>\n<p>Search for:<\/p>\n<p>&#8220;`bash id=&#8221;mf4ib7&#8243;<br \/>\nEC2<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>  2. Click \u201cLaunch Instance\u201d<\/p>\n<p>  3. Select an AMI<\/p>\n<p>Example:<\/p>\n<p>  4. Choose Instance Type<\/p>\n<p>Example:<\/p>\n<p>&#8220;`bash id=&#8221;7rk0p7&#8243;t2.micro<\/p>\n<p>&#8212;<\/p>\n<p>### 5. Create or Select Key Pair<\/p>\n<p>Download the `.pem` file safely.<\/p>\n<p>&#8212;<\/p>\n<p>### 6. Configure Security Group<\/p>\n<p>Allow:<\/p>\n<p>* SSH (22)<\/p>\n<p>Optional:<\/p>\n<p>* HTTP (80)<br \/>\n* HTTPS (443)<\/p>\n<p>&#8212;<\/p>\n<p>### 7. Launch Instance<\/p>\n<p>AWS will now create your cloud server.<\/p>\n<p>&#8212;<\/p>\n<p># \ud83d\udd17 Connecting to the EC2 Instance<\/p>\n<p>Once the instance is running, connect using SSH.<\/p>\n<p>Example:<\/p>\n<p>&#8220;`bash id=&#8221;m1v2p2&#8243;<br \/>\nssh -i key.pem ec2-user@your-public-ip<\/p>\n<p>    Enter fullscreen mode<\/p>\n<p>    Exit fullscreen mode<\/p>\n<p>Now you are connected to your cloud server \ud83d\ude80<\/p>\n<p>EC2 is heavily used in:<\/p>\n<p>application hosting,<br \/>\nautomation,<br \/>\nCI\/CD pipelines,<br \/>\nDocker setups,<br \/>\nKubernetes clusters,<br \/>\nmonitoring tools,<br \/>\nand cloud infrastructure.<\/p>\n<p>Understanding EC2 is one of the biggest first steps in Cloud Engineering.<\/p>\n<p>Try this on AWS:<\/p>\n<p>  Task:<\/p>\n<p>Launch an EC2 instance<br \/>\nUse Amazon Linux AMI<br \/>\nSelect t2.micro<br \/>\nCreate a key pair<br \/>\nConfigure Security Group for SSH<br \/>\nConnect to the instance using SSH<\/p>\n<p>\ud83d\udc49 In the next post, I\u2019ll explain the solution and common beginner mistakes step by step.<\/p>\n<p>EC2 may sound advanced at first, but the core idea is simple:<\/p>\n<p>\ud83d\udc49 AWS gives you virtual servers on demand.<\/p>\n<p>Instead of managing physical infrastructure, you can launch servers within minutes and use them for real-world applications.<\/p>\n<p>This is one of the most important foundations in AWS and Cloud Engineering \u2601\ufe0f<\/p>\n<p>If you are learning AWS, Linux, or Cloud basics and need help with even small doubts, feel free to connect with me through LinkedIn or email \u2014 always happy to learn and grow together \ud83d\ude80<\/p>\n<p><br \/>\n<br \/><a href=\"https:\/\/dev.to\/joyal_b_biju\/cloud-engineer-journey-6-ec2-explained-simply-launching-your-first-cloud-server-28b0\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After understanding: Linux fundamentals AWS basics and Cloud Computing concepts, it\u2019s time to work with one of the most important AWS services: EC2 is one of the core services in AWS and is heavily used in: Cloud Engineering DevOps Hosting applications Automation CI\/CD Docker &#038; Kubernetes environments In this post, we\u2019ll understand: what EC2 actually [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4038,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[676],"tags":[1533,1534,1532,761,765,762,1088,763,764,760],"class_list":["post-4037","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-ai","tag-aws","tag-awschallenge","tag-cloud","tag-coding","tag-community","tag-development","tag-devops","tag-engineering","tag-inclusive","tag-software"],"_links":{"self":[{"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/posts\/4037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4037"}],"version-history":[{"count":0,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/posts\/4037\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=\/wp\/v2\/media\/4038"}],"wp:attachment":[{"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/daiilynews.cu.ma\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}