Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » AWS/Azure/OpenShift » How to create an EC2 Instance
  • ntp server testen
    Enable or disable Linux System’s Clock Sync with NTP Server Linux
  • djhfhjhg
    What is the difference between iDRAC, IPMI, and ILO Network | Monitoring
  • screenshot 2020 05 03 at 18.30.44
    Setup Cisco ASA: Wiping Old Configurations Network | Monitoring
  • How to download install and use Kitty SSH Client on Windows
    How to Download and Use KiTTY SSH Client on Windows Configuration Management Tool
  • MBAM Client
    How to Check if MBAM Agent is installed on Windows PC Windows
  • Enable or Disable Siri
    How to enable Siri on Mac devices Mac
  • vcx
    Fix Error code 0x4 Session disconnected: Your session ended because of an error, if this keeps happening, contact your system administrator Windows
  • Fatal Refusing to Merge
    How to Fix Fatal Git Error Refusing to Merge Unrelated Histories Version Control System

How to create an EC2 Instance

Posted on 29/02/202429/02/2024 Christian By Christian No Comments on How to create an EC2 Instance
Ec2 Instance

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides secure, resizable computing capacity in the cloud. Amazon EC2 offers many options that help you build and run virtually any application. With these possibilities, getting started with EC2 is quick and easy to do. In this article, we shall discuss how to create an EC2 Instance. Please see the Various ways to restart an AWS EC2 instance, How to sync S3 Bucket with an EC2 instance, and How to Add and Format a New Virtual Disk to an EC2 Instance.

Note: With the AWS Free Tier, you can get 750 hours/month of select EC2 instances for free.

Also, see how to Allocate, Associate, Disassociate and Release Elastic IP Address from an EC2 Instance, Why can’t I ping the Public IP Address of an EC2 instance?, and how to install SQL Server 2022 Express and SQL Server Management Studio.

Launch an EC2 Instance

Login to your AWS account and go to the AWS Services tab at the top left corner. Search for Compute and on the right pane, select EC2.

Do not forget to select your Region before clicking on the Launch instances button.
Launch-EC2-

This will open the EC2 dashboard. You can click on Launch Instance as shown below. Or click on Instances.

select-instances-or-launch-from-here

Here you also have the button to Launch instances as you wish. Click on Launch Instances.

launch-instanes-now

Enter your instance Name, and select an OS image (Amazon Machine Image (AMI)). I am fine with Windows.

Enter-°Name-and-Tag

In the next step, you have to choose the type of instance you require based on your business or lab needs. I will stick with the free tier.

Note: You have to identify which instance type is best for your workload. 

Instance-type-and-keypair

EC2 Network Settings

You have to decide here, in which VPC (Virtual Private Cloud) you want to launch your instance and under which subnets inside your VPC. It is better to determine and plan this before launching the instance. 

I have created an article on VPC, Subnet, NACL, Security Group: Create your own Network on AWS from Scratch [Part 2]. Here is a guide to on GitHub Pages Deployment.

Network-settings

I will not be adding additional volume at this point. EC2 offers both magnetic disk and SSD storage.

Storage

Click on the launch Instance

launch-instance

As you can see, we have successfully provisioned our EC2 instance.

Screenshot-2024-02-27-at-22.28.27

Our instance has been created and currently showing the status pending. Please refresh to see if the creation is complete.

Pending-state

Upon refresh, you can see our instance is running. That is how to manually create an EC2 instance.

Running-state

Ideally, you would want to connect to your instance. To do this, select the EC2 instance that you created and choose “Connect.“

  • Select “EC2 Instance Connect.”
  • Choose “Connect.” A window opens, and you are connected to your instance.

Stop EC2 Instances

After training with your instance, it is recommended to terminate your EC2 instance to prevent additional charges. When this is done, the EC2 instance and the data associated will be deleted.

In my case, I will have to temporarily stop the instance as I need it. To stop your instance, select the instance. Under instance state, select stop instance.

Stop-Instances

On the confirmation page, click Stop Instance.

Confirm-Instance-Stop

As shown below, the instance has been stopped.

Instance-stopped

I hope you found this article useful on How to create an EC2 Instance. Please feel free to leave a comment below.

Rate this post

Thank you for reading this post. Kindly share it with others.

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift Tags:AWS, EC2, EC2 instance, EC2 Instances

Post navigation

Previous Post: GitHub Pages Deployment Guide
Next Post: How to reset MacBook password after all other options fail

Related Posts

  • CreateanAWSact
    How to Set up an Amazon Web Services (AWS) Account AWS/Azure/OpenShift
  • Create AWS RDS instance
    How to create an Amazon Relational Database Service Instance AWS/Azure/OpenShift
  • Deploy Web App from GitHub
    Deploy Code from GitHub to Azure Apps Services via the Command line AWS/Azure/OpenShift
  • Screenshot 2020 05 13 at 23.07.56
    ENA Driver on Amazon EC2: Easy Installation Guide AWS/Azure/OpenShift
  • image 54
    How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
  • How to create EC2 instance using Ansible
    How to launch an EC2 instance AWS/Azure/OpenShift

More Related Articles

CreateanAWSact How to Set up an Amazon Web Services (AWS) Account AWS/Azure/OpenShift
Create AWS RDS instance How to create an Amazon Relational Database Service Instance AWS/Azure/OpenShift
Deploy Web App from GitHub Deploy Code from GitHub to Azure Apps Services via the Command line AWS/Azure/OpenShift
Screenshot 2020 05 13 at 23.07.56 ENA Driver on Amazon EC2: Easy Installation Guide AWS/Azure/OpenShift
image 54 How to enable Amazon S3 default bucket encryption using S3 Console AWS/Azure/OpenShift
How to create EC2 instance using Ansible How to launch an EC2 instance AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • ntp server testen
    Enable or disable Linux System’s Clock Sync with NTP Server Linux
  • djhfhjhg
    What is the difference between iDRAC, IPMI, and ILO Network | Monitoring
  • screenshot 2020 05 03 at 18.30.44
    Setup Cisco ASA: Wiping Old Configurations Network | Monitoring
  • How to download install and use Kitty SSH Client on Windows
    How to Download and Use KiTTY SSH Client on Windows Configuration Management Tool
  • MBAM Client
    How to Check if MBAM Agent is installed on Windows PC Windows
  • Enable or Disable Siri
    How to enable Siri on Mac devices Mac
  • vcx
    Fix Error code 0x4 Session disconnected: Your session ended because of an error, if this keeps happening, contact your system administrator Windows
  • Fatal Refusing to Merge
    How to Fix Fatal Git Error Refusing to Merge Unrelated Histories Version Control System

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,841 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.