Cloud

Automate aws snapshot using Lambda and cloudwatch service

Author - Navneet Kashyap
|
0 Comments
|

Automate the Snapshots using AWS Lambda & CloudWatch services.

Step.1 Create IAM Role with following accessibility

1. To get information of volumes and snapshots from EC2
2. To create new snapshots using the CreateSnapshot API call
In the AWS management console, go to Read more…

WordPress | Move WordPress site from HTTP to HTTPS

Author - Navneet Kashyap
|
0 Comments
|

How to move whole wordpress site from HTTP to HTTPS in simple steps using Really Simple SSL plugin with AWS Cloudfront.

Solution.

Step-1. Login to wordpress

Step.2 Click Plugins

Step-3. Download Really Simple SSL plugin Read more…

How to close Heroku Postgres Database connections

Author - Kailash Kumar
|
0 Comments
|

Problem: Heroku Postgres Database Fatal error too many database connections for role ‘username’

Solution:
1. First install Heroku toolbelt with command
a. sudo snap install heroku –classic
2. Login from command line
a. heroku login
3. Check current database connections
a. heroku pg:info Read more…

Salesforce SOAP and Bulk API Integration in PHP

Author - Ashish Gautam

Implementing Salesforce SOAP and Bulk API Integration in PHP

Salesforce SOAP API:
Salesforce SOAP API is a coding method to use our Org’s information with the help of inbuilt functions and SOQL query. With the help of these function, we can access or Read more…

Class ‘App\Controller\Aws\S3\S3Client’ not found error in CakePHP 3.*

Author - Kailash Kumar

How to resolve “Class ‘App\Controller\Aws\S3\S3Client’ not found” error in CakePHP 3.*

Problem: Class ‘App\Controller\Aws\S3\S3Client’ not found error occurs when we are trying to create S3Client class object with given code (code copied from github):

$s3 = new Read more…

Send text message by Alexa through Twilio

Author - Dalbir Kaur
|
0 Comments
|

Steps to write code to send text message by Alexa through Twilio

Alexa is Amazon’s cloud-based voice service. With Alexa, masses can build natural voice experiences that offer customers a simple and easy way to interact with the latest technologies.

Alexa is not providing Read more…

Send Bulk Emails Using Amazon SES

Author - Vikas Dalal
|
0 Comments
|

Send Bulk Emails Using Amazon SES

Amazon SES- Amazon SES (Simple Email Service) is a cloud based email sending service used by developers and for marketing purposes. It is a reliable, cost-effective service for all sizes of businesses.

Here we Read more…

Creating custom log for AWS Lambda

Author - Richa Sharma
|
0 Comments
|

Creating custom log files for AWS Lambda function using Java other than using CloudWatch

For developers who are using AWS Lambda function either for executing several concurrent processes or for processing large files; monitoring logs in CloudWatch is definitely a cumbersome task for them. The reasons Read more…

Invalid value for header \u0067x-ms-request-id\u0067

Author - Harleen Kaur
|
0 Comments
|

Resolved Issue

“Invalid value for header \u0067x-ms-request-id\u0067. The header must contain a single valid GUID”

I was facing the issue “Invalid value for header \u0067x-ms-request-id\u0067. The header must contain Read more…

Access S3 buckets from EC2 instances

Author - Manoj Thakur
|
0 Comments
|

Access S3 buckets from EC2 instances

We’ll follow few steps to access S3 bucket from EC2 instance with the help of ROLE that grants access to the bucket. For this we’ll use IAM to create the role.

Quick steps below:

a) Create the Role Read more…

Sending email using Amazon SES service

Author - Ashish Gautam
|
0 Comments
|

Sending email with or without Attachment using Amazon SES service

First download the aws library using the this link:

http://docs.aws.amazon.com/aws-sdk-php/v3/download/aws.zip link and save it in project.

Now the usage of Read more…

When Disaster Strikes : AWS and Azure’s Disaster Recovery Offering Compared

Author - Webner
|
0 Comments
|

AWS and Azure’s Disaster Recovery Comparison

Disaster recovery policies and tools have always been a crucial aspect of business continuity, but technological advancements, particularly the maturity of cloud computing services, have altered the market for disaster recovery solutions.

Traditionally, implementing a full-featured disaster recovery Read more…

Using AWS Lambda function in Java to communicate with AWS S3

Author - Richa Sharma
|
0 Comments
|

How to Use AWS Lambda function in Java to communicate with AWS S3?

Reading, writing and uploading a text file to S3 using AWS Lambda function in Java

Following are the steps to write a sample Lambda function in Java to work with the files that Read more…

Salesforce | Get the field list recursively of related objects

Author - Kritika Sood
|
0 Comments
|

To implement RabbitMQ in our project we need to write the code for producer and consumer.

What is Producer?
Producer produces the messages and sends it to exchange. Exchange receives the messages and routes it to the corresponding queue.

What is Consumer?
Consumer consumes the messages from queue and processes Read more…

AWS | How to start/stop Amazon EC2 server using Lambda Services

Author - Navneet Kashyap
|
0 Comments
|

If you want to improve utilization of your Amazon EC2 machine instances by stopping and starting instances at specific time intervals then you have to use a CloudWatch Event to trigger a Lambda function to start and stop your EC2 instances at scheduled intervals. Cloud watch is used to schedule Read more…

AWS | How to auto generate S3 Policy

Author - Navneet Kashyap
|
0 Comments
|

Steps to auto generate AWS S3 Policy that you can use to provide access rights according to requirement:

→ Open S3 from AWS console:

1. Click on AWS bucket
2. Now, click properties
3. Click on Add bucket policy:

4. Now, Click on AWS Policy Generator:

Else use the Read more…

Zoho | How to download attachments for a contact from Zoho using Cakephp

Author - Deepika
|
0 Comments
|

To download attachments from Zoho CRM from a module, like Contacts, fetch detail of all the attachments related to that module, then download each attachment by its attachment id using download file API in Zoho and finally convert blob to the image file.

For Examle: Download attachment from Read more…

AWS | Cloudfront for S3 using same domain name placed behind cloudfront

Author - Navneet Kashyap
|
0 Comments
|

How to set up a CloudFront for S3 bucket containing images for the website, using the same domain name that is already placed behind CloudFront.

1. Open CloudFront from a menu:

2.  Click Create Origin:

3.  Now, click in box and select the s3 bucket URL from this list. Click Read more…

How to create AWS OpsWorks Stack

Author - Webner

Purpose is to automate most of recurring processes like creating user, installing application (apache, apache-tomcat, mysql-server …etc), and modifying security file to hardening Linux machines in AWS environment.

1. Click AWS OpsWorks option from AWS console panel:

2. Now click on Add Stack to create a new Stack Read more…

Configuring AWS WAF (Web Application Firewall)

Author - Navneet Kashyap
|
0 Comments
|

AWS WAF web application firewall service is built to protect cloud apps from web attacks like DDoS attacks, SQL injections, Cross site scripting.

Below are the steps involved in configure AWS WAF security:

Step.1 Open CloudFormation and click on create new Stack.

Step.2 Select the option (Specify an Read more…