Yusuf
Yusuf

Reputation: 419

How to use AWS SDK in Drupal to get up-to-date information

I am building a Drupal website to monitor and control our AWS EC2 instances.

Using the AWS SDK, I'm able to create blocks to display the data.

However, I'm looking for a way to expose the data to Drupal in such a way that it can be used to create views or blocks, like any other Drupal node.

Can you please help?

Upvotes: 1

Views: 428

Answers (1)

Vishal Khialani
Vishal Khialani

Reputation: 2587

You can use php http://aws.amazon.com/sdkforphp/ and get the ouput in json.

Then use views to import this json and format it as per your needs.

cheers, Vishal

Upvotes: 2

Related Questions