AWS采集字段明细

该文档描述了云迁移中心CMH的AWS资源采集工具所采集您AWS资产的基础信息。

简介

AWS资源采集工具使用AWS SDK 进行相关资源信息采集,当前SDK 版本为AWS SDK for Java API Reference - 2.17.180

Availability Zone

关于Availability Zone 采集的字段重点举例为:

  • regionName

  • zoneName

  • zoneId

  • state

  • tags

VPC (Amazon VPC)

关于 VPC 采集的字段重点举例为:

  • vpcId

  • ownerId

  • dhcpOptionsId

  • cidrBlock

  • state

  • region

  • tags

Security Group

关于 Security Group 采集的字段重点举例为:

  • groupId

  • groupName

  • vpcId

  • ownerId

  • securityGroupRulesNum

  • region

  • tags

NAT

关于 NAT 采集的字段重点举例为:

  • natGatewayId

  • vpcId

  • subnetId

  • state

  • publicIp

  • privateIp

  • region

  • tags

ELB (Elastic Load Balancing)

关于 ELB 采集的字段重点举例为:

  • loadBalancerName

  • vpcId

  • type

  • ipAddressType

  • dnsName

  • state

  • region

  • tags

EC2 (Amazon EC2)

关于 EC2 采集的字段重点举例为:

  • instanceId

  • instanceType

  • instanceName

  • state

  • region

  • memory

  • cpuCore

  • imageId

  • operatingSystem

  • diskDevice

  • diskSpace

  • privateIpAddress

  • publicIpAddress

  • ipv6Address

  • publicDnsName

  • vpcId

  • subnetId

  • securityGroups

  • availabilityZone

  • tags

RDS (Amazon RDS)

关于 RDS 采集的字段重点举例为:

  • dbInstanceIdentifier

  • dbName

  • masterUsername

  • engine

  • engineVersion

  • dbInstanceClass

  • cpu

  • memory

  • storage

  • maximumStorage

  • domainName

  • port

  • availabilityZone

  • subnet

  • vpcSecurityGroups

  • status

  • region

  • vpcId

  • tags

ElastiCache (Amazon ElastiCache)

关于Elastic Cache 采集的字段重点举例为:

  • cacheClusterId

  • numCacheNode

  • engine

  • engineVersion

  • securityGroups

  • clusterStatus

  • nodeType

  • az

  • subnetGroupName

  • replicationGroupId

  • cacheParameterGroupName

  • arn

  • region

  • tags

  • vpcId

  • subnet

S3 (Amazon S3)

​关于 S3 采集的字段重点举例为:

  • bucketName

  • creationDate

  • bucketSize

  • objectTotal

  • accessControl

  • tags

  • lifecycleConfigurationCount

  • replicationCount

  • inventoryConfigurationCount

  • region

  • standardCount

  • standardSize

  • reducedRedundancyCount

  • reducedRedundancySize

  • glacierCount

  • glacierSize

  • standardIaCount

  • standardIaSize

  • oneZoneIaCount

  • oneZoneIaSize

  • intelligentTieringCount

  • intelligentTieringSize

  • deepArchiveCount

  • deepArchiveSize

  • outPostsCount

  • outPostsSize

Athena (Amazon Athena)

​关于 Athena 采集的字段重点举例为:

  • catalogName

  • databaseName

  • name

  • createTime

  • lastAccessTime

  • tableType

  • columnSize

  • region

DocumentDB (Amazon DocumentDB)

​关于 DocumentDB 采集的字段重点举例为:

  • dbClusterIdendifier

  • engine

  • engineVersion

  • status

  • endpoint

  • multiAZ

  • availabilityZones

  • hostedZoneId

  • dbSubnetGroup

  • preferredBackupWindow

  • preferredMaintenanceWindow

  • dbClusterMembers

  • dbClusterParameterGroup

  • replicationSourceIdentifier

  • readerEndpoint

  • readReplicaIdentifiers

  • vpcSecurityGroupId

  • vpcId

  • region

  • tags

EFS (Amazon EFS)

​关于Elastic File System 采集的字段重点举例为:

  • fileSystemId

  • name

  • availabilityZoneId

  • availabilityZoneName

  • creationTime

  • performanceModeAsString

  • throughputMode

  • numberOfMountTargets

  • capacity

  • provisionedThroughputInMibps

  • region

  • tags

EKS (Amazon EKS)

​关于 EKS 采集的字段重点举例为:

  • clusterName

  • version

  • status

  • platformVersion

  • createdAt

  • identity

  • vpcId

  • clusterSecurityGroupId

  • subnetIds

  • securityGroupIds

  • endpointPrivateAccess

  • endpointPublicAccess

  • ipFamily

  • serviceIpv4Cidr

  • serviceIpv6Cidr

  • tags

  • region

Elasticsearch

​关于 Elasticsearch (非 Amazon OpenSearch Service) 采集的字段重点举例为:

  • domainName

  • engineType

  • version

  • instanceType

  • instanceCount

  • dedicatedMasterType

  • dedicatedMasterCount

  • volumeType

  • volumeSize

  • iops

  • vpcId

  • subnetIds

  • availabilityZones

  • securityGroupIds

  • region

  • tags

Global Accelerator (AWS Global Accelerator)

​关于Global Accelerator 采集的字段重点举例为:

  • name

  • dnsName

  • createdTime

  • status

  • enabled

  • ipAddressType

  • ipSet

  • region

MSK (Amazon MSK)

​关于 Kafka 采集的字段重点举例为:

  • clusterName

  • state

  • creationTime

  • currentVersion

  • clusterType

  • vpcId

  • securityGroups

  • clientSubnets

  • instanceType

  • volumeSize

  • configurationArn

  • configurationRevision

  • kafkaVersion

  • numberOfBrokerNodes

  • region

  • tags

Redshift (Amazon Redshift)

​关于 Redshift 采集的字段重点举例为:

  • id

  • dbName

  • clusterCreateTime

  • version

  • status

  • nodeType

  • numberOfNodes

  • totalStorageCapacityInMegaBytes

  • preferredMaintenanceWindow

  • node

  • availabilityZone

  • vpcId

  • elasticIpStatus

  • clusterSecurityGroupName

  • clusterSubnetGroupName

  • region

Security Group Rule

​关于 Security Group Rule 采集的字段重点举例为:

  • groupId

  • securityGroupRuleId

  • isEgress

  • ipProtocol

  • portRange

  • source

  • description

  • region

AWS调研使用的相关API参考

支持的资源

使用的API

使用的client

EC2

DescribeInstancesRequest/Response,DescribeInstanceTypesRequest/Response,DescribeImagesRequest/Response

Ec2Client

NAT

DescribeNatGatewaysResponse

Ec2Client

安全组

DescribeSecurityGroupsResponse,DescribeSecurityGroupRulesIterable

Ec2Client

VPC

DescribeVpcsResponse

Ec2Client

可用区

DescribeAvailabilityZonesResponse

Ec2Client

负载均衡

DescribeTargetGroupsResponse,DescribeInstancesResponse,DescribeLoadBalancersResponse,DescribeTagsRequest/Response

ElasticLoadBalancingV2Client,Ec2Client

RDS

DescribeDbInstancesRequest/Response,

RdsClient

ElastiCache

DescribeCacheClustersResponse,DescribeCacheSubnetGroupsResponse,ListTagsForResourceRequest/Response

ElastiCacheClient

S3

ListBucketsResponse,ListObjectsV2Request/Response,GetBucketTaggingRequest/Response,GetPublicAccessBlockRequest/Response,GetBucketLifecycleConfigurationRequest/Response,GetBucketReplicationRequest/Response,ListBucketInventoryConfigurationsRequest/Response

S3Client

ElastiCache

DescribeCacheClustersResponse,DescribeCacheSubnetGroupsResponse,ListTagsForResourceRequest/Response

ElastiCacheClient

DocumentDB

DescribeSecurityGroupsResponse,DescribeDbClustersResponse,ListTagsForResourceRequest/Response,

DocDbClient,Ec2Client

ES

DescribeCacheClustersResponse,DescribeCacheSubnetGroupsResponse,ListTagsForResourceRequest/Response

ElastiCacheClient

KAFAKA

DescribeSecurityGroupsResponse,ListClustersV2Request/Response,

KafkaClient,Ec2Client

SECURITY_GROUP_RULE

DescribeSecurityGroupRulesRequest/Response,DescribeSecurityGroupRulesIterable

Ec2Client

OLAPDB

DescribeClustersResponse,

RedshiftClient

Eks

ListClustersRequest/Response,DescribeClusterRequest/Response

EksClient

GlobalAccelerator

ListAcceleratorsRequest/Response,

GlobalAcceleratorClient

Athena

ListDataCatalogsRequest/Response,ListDatabasesRequest/Response,ListTableMetadataRequest/Response

AthenaClient

Lambda

ListFunctionsRequest/Response,GetFunctionRequest/Response,

LambdaClient

CloudFront

ListDistributionsResponse,ListTagsForResourceRequest/Response,

CloudFrontClient

MQ

ListBrokersResponse,DescribeBrokerRequest/Response,

MqClient

SQS

ListQueuesRequest/Response,GetQueueAttributesRequest/Response,ListQueueTagsRequest/Response

SqsClient

AutoScaling

DescribeAutoScalingGroupsRequest/Response

AutoScalingClient

EIP

DescribeAddressesResponse

Ec2Client

若有收获,就点个赞吧