We will look at three ways of creating an EC2 instance: manually via the Management Console, with the AWS Command Line Interface (CLI), and with Terraform.
Using Elastic Compute Cloud
Creating an instance through the Management Console
Just to get a feel of the AWS Management Console and to fully understand how much Terraform simplifies working with AWS, let's create a single EC2 instance manually:
- Log in to the console and choose EC2 from the list of services:
![](https://static.packt-cdn.com/products/9781788623537/graphics/assets/b8b6562f-50f8-44cf-88ae-14c282633710.png)
- Click on Launch Instance:
![](https://static.packt-cdn.com/products/9781788623537/graphics/assets/8adae29b-ade2-4d1c-adbb-b218993f9ee2.png)
- Choose AWS Marketplace from the left sidebar, type Centos in the search box, and click on the Select button for the first search result:
![](https://static.packt-cdn.com/products/9781788623537/graphics/assets/f949784e-e929-4f3d-896f-5283b7323193.png)
- On each of the next pages, just click on Next till you reach the end of the process and...