We can launch an EC2 instance by following these steps:
- Go to the EC2 dashboard.
- Click on Instances from the left sidebar.
- Click on the Launch Instance button at the top of the page.
- Select Amazon Linux 2 AMI (HVM), SSD Volume Type - ami-00dc79254d0461090 (64-bit x86).
- On the Choose an Instance Type page, set Type to t2.micro and click Next: Configure Instance Details.
- Within the Configure Instance Details page, either choose a custom VPC or the default one. You can also add user data that will be executed during the launch.
- We can use the default configuration in the Add Storage page. Click Next: Add Tags.
- On the Add Tags page, add a tag with Key set to Name. For Value, enter ...