create EC2 in AWS

Posted under » AWS on 25 July 2026

AWS offers several OS AMI or AWS machine Image (AMI). They are Amazon Linux, Ubuntu, Windows, Red Hat, SUSE and Debian for you to choose.

It is important to know which region you set up your EC2s. As for me it makes sense to choose the southeast regions.

I prefer t3.medium, CPU 2x, 4GB RAM with 50gb SSD storage which is good for a medium size website app. For storage default is EBS General Purpose or GP3, 3000 IOPS, Not encrypted.

In AWS, you typically use a key pair to connect to EC2 instance via SSH Putty instead of password. Create one if haven't one already. You can use PEM or PCK with ED25519 or RSA encryption. Store in a secure place.

Next we set the network or VPC. Rules with source of 0.0.0.0/0 allow all IP addresses to access your instance. Set security group rules to allow access especially inbound from known IP addresses only.

function garland_separate_terms($node_taxonomy) {
return $terms;
}

See also ELB and UFW.

web security linux ubuntu Raspberry   git   javascript python django Laravel drupal php apache mysql  MongoDB AWS data  ML AI