simple EC2 instance and run a webserver and access it from outside
βοΈ Launching an EC2 Instance and Hosting a Web Server (AWS Beginner Guide) Hi everyone π Today I tried something interesting in AWS β I created an EC2 instance, installed a web server, and accesse...

Source: DEV Community
βοΈ Launching an EC2 Instance and Hosting a Web Server (AWS Beginner Guide) Hi everyone π Today I tried something interesting in AWS β I created an EC2 instance, installed a web server, and accessed it from my browser π Let me walk you through the steps in a simple way π π What is EC2? EC2 (Elastic Compute Cloud) is a service provided by AWS that allows you to create a virtual machine in the cloud. π You can use it like your own computer: Install software Run applications Host websites π Step-by-Step Process πΉ Step 1: Login to AWS Console Go to AWS Console Search for EC2 Click Launch Instance πΉ Step 2: Configure Instance Choose the following: Name: MyWebServer AMI: Amazon Linux Instance Type: t2.micro (Free Tier) πΉ Step 3: Create Key Pair Create a new key pair Download .pem file π This is used to securely connect to your instance πΉ Step 4: Configure Security Group Allow these: SSH (Port 22) β for login HTTP (Port 80) β for web access π Very important step! πΉ Step 5: Launch