
Create a simple EC2 instance and run a webserver and access it from outside.
Step 1: Launch Your Virtual Server ,log into your AWS Management Console. Search for EC2 in the top search bar and click on it. Give your server a name, like "My-First-Web-Server". Step 2:Under Application and OS Images (Amazon Machine Image), select Amazon Linux. It is optimized for AWS. Ensure the Free tier eligible tag is visible so you don't accidentally run up a bill. For the Instance type, leave it as t2.micro (or t3.micro depending on your region). Step 3: Create the Keys to the instance. To securely connect to your server later, you need a digital key. Under Key pair (login), click Create new key pair. Name it something like "web-server-key", leave the defaults , and hit create. Step 4: Configure the Security Groups By default, AWS blocks all incoming traffic to protect your server. Since we are building a web server, we need to open the doors for the internet to see it. Under Network settings, check the box that says Allow SSH traffic from . Set the dropdown to My IP for maxim
Continue reading on Dev.to Beginners
Opens in a new tab

![[MM’s] Boot Notes — The Day Zero Blueprint — Test Smarter on Day One](/_next/image?url=https%3A%2F%2Fcdn-images-1.medium.com%2Fmax%2F1368%2F1*AvVpFzkFJBm-xns4niPLAA.png&w=1200&q=75)

