該文檔描述了云遷移中心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 |
若有收獲,就點個贊吧