Skip to content
Advertisement

Tag: amazon-web-services

Amazon Polly AudioStream is always empty

I am trying to get Polly to read something for me, using PHP. I have created a new project, installed Amazon composer require aws/aws-sdk-php and then created a file with code from SDK documentation example and modified a few minor things such as changing credential from default to value, var_dump to var_export and finally saved the content of the stream

AWS SQS only receiving 1 message from two different dispatch

Currently, I’m using the AWS PHP SDK to communicate with AWS SQS. I’m using a FIFO queue. We have different “models” that need to communicate with SQS, therefore they all have different message group ids in order to make SQS more efficient in processing the data. I’ve made a method that dispatches calls to AWS SQS called DispatchSQSJob($arrayData, $messageGroupId =

AWS CloudFront for PHP hosting

I’m new to AWS and am having some difficulties understanding CloudFront. I have started off with one EC2 instance with NGINX, MySQL, and some PHP files within the public folder to expose APIs to the world. Then I was told CloudFront could be used to protect the instance from malicious attacks. I figured CloudFront required an Elastic Load Balancer. So

Advertisement