From the course: AWS Certified SysOps Administrator - Associate (SOA-C02) Cert Prep

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Hands-on lab - setting up a web server on an EC2 instance

Hands-on lab - setting up a web server on an EC2 instance

- [Instructor] All right, let's learn how to set up a web server on an Amazon EC2 instance. One of the most common uses of Amazon EC2 is to host web servers, such as Apache, NGINX, and others. EC2 allows us to quickly set up and deploy web applications, websites, or other web-based services with the flexibility to scale resources up or down based on demand. Through this guide, we can learn how to launch an EC2 instance and set up AWS web server. Let's start. Log into your AWS management console. Go to the unified search bar on top and type EC2. Click EC2 in the results below. Wait for a few seconds for the page to load. The screen that you see here is the Amazon EC2 dashboard. There is this sidebar navigation on the left of the screen that shows the EC2 global view, EC2 events, instance types, AMIs, elastic block stores, load balancing, and other menu links that we can use. Now let's launch an EC2 virtual machine with an NGINX web server. First, click the Launch Instance button. Enter…

Contents