AWS CLI continued
-
Creating credentials:
- Create an IAM User Refer Here
-
To install aws cli on linux Refer Here
-
Activity 1: Create a launch configuration with ubuntu ami
- Refer Here for the autoscaling configuration
- find the ami => "ami-03d5c68bab01f3496"
- find the key pair => "ansible"
- find the security group => (sg-0eb0f3fca6c9a45a8 openall)
- instance type => t2.micro
-
Create an autoscaling group Refer Here
-
Refer Here for the changes done to enable autoscaling with launch configuration
-
Exercise:
- Try to create similar scripts with launch template.
-
Next Steps:
- EC2 systems manager.
