Aws infra global
- Regions
- avaliblity zone (AZ)
AWS AMI (Amaxzon machine image)
- operating system
- packages and pre-installtions
- configurations like files, artifacts and service …etc
create launch-template
- create it existing instance
- create from scrach Aws launch-template
Task:
steps:
- create ec2 instance with os redhat
- install apache2
sudo yum update && sudo yum install httpd -y
-
check appache2 page
http://ipaddress -
create ami from that instance
-
create lanch templete with same instance
-
change ami in modify launch-template update ami and create new version template
-
create instance from launch-template check endpoint
-
terrimate ec2 instance
