Ciasto piekarz
Ciasto piekarz

Reputation: 8277

Is it possible to have php hosted local connects to Amazon dynamoDb?

I was working on a Arduino project that provides data to outside public but I want to keep only for family members or some guests. So I wanted to set up login authentication page where user can login and see data over a php website hosted locally (available over internet via port forwarding) . But since login would require database to store username/password I want it to be stored on dynamoDb. I think storing online on AWS is a good idea since db will grow over time but php page can be stored and moved easily . Another reason I would like to try is whilst I will get to learn how to use NoSql on dynamo db!

Please guide me the right path to host php locally that uses Amazon dynamoDb for storing logins?

Upvotes: 0

Views: 159

Answers (1)

stdunbar
stdunbar

Reputation: 17435

You can certainly connect to DynamoDB from outside of the Amazon environment as long as you have your credentials. The PHP Getting Started Guide should give you most of what you need.

When you're ready to move to an EC2 instance, a t2.nano machine is about USD $4.32 per month. That would let you setup a full PHP server that could also talk to the database and you wouldn't have to have it locally.

Upvotes: 2

Related Questions