Elastic Cloud Compute (EC2)
Elastic Cloud Compute is a part of Amazon Cloud Computing that provides servers for rent in the cloud. Elastic ๐น like the name... EC2 is a cloud service that grows or shrinks based on the number of servers needed to run a deployed application. The servers used in a cloud computing environment are called instances. EC2 instances are run with user-defined configurations.
EC2 are not considered serverless because instances are actual physical servers in data centres of the cloud provider.
There are several instance types that provide varying combinations of CPU, memory, storage, and networking capacity.
Launching Amazon Elastic Cloud Compute (EC2) Instance
Login to your AWS account or create a free account
Type EC2 into the search bar
Select EC2 (Virtual Servers in the Cloud )
Click on Launch Instance
Add Name and Tags
Choose an Amazon Machine Image from the list provided
Select an Instance Type (Virtual Server type )
Create a new key pair
Key pair will prompt a download. Store downloaded key pair to a secure location on your computer.
Configure your network settings
Storage settings
Click the Launch Instance
button to launch your Instance
Your Instance launch has been successful
Go to View all Instances
Click on your Instance id or select the checkbox against the instance you wish to connect/stop/terminate/view details.
From here, you can stop, start, connect or terminate your instances.