Browse through the questions and answers listed below or filter and sort to narrow down your results.
2
answers
0
votes
7
views
asked 9 days ago
1
answers
0
votes
3
views
asked 10 days ago
2
answers
1
votes
15
views
asked 14 days ago
0
answers
1
votes
3
views
asked 17 days ago
Bucket transfer inter-region
I need to transfer files between regions AWS. Bucket South America to Bucket in North Virginia with DataSync.
My files in South America region (source), are in S3 Deep Archive, and I'm going to keep them that way, I'm just going to change regions to reduce storage costs. In the AWS documentation, I understood the costs of DataSync, but about the Deep Archive I was in doubt... I have many files with less than 180 days (300TB), I will pay pro rata for taking them out of the bucket before this deadline or for I keep in the same storage class just transfer the files to another location, no? Because I want to make this change but if you have a pro-rata payment, it's a very high cost.
Accepted AnswerAmazon CloudWatch
1
answers
0
votes
5
views
asked 21 days ago
Fetch multiple couldwatch metrics in one cli call
Hi, how do I retrieve multiple metrics of ec2 instance in a single aws cli call? I want to retrieve cpu, writeops, readops etc for an ec2 instance, but instead of of issuing multiple aws cloudwatch get-metric-statistics calls for each metric, is there a way to get data for all metrics in one call?
```
aws cloudwatch get-metric-statistics --metric-name EBSWriteOps --start-time "2022-04-18" --end-time "2022-04-19" --period 60 --namespace AWS/EC2 --statistics Average --dimensions Name=InstanceId,Value=$id --output text --query 'avg(Datapoints[*].Average)'
aws cloudwatch get-metric-statistics --metric-name CPUUtilization --start-time "2022-04-18" --end-time "2022-04-19" --period 60 --namespace AWS/EC2 --statistics Average --dimensions Name=InstanceId,Value=$id --output text --query 'avg(Datapoints[*].Average)'
```
Can above 2 calls be combined as one call?
Accepted AnswerAmazon CloudWatch
1
answers
0
votes
4
views
asked a month ago
0
answers
0
votes
0
views
asked a month ago
How to rename Name in Namespace on Cloudwatch All Metrics
Hi AWS,
Please help me change Name in Namespace on CloudWatch All Metrics. I have config CloudWatch agent push metrics from EC2.
This is an evidence image: https://postimg.cc/HJ25Zfz1
This is my configuration
```
{
"agent": {
"metrics_collection_interval": 60,
"run_as_user": "root"
},
"metrics": {
"namespace": "DEV/EC2",
"append_dimensions": {
"AutoScalingGroupName": "${aws:AutoScalingGroupName}",
"InstanceId": "${aws:InstanceId}",
"InstanceType":"${aws:InstanceType}"
},
"metrics_collected": {
"disk": {
"measurement": [
"used_percent"
],
"metrics_collection_interval": 60,
"resources": [
"/"
]
},
"mem": {
"measurement": [
"mem_used_percent"
],
"metrics_collection_interval": 60
}
}
}
}
```
Thank All.
Best regard.
Accepted AnswerAmazon CloudWatch
2
answers
0
votes
10
views
asked a month ago
CloudWatch Alarm Metadata in notifications
Is it possible to include metadata about the source of a CloudWatch alarm in onward notification to SNS?
I'm working on a multi-account configuration hosting various services and plan to integrate with a third party notification and ops toolset. It would be very helpful to let operational teams receiving notifications know more about the alarm (e.g. source account, service, environment). The only fields I can see are name and description, these could be used but are unstructured so may be prone to error. Another solution would be to have multiple SNS topics, but ideally operational teams would manage any categorisation in their ops tool rather than making changes to infrastructure.
Any suggestions appreciated. Thanks.
Accepted AnswerAmazon CloudWatch
1
answers
0
votes
4
views
asked 2 months ago
0
answers
0
votes
2
views
asked 2 months ago
1
answers
0
votes
7
views
asked 2 months ago
1
answers
0
votes
11
views
asked 2 months ago
2
answers
0
votes
46
views
asked 2 months ago
1
answers
0
votes
16
views
asked 3 months ago