Browse through the questions and answers listed below or filter and sort to narrow down your results.
throttling and quota information for Chime Messaging
We recently received some throttling errors, likely related to our use of Chime Messaging for chat within our application. However, I can't seem to find which specific metric's quota was exceeded, nor any existing monitors/metrics for our usage of AWS Chime Messaging (as opposed to Chime Meetings, video calls, etc.). The throttling errors did occur during an event when many people were online and likely using our chat feature, and spanned about an hour. The errors were reported for many different users as well. Questions: 1. Is there a console or something where we can see our Chime Messaging usage, or a report of errors (like these throttling events)? Also, is there a way to tell which specific quota we exceeeded? 2. The AWS CLI `service-quotas` command requires a `service-code` param. Does anyone know which value corresponds to Chime Messaging? There's just `chime`, but that only seems to include Chime Meetings related things (and not Messaging). Is the [Service Quotas Console](https://us-east-1.console.aws.amazon.com/servicequotas/home/services/chime/quotas) a better way to check values and request increases? Thanks!
Elastic cache Redis engine log does not show up
I have enabled the Elastic cache Redis engine log following this [instruction](https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/Console_Log.html). After waiting for 2 hours, there is still no log in my Cloudwatch log group. Is there anything else I need to configure to make it work?
Why does cloudtrail not include AccessDeniedExceptions for KMS actions?
Only just starting on my AWS journey but had a refusal at the first fence. I have a new account that only holds KMS keys. These are eventually going to be under control of a third party. I have successfully allowed users in another account to use those keys for encryption and decryption, with the explicit permission of the KMS account only. (So our customer can 'break glass' and lock us out of their data that we hold if they wish). I am missing a key requirement though. They wish to be alerted if any attempts to use those keys are made by unknown users or by known users when the key is disabled. In cloudtrail I have a clear log of successful calls to Encrypt and Decrypt (although not as well integrated as other service logs so the actual Key ID isn't available in the event log list - but that's not really a problem). Sadly there are no AccessDeniedException entries in the logs at all when I test that scenario. Now I've seen documentation that says they should be there, but they simply aren't. Is there a bit of config that I'm missing? I can see that filtering errors out saves on space if an external party is attempting an attack but we really do want to see when keys are attempted to be used outside the approved "access process" where we have requested permission.
How to get logs or print statements from SageMaker PyTorch deployed endpoint?
I've deployed an extended Pytorch model as an endpoint and I'm trying to make inference requests to it. Problem is, the responses from the endpoint get timed out and CloudWatch logs show nothing beyond: | timestamp| message| | --- | --- | | 1661544743589| WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. | | 1661544749569| Model server started.| Now in my `inference.py` file, which I provided as the entry point I've set logging as follows: ``` import logging import sys logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) logger.addHandler(logging.StreamHandler(sys.stdout)) logger.info("Loading file.") print("Loading file.") ``` I wish to see those logs/prints. How can I accomplish that?
Slowness within the AWS (EC2 and Workspaces) in Internet browsing itself, sometimes almost impossible to access a simple website.
Hello, We are experiencing browsing internet related slowness within the AWS (EC2 and Workspaces), browsing in simple websites itself is slow. We had the same problem on 03/2022, we hired support business, but they didn't solve the problem and it went back to normal on its own. Monitoring via CloudWatch, we noticed that the slowness is related to the NAT Gateway, as the documentation says the following: "If the value of ConnectionEstablishedCount is less than the value of ConnectionAttemptCount, clients behind the NAT gateway tried to establish new connections for which there was no response." And as you can see in the attached graphs, whenever there is a slowdown, the ConnectionEstablishedCount metric is lower than the ConnectionAttemptCount metric ![Enter image description here](/media/postImages/original/IMC0Zk8ExYSuC6nJVZkwPIWw) Internet browsing itself is slow, sometimes almost impossible to access a simple website, and this is directly impacting our internal use and customer service, as all our internal and support applications require the internet. It is also worth mentioning that we migrated our entire On-Premise structure to AWS in October/2021, and this is the second time this has happened. We even set up a new NAT Gateway in another AZ but it didn't work and it was still slow. Today we have 6 EC2 servers and 20 Workspaces in the same VPC and using the same NAT Gateway, and at night I transfer backups from EC2 to S3. Has anyone ever experienced this? Do you know what it could be and how to fix it? Thanks
How do you query Cognito user events?
How do you examine Cognito user events? I recently needed to see who logged into one of our apps last Friday afternoon. This app is using Cognito for user authentication so I thought it would be easy to find this type of information; boy was I wrong. I'm able to see user events (login, logout, etc.) for a single user by using the Cognito UI but there doesn't seem to be any way to see that information in bulk. Or to create a report of user event data. Or to even search across users. I ended up building a little Ruby script to go through the Cognito API, list all the users, and grab the events for each user individually. This worked but it seems pretty clunky. Is there a way to get Cognito to log this information somewhere else, such as CloudWatchLogs or an S3 bucket?
How to collect OS level logs on from Mobile devices attempting access to Application behind Application Load Balancer
Need help identifying how to collect OS level data on mobile applications attempting to log into web server hosted on an EC2 windows machine. We are using Cognito as well as an ALB to route traffic. Would like to collect OS level information (Iphone SE, Samsung Galaxy etc.) Is there a way to configure this natively in AWS via Cloudwatch or Cloudtrail? Was not able to see from the documentation. Thank you
Elastic Beanstalk Memory usage monitoring with CloudWatch agent
With the deprecated monitoring scripts I was able to monitor memory in Elastic Beanstalk monitoring Dashboard: ![Add memory chart](https://repost.aws/media/postImages/original/IMKJaC8wsaR2iFeSamWn88mg) ![Enter image description here](https://repost.aws/media/postImages/original/IMMn0G2ZISSSu87JHkiS6o0g) Now with CloudWatch agent. I get it to report "mem_used_percent" with namespace "CWAgent", I can confirm this in Cloudwatch. I'm configuring the mem_used_percent, just as explained in the documentation: [Publishing Amazon CloudWatch custom metrics for an environment](https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-cw.html) But that metric never gets listed to pick up in my Monitoring dashboard, so I can't add a chart for it.