Member-only story
Featured
How to connect to an Amazon EC2 Instance
Amazon EC2 is the most popular service in the AWS ecosystem. Almost every course that teaches AWS emphasizes the importance of understanding the basics of an EC2 instance. In my book Techtionary, I mentioned an Amazon EC2 instance in detail, explaining how it works and how it relates to real-life examples that we can easily connect with anyone.
According to the Amazon EC2 official page, Amazon EC2 is defined as
“Secure and resizable compute capacity for virtually any workload”
Meaning EC2 has the capacity for any application workload; small or large. This discourse is not focused on everything Amazon EC2 has to offer in terms of capacity and usage but one important part of Amazon EC2 which is how to connect to use it for deploying workloads or applications. Without connecting to an EC2 instance, it is impossible to deploy workloads. But before you connect to an EC2 instance it needs to be created first.
Creating an EC2 Instance
Similar to other AWS resources, there are primary methods for creating any resource in AWS: using the AWS Management Console or the AWS CLI. Additional, more advanced methods for provisioning Amazon EC2 instances and other AWS resources include; Cloudformation, AWS CDK, Terraform, Pulumi…