Amazon Machine Image:
With the help of AMI we can install pre configured modules in the new EC2 Instance.
Copy of an instance is said to be an AMI.
Steps:
1. Stop the EC2 Instance
2. Select Actions Create AMI Image
3. Image name -- 6702
4. Description -- optional
5. Create Image
Under Images We have something called AMI
Status must be Pending -> Available to use AMI
6. Go to Instances Launch an Instance Under AMI -> My AMI -> Owned by Me
7. Allow HTTP Traffic
8. Launch an Instance
9. In the ssh command change root to ubuntu
How to share AMI:
Select the AMI u want to share -> Actions -> Edit AMI Permissions -> Add the
Account ID (AWS Academy of the receiver) -> Save the Changes
AWS Lambda Service
====================