Hello,
I am researching how I could communicate from Kamailio (which runs on an AWS EC2 instance)
with AWS services (e.g. DynamoDB) using HTTP API.
My Kamailio logic is written in Kamailio configuration files.
I would like to ask you if anyone has some experience with such a setup and if so how did
you manage to connect it?
My current options are:
* HTTP connection to DynamoDB API with HTTP module
I would create a Python script that would generate signature headers for the [AWS API
request](https://docs.aws.amazon.com/IAM/latest/UserGuide/create-signed-req….
Then I would use the headers in the HTTP request.
(I am using the Kamailio module to keep the connection open to DynamoDB).
* Middleman service
Small service that provides HTTP API to Kamailio and manages the communication with
DynamoDB.
Easiest solution but it's harder to maintain it in high availability mode.
* API gateway with VPC endpoint attached to the EC2
API gateway would be a proxy to DynamoDB and we would call the VPC endpoint from the
Kamailio.
We would use resource policies to allow requests without auth through the VPC endpoint.
Any help or feedback would be valuable to me.
Thank you very much!
Regards,
Jakub