I am interested in using DynamoDB through Heroku. Will this work securely and how would I set up communication? I am using Java but help in any language would be fine.
Sources of info I've found thus far:
Yes. You can indeed use DynamoDB with Heroku. I use it for a large application that handles about 15 billion requests per month.
Here's what you'll want to do:
Set your AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
environment variables in your Heroku app. When you sign up for AWS, you'll have to generate these if you have none already. Once you get them, store them in Heroku as environment variables.
Install a DynamoDB library in your language / framework of choice.
When you initialize your AWS library for DynamoDB, it will ask for 2 things: your AWS_ACCESS_KEY_ID
and AWS_SECRET_ACCESS_KEY
, so you can supply those from your environment variables.
The way this works in terms of security is like so:
Hope this helps =)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With