- Newest
- Most votes
- Most comments
Hello.
Amazon Polly has a free tier for one year after creating an AWS account.
If you created an AWS account in September of last year, you can use the free tier until September of this year.
https://aws.amazon.com/polly/pricing/?nc1=h_ls
For Amazon Polly’s Standard voices, the free tier includes 5 million characters per month for speech or Speech Marks requests, for the first 12 months, starting from your first request for speech through Polly. For Neural voices, the free tier includes 1 million characters per month for speech or Speech Marks requests, for the first 12 months, starting from your first request for speech through Polly. For Long-Form voices, the free tier includes 500 thousand characters per month for speech or Speech Marks requests, for the first 12 months, starting from your first request for speech through Polly. For Generative voices, the free tier includes 100 thousand characters per month for speech requests, for the first 12 months, starting from your first request for speech through Polly.
Where did you set the access key and secret access key?
For example, if your application is running on an on-premises server, you will need an access key, but if you are running it on EC2, you can use Amazon Polly by setting an IAM role.
By the way, have you tried restarting the application after setting the access key?
Hi Marvin,
Here's a step-by-step approach to troubleshoot and resolve your issue:
Log in to AWS Console: Go to the AWS Management Console.
Check Billing Dashboard:
- Navigate to the Billing and Cost Management Dashboard.
- Look for the Free Tier usage summary and billing details.
- Check if there are any charges or alerts about exceeding Free Tier limits.
Verify Access Keys:
- Navigate to the IAM (Identity and Access Management) service.
- Go to the "Users" section and select your user.
- Under "Security credentials", ensure your new access key and secret key are active.
- Update your program with the new credentials.
Update Program Configuration:
- Ensure your program is correctly configured to use the new access and secret keys.
- Verify that the keys are entered correctly and there are no typos.
Test Amazon Polly Service:
- Use the AWS CLI or SDK to test Amazon Polly with the new keys.
- Example AWS CLI command:
aws polly synthesize-speech --output-format mp3 --text "Hello, world!" --voice-id Joanna output.mp3
Review Usage:
- Check the Amazon Polly usage in the AWS Management Console.
- Navigate to the Polly service and review your usage metrics to ensure you are within any free usage limits.
Thank you so much for such a detailed answer. I will follow these steps today.
Relevant content
- asked a year ago
- asked 5 months ago
- asked 3 months ago
- asked 4 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 days ago
- AWS OFFICIALUpdated 22 days ago
- AWS OFFICIALUpdated a month ago
You can create an access key and secret access key by following the steps in the document below. You also need to make sure that you are issuing the access key from the correct IAM user. https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_CreateAccessKey
Everything is in my laptop here at home. I copied both codes from screenshots and entered them in prompts in my program. I didn't restart the application as I was in the middle of a project. I will try this today. Thank you
By the way, if the access key is set correctly and the program is running, you can see the event history on CloudTrail etc. https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events-console.html