Amazon Machine Image-AMI

 

 AMI (Amazon Machine Image)

AMI is a supported and maintained image provided by AWS that provides the information required to launch an instance. You must specify an AMI when you launch an instance. You can launch multiple instances from a single AMI when you require multiple instances with the same configuration. An AMI includes the following;

1.  One or more Amazon Elastic Block Store (EBS) snapshots, or for instance- store-backed AMIs, a template for the root volume of the instance( for Ex. Operating System, An application Server, and
Applications).

2.  Launch permissions that control which AWS accounts can use the AMI to launch instances.

3.  A block device mapping that specifies the volumes to attach to the instance when it’s launched.

AMI

Note: Difference EC2 v/s AMI: The EC2 is used for creating virtual server instance, whereas AMI is the EC2 virtual machine image. 

Buy the best book for AWS- AWS Certified Solutions Architect Study Guide- by Ben Piper and David Clinton, Google Cloud Certified – Professional Cloud Architect” by Dan Sullivan

v  Instance Security Group Elastic:

A security group acts as a virtual firewall for your EC2 instances to control incoming and outgoing traffic. Inbound rules control the incoming traffic to your instance, whereas outbound rules control outgoing traffic from your instance. When you launch an instance, you can specify open or more security groups.

elastic cloud

 v  IP Addresses:

1.   Private IP:- The private IP address is assigned so the instance can communicate with other AWS services and other instances within the same private network. By making it more difficult for an external host or user to establish a connection, private IPs help booster security within a specific network, like in your home or office.

2.   Public IP:- Public IP is a routable address over internet. AWS EC2 instances can be assigned public address if you choose the option but it is dynamic. That means AWS assigns any public IP which makes your instance accessible over the internet. Every time there is a start and stop, your instance gets a different public IP. Public IP is used when you are working on small projects and running 2-3 servers.

3.   Elastic IP:- An Elastic IP address is a static public IPV4 address associated with your AWS account in a specific region. Unlike an auto-assigned public IP address, an Elastic IP address is preserved after you stop and start
your instance in a Virtual Private Cloud (VPC). Elastic IP is used when you are working on long time project and configuration of IP sometime consumes more time.

23 thoughts on “Amazon Machine Image-AMI

Leave a Reply

Your email address will not be published. Required fields are marked *