Amazon AWS SDK Passing Credentials

As per the the sample codes the AWS API access key and secret is to be stored in the a file called credentials under a folder named .aws  The location of that .aws folder can be set in the code through this config statement putenv(‘HOME=/path/that/you/want/to/set’); But I am more comfortable in passing the credentials through my code… Continue reading Amazon AWS SDK Passing Credentials

PHP code for Amazon SNS Auto Subscription Confirmation (HTTPS)

Amazon Simple Notification Service or SNS is a messaging service which be used to send notifications by SMS, Email, Push notification or to a URL endpoint. For a quick on setting up Amazon SNS see this article Amazon SNS setup for HTTPS and Email Code for auto confirmation of subscriptions <?php $json_write_to_text = file_get_contents(“php://input”); //read… Continue reading PHP code for Amazon SNS Auto Subscription Confirmation (HTTPS)

Amazon SNS setup for HTTPS and Email

Login to AWS Console Goto Simple Notification Service Create a Topic Add a Subscription – the easy and safe way to do this is by clicking the ARN of the Topic (in the topic listing page ) and going to the Topic details page. Choose your subscription protocol (in simpler words in which way you… Continue reading Amazon SNS setup for HTTPS and Email