AWS providing Infrastructure as a Service (IaaS). Below diagram depicts various resources can be created on AWS to deploy EC2 instances. AWS resources are created individually and need to integrate with the other resources to have an infrastructure deployed.

AMI:

  1. Amazon Machine Image is region specific resource
  2. Multiple EC2 instances can be deployed using the same AMI
  3. AMI created in one region will not be available in another region, however it is possible to share/copy the AMI to other regions.
  4. AMI can be copied to other regions in the same AWS account
  5. AMI can be shared to other regions in the same or other AWS accounts also.

Key Pair:

  1. EC2 Key-Pair is region specific resource
  2. One Key-Pair can be associated with multiple EC2 instances, where as one EC2 instance cannot have more than one Key-Pair associated.
  3. Key-Pair created in one region will not be available on other regions.
  4. Key-Pairs cannot be copied/shared to other regions

Elastic IPs:

  1. Elastic IP is region specific resource
  2. One EIP can be associated with one network interface only, however it’s possible to de-associate and associate to another network interface within the same region.
  3. EIP cannot be copies/shared to other regions

EBS Volume:

  1. EBS volumes are Availability Zone specific resources
  2. EBS volume cannot be span multiple AZs
  3. EBS volume must be created in same AZ where EC2 created to attach the volume to the instance.
  4. EBS volume can be attach to multiple EC2 instances, but only selected types of EBS volumes are supported for this feature to work with clustered apps.

Security Group:

  1. Security Groups are VPC specific resources
  2. One Security Group can be associated with multiple EC2 instances with in the same VPC.
  3. Security Group cannot be associated with resources in different VPC.
  4. Security Groups are stateful and works at EC2/RDS/ELB level.

Network ACL:

  1. NACL is VPC specific resource
  2. NACL is Stateless and can only be associated with subnets.
  3. One NACL can be associated with multiple subnets, however one Subnet can have only one NACL.

Internet Gateway:

  1. Internet Gateways are region specific resource
  2. Internet Gateways must be associated with only one VPC.
  3. VPC must be associated with only one IGW
  4. IGW cannot span multiple VPC

Route Table:

  1. Route Tables are VPC specific resources
  2. Route Tables must be associated with subnets only.
  3. One Route Table can associate with multiple subnets; however, one Subnet can have only one Route Table.
  4. Route Tables cannot span VPCs

VPC:

  1. VPC is region specific resource
  2. Instances deployed into one VPC can communicate each other via local GW by default.
  3. Communication between the VPCs not possible by default.
  4. VPC Peering or Transit Gateway is required to provide communication between the VPCs.
  5. VPC cannot span multiple regions

Subnets:

  1. Subnets must be associated with one Availability Zone.
  2. One Subnet can associate with one AZ only, however one AZ can have multiple subnets.
  3. Subnets cannot span multiple AZs.

© Edwiki Trainings – Click HERE If you are interested to learn more on Cloud & DevOps stack.

0 Shares:
2 comments
Leave a Reply

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

You May Also Like