
EC2 LAUNCHING
Let’s go step by step and launch a simple web server on AWS. Step 1: Launch an EC2 Instance Go to the AWS Console open EC2 and click on Launch Instance. Now configure the instance: Name: my-web-server AMI: Amazon Linux 2, which is beginner-friendly Instance Type: t2.micro since it comes under the free tier Step 2: Choose a Key Pair You need a key pair to securely connect to your instance. You can either create a new one or use an existing key pair. Make sure to download the .pem file when creating it, because you’ll need it later to connect. Step 3: Configure Network Settings Allow the following ports: SSH (port 22) for logging into the server HTTP (port 80) so your website can be accessed from a browser Step 4: Launch the Instance Click on Launch Instance. Your server will now be created and started. Step 5: Connect to the Instance There are two easy ways to connect: First option: Use EC2 Instance Connect directly from the AWS Console. This is the easiest method. Second option: Use yo
Continue reading on Dev.to Webdev
Opens in a new tab

