From the course: AWS Essential Training for Developers
Creating an EC2 instance - Amazon Web Services (AWS) Tutorial
From the course: AWS Essential Training for Developers
Creating an EC2 instance
- [Instructor] Let's create our first server within EC2. From within the AWS console, in the Services search bar, type in EC2 and click on the entry that auto-completes. Check the region you are in, and make sure you are launching these instances into the region you wish to use. Click on the Launch Instance button. For Name, type awsdemo1. Scroll down to the section titled Application or OS Images or Amazon Machine Image. Virtual machines in AWS are called Amazon Machine Images or AMI. These virtual machines already have an operating system or OS installed on them, such as Windows Server or your favorite Linux distribution. There are several AMIs that already have entire server applications, such as WordPress, installed and configured for you. Type WordPress into the AMI search bar and hit Enter. Click on Community AMIs. You'll see several community AMIs that you can choose from that come pre-configured with WordPress installs provided by other AWS users. The AMI marketplace allows vendors to post server images that you can launch without additional charges. However, there are also some AMIs that have additional charges to cover the licensing and service fees for any commercial applications, so be sure to read the details before launching these. Click Cancel at the top. We are going to launch an instance with just Ubuntu installed on it, and set up the web server ourselves. Click on Ubuntu, and select the Ubuntu Server 24.04 LTS image. Scroll down to the Instance type and select t3.micro. There's several options in this pull-down, so let's break down the most common EC2 types.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Creating an EC2 instance2m 29s
-
(Locked)
Choosing the right EC2 instance type5m 26s
-
(Locked)
Creating a key pair3m 31s
-
(Locked)
Setting up a web server5m 36s
-
(Locked)
Stopping and starting vs. rebooting instances2m 28s
-
(Locked)
Right-sizing with EC2 autoscaling2m 24s
-
(Locked)
Creating backups with an AMI Snapshot4m 41s
-
(Locked)
Saving money in EC23m 18s
-
(Locked)
Challenge: Restore an EC2 instance25s
-
(Locked)
Solution: Restore an EC2 instance2m 14s
-
-
-
-
-
-
-
-
-
-
-