From the course: AWS Essential Training for Developers

Unlock this course with a free trial

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

Setting up a web server

Setting up a web server

- [Instructor] In the EC2 console, you might have to expand out the left-hand side by clicking on the hamburger icon. And then, under the Instances header, click on Instances. The instance state is listed next to our new instance. And if it doesn't say Running yet, just give it a few more minutes to start up. Click the checkbox next to the new instance name, and then click on the Connect button. Make sure that the EC2 Instance Connect tab is selected, and then click on the Connect button. This is going to launch a new tab with an SSH terminal connecting us to our running instance. Inside of your SSH session, type sudo apt update, and hit Enter. The AMI images that Amazon provides do not always include the latest packages or OS updates, so you'll want to make sure your virtual machine has the latest updates before starting. Now that Ubuntu has updated its list of available packages, type sudo apt upgrade, and hit Enter.…

Contents