Amazon Elastic Compute Cloud

Product Name
EC2
Publisher Page
[Amazon]
Category
Other Application Server Middleware
Release
TKU 2017-Nov-1
More Information
Publisher Link
Amazon

Product Description

Amazon Elastic Compute Cloud (Amazon EC2) is a web-based service that allows businesses to run application programs in the Amazon Web Services (AWS) public cloud. Amazon EC2 allows a developer to spin up virtual machines (VM), which provide compute capacity for IT projects and cloud workloads that run with global AWS data centers.




Triggers

PatternTrigger NodeAttributeConditionArgument
MarkLinuxInstanceHostAsVirtualHostInfoaws_instance_iddefined
MarkWindowsInstanceHostAsVirtualHostos_type=Windows
and
vendor="Xen"
and
model="HVM domU"
or
vendor="Amazon EC2"
and
serial matchesregex "^ec2"
InferVirtualMachinesDiscoveredCloudAPIResultListdiscovery_method="AWS.EC2.DescribeInstances"
LinkInstanceToVirtualHostVirtualMachinevm_type= "AWS EC2 Instance"
LinkAutoScalingGroupToVirtualHostsVirtualMachinevm_type="AWS EC2 AutoScaling Group"

Discovery Methods

MethodDiscovered ValuesRequired ParametersREST API Reference
AWS.EC2.DescribeInstances







PrivateIpAddress








DescribeInstances







PublicIpAddress
VpcId
SubnetId
State
Placement
InstanceType
ImageId
InstanceId
Tags
AWS.AutoScaling.DescribeAutoScalingGroups




Instances







DescribeAutoScalingGroups




AutoScalingGroupName
MinSize
MaxSize
AvailabilityZones
AutoScalingGroupARN
Tags
AWS.AutoScaling.DescribeLaunchConfigurationsLaunchConfigurationName
DescribeLaunchConfigurations

Pattern Summary

  • Pattern MarkLinuxInstanceHostAsVirtual triggers on HostInfo where aws_instance_id is defined and marks a Linux Amazon EC2 instance as virtual (Xen or KVM based) and attempts to link it to the VirtualMachine.
  • MarkWindowsInstanceHostAsVirtual pattern triggers on Windows host where vendor = "Xen" or vendor = "Amazon EC2" and serial matches regex "^ec2". Then Marks a Windows Amazon EC2 instance as virtual and attempts to link it to the VirtualMachine.
  • InferVirtualMachines pattern triggers on DiscoveredCloudAPIResultList where discovery_method = "AWS.EC2.DescribeInstances". Runs 'AWS.AutoScaling.DescribeAutoScalingGroups' and 'AWS.AutoScaling.DescribeLaunchConfigurations' queries and using all the obtained results infers VirtualMachine nodes to represent each EC2 instance.
  • Pattern LinkInstanceToVirtualHost triggers on EC2 instance VM and attempts to link it to a Host.
  • Pattern LinkAutoScalingGroupToVirtualHosts triggers on EC2 AutoScaling group and attempts to link it to Hosts.

Discovery View

The full list of attributes like os_class, state, image name is available on Reports and Attributes page

Testing

This pattern was tested against a live installation .

Information Sources

Most information used to develop the pattern came from analyzing a live installation of the product.

Open Issues

There are no known open issues with this pattern.


Was this page helpful? Yes No Submitting... Thank you

Comments