EC2 (Elastic Compute Cloud) instances are virtual servers in the cloud provided by Amazon Web Services (AWS). They allow you to rent virtual machine instances on which you can run applications and services.
Here's a definition of EC2 instances:
EC2 instances are the fundamental building blocks of Amazon EC2. They provide you with virtual servers in the cloud, allowing you to quickly and easily provision compute capacity. Each EC2 instance represents a virtual server with its own CPU, RAM, storage, and network resources.
Launch a new instance in AWS:

Give any random server name as per requirements. select the Ubuntu OS image:

Configure the instance with a Free tier eligible os image, and take an instance type t2.micro.

Select the already created key pair, but we can create the new key for this instance.

- Keep the vpc default.
- A subnet can be the default, selected from any zone.
- enable auto-assign public IP
- Select the default security group or a security group can be created as per requirements.

Configure the storage as per requirements, and launch the instance.

LAUNCH LOG:

INITIALIZING:

INSTANCE READY:

Connect using GIT BASH:


Key store in the project folder. execute the command while remaining in the PROJECT_KEYS folder.


Have a NICE DAY!
No comments:
Post a Comment