How to setup cakePHP site on Amazon Web Services - cakephp

Does anybody know how to get started hosting a cakePHP on Amazon Web Services, if that is even the correct service, or if it is even possible. I have seen a few articles that refer to being able to do this. AWS seems like a pretty full feature set, without a lot of guidance.
I am specifically would like to get Cake Baked on AWS with Amazon RDS. Just getting the default dite up and running would be enough.
I have seen these links as well as a few others, but I haven't found any basic how-to information.
https://github.com/joebeeson/amazon
Hosting CakePHP app with Amazon Web Services (EC2, etc.)?
Thanks,
James

Everything works -- I have several cakephp sites on AWS. I will warn you there are a lot of annoying little bugs and hurdles with AWS though.
You'll need to understand two things -- how to use AWS and how to configure a server from scratch. If you've never configured a server from zero, I'd highly recommend going with another host.

As you stated I don't know any how-to guide on exactly that, and it is basically because any server that can run PHP 5.3 with mod_rewrite works great. I recommend you to follow any tutorial to get a server on Amazon AWS and then just download cake on the server with wget.

Related

Use a database like mysql to webflow

I'm currently watching tutorials on how to build website using webflow but I'm curious if it is possible to use a database in webflow.
What are the best database i can use in a web app ?
although you could use a database with webflow, normally I would recommend using a web framework if you are wanting to build a web app. There are solutions that work with webflow that make it possible to connect to mysql databases though, like Zapier.
You could use Zapier to connect your webflow project to a mysql database, but I wouldn't recommend this approach, as it may not be as secure, and you will be spending a lot more money over time on subscriptions.
I am using Webflow for building front ends to web applications, but I am building the web apps in Laravel, which is a php web framework, or in Wordpress, which provides a little more options when working with Mysql databases and providing extra functionality.
Hope this helps!

How to deploy website on live server?

I have created a website on angularJS. I have local server running using nodeJS. Can anyone please tell me the further process to deploy the website.
Your local server is probably only for development purposes.
You can deploy it as usual application. All you need is web server. The most common selection is Apache, nginx or IIS. You can set up one of these on your own (on your own computer/VPS etc.) or use web hosting (just google it...).
Selecting correct solution depends on budget, needed support and number of users. I assume that usual "cheap web hosting" is the best for you.

Combining Google App Engine and CloudMailIn on Heroku in one setup

I'm developing a web app on Google App Engine, for which I recently decided that it requires a high performance inbound email processing functionality. GAE's functionalities for incoming email are rather limited, however CloudMailIn on Heroku seems to be able to do everything that I want (https://addons.heroku.com/cloudmailin)
Would you consider it a wise decision to run the website, user accounts, and databses on GAE, and run CloudMailIn separately with e.g. an API connection to write to the datastore on GAE? So far I have built all my web apps on GAE, so I prefer to stick with what I know. However if this is likely to bite me once I scale, then of course I will move everything to Heroku. Does anybody have experience with this?
Thanks to answers from Peter and Steve I now understand that both Sendgrid and CloudMailIn can be controlled through a simple webhook, so no need to include Heroku here. FYI I ended up using MailGun Routes because their features had a better fit with my requirements.

Salesforce's Database.com and Google App Engine via JPA

Currently i try to connect (via JPA/Datanucleus) with an application, hosted by Google App Engine, to the database service of database.com (Salesforce)
After many hours of reading and trying, i could not find any solution.
So, is it even possible??
Some Information....
Database.com provides JPA: http://forcedotcom.github.com/java-sdk/jpa-provider, but i could not found any sdk on this side, but i found a jar-file hosted by grepcode http://grepcode.com/snapshot/repo1.maven.org/maven2/com.force.sdk/force-jpa/22.0.7-BETA/ - Possibly there is currently no official release ...
The problem is that this SDK from Salesforce needs datanucleus 2.0, but Google App Engine includes only datanucleus 1.1.5. So i try to update theses libaries and found this.... code.google.com/p/datanucleus-appengine/ . I tried a few hours to replace the old libaries and to use the newer, but unsuccessfully. The error was that eclipse could not find some libaries, because the newer libaries, provided by the side above, have different package structure -
I am thankful for any help...
Kotake
The official release of the JPA provider is available on Maven Central:
http://search.maven.org/remotecontent?filepath=com/force/sdk/force-jpa/22.0.7-BETA/force-jpa-22.0.7-BETA.jar
The external connection restriction won't be a limiting factor because the JPA adapter connects to Database.com over https using a SOAP API.
I can't speak to the challenges around getting DN 2.0 running on GAE. Perhaps GAE support can help with that?
As stated here in the App Engine docs, you cannot make direct connections to external servers from GAE (except over http or https using the app engine specific url APIs). You will need to find some other way to get data out of your remote database.
This link describes how to solve your problem:
How to use Force.com Database SDK on Google APP Engine
(He has updated the Saleforce SDK source code to allow it to work without problem on GAE.)

Hosting/transferring a web site on Google App Engine

I have my website currently hosted on paid server, but i want to transfer it on GAE.
How can i do it? Can anyone please help me in this case.I'd appreciate your help.
Thanks:)
1) First you will have to adapt your website to the GAE framework (python with django or the new Java environment). You can test your work by downloading the SDK of GAE which offer a local server.
2) Then create an account on appengine.google.com and upload your application on something.appspot.com, test it.
3) If you have a domain name, create a google apps account on this domain, and finally bind this domain with your GAE website. Here is the Google doc.
If it is just a static website which does not need server side scripts or a database, then you might want to look into Google Sites instead of Appengine. You can find out more about Sites here: http://www.google.com/sites/help/intl/en/overview.html
If you do have some server side logic going on, you will need to convert it to either python or java and convert your relational database to Google's Data API which does not support the SQL your current database uses. You can read more about the APIs and what is supported with the Data API and tutorials at: http://code.google.com/appengine/
In response to sanorita's comment "Actually, it's generated html and not plain html. and google appengine is for static data... right?":
AppEngine can host static data, but that is far from its intent.
The purpose of AppEngine is to allow developers to easily deploy their dynamic applications on Google's infrastructure. In the end, assuming you have programmed your app in effective ways to handle scaling (basically just noting that writes to the database are expensive, and contention is the root of all evil) you can handle nearly any amount of traffic.

Resources