[Super Beginner] Let's create an EC2 instance using the AWS free tier!

How are you feeling?

This is Hamada from the System Solutions Department

This time, we will introduce how to create an instance using the AWS free tier on EC2, a popular service

What is the AWS free tier?

AWS is a pay-as-you-go service, so you are charged based on the amount of time you use it.
The free tier allows you to use it for up to one year by following the available usage time and conditions.

Please see below for details on the account creation process and free tier

AWS account creation process

AWS Cloud Free Tier

Free tier notes

As you can see from the AWS Cloud Free Tier above, for example, with EC2 and RDS you can use up to 750 hours per month on a specified instance type

However, it is not always free and after 12 months the standard fee will apply

Some services may always be available free of charge

Create an EC2 instance

First, create an EC2 instance

From the AWS Management Console, select Services → Compute and then select EC2

Make sure the region in the upper right corner is set to Tokyo and click Create Instance

This time, select Amazon Linux 2

For the instance type, select t2.micro, which is eligible for the free tier

There is a button here called "Configure Instance Details." If you go there, you can configure detailed settings such as network, storage, security, and tags

I will omit it this time

Finally, check the contents and start it

Create and download a key pair for SSH connection
Please keep the key pair file in a safe place

If you check the dashboard, you will see that it is running
This time, the IP address and other information have been hidden, but if you select an instance on the dashboard screen, detailed information will be displayed

Now let's actually try connecting via SSH from the client

This time we will use a software called Teraterm

Teraterm is software for making SSH connections on Windows

I won't go into details here, but I hope you'll refer to the link below

[Learn from Scratch] How to Install and Use Teraterm

By default, a user called ec2-user is created, so enter that in the username field
Don't forget to reference the key file with the private key

Login was successful!

summary

What did you think?
This time, we introduced how to create an EC2 instance as an introduction
There are so many things you can do with the free plan, it's almost a waste to use it as a learning environment. (laughs)
If you have never used AWS before or would like to try it out, please take advantage of the free tier!
From now on, I'll be writing articles about anything I find useful while using AWS services!
If you found this article useful, please click [Like]!
0
Loading...
0 votes, average: 0.00 / 10
10,695
X Facebook Hatena Bookmark pocket

The person who wrote this article

About the author

Hamada Masaki

I joined the company as a new graduate in 2019.
While working on operations and maintenance, I am striving to become a full-stack engineer.
My hobby is darts. My goal is to become a professional!