AWS EC2 creation from CLI
- Lets create a security group to open 22,8080,80 port for communication
- To create security group we need vpc id
JMES Path
- Refer Here for official docs
- JMES Path is an expression to query json data
- Ensure you go through this tutorial Refer Here
- Refer Here for the security group creation with JMES Paths
- Now create a key pair in your system and import it into aws Refer Here
- Now find a ubuntu 18 image by executing
aws ec2 describe-images - Note: Try to write a expression which return 1 image id
