Launching an EC2 Instance
EC2 (Elastic Compute Cloud) provides resizable compute capacity in the cloud. Launching an EC2 instance is the first step to running applications on AWS. You choose an AMI, instance type, configure networking, and launch.
AMI (Amazon Machine Image)
An AMI contains the information required to launch an instance. It includes the operating system, application server, and applications. You can choose from AWS-provided AMIs or create your own custom AMIs.
Instance Types
Instance types define the hardware configuration of your instance. They vary by vCPU, memory, storage, and network performance. Common families include t3 (burstable), m5 (general purpose), and c5 (compute optimized).
Launch Configuration
When launching an instance, you configure: VPC and subnet, security groups, key pairs for SSH access, storage volumes, and IAM roles. Each configuration affects security, networking, and access to your instance.
