Facebook apps and herouku cloud - facebook

Is smart to use a free cloud for facebook app - heroku (5mb limit) or use own VPS?
I plan to build an FB app and trying to chose hosting?
What you suggest?
Is Heroku cloud platform a complicated for developmet?

I don't criticize Heroku cloud or any other free services, but I am strong believer of using Paid services only. Free service is never a free, there is always a string attached ...
I would suggest you to use Paid VPS or Cloud solutions.

Related

Is there a way to host an app that uses MongoDB Atlas on Heroku without paying for an addon?

I am in the process of teaching myself deployment to Heroku, and trying to host a simple MERN stack application to Heroku. So far, every tutorial I've worked on (at least four so far) has told me to use the addon mLab, which is 1) being depricated and 2) currently requires payment.
I've also now tried to use object Rocket which also requires a monthly payment. Is it possible to connect my Heroku app to MongoDB without payment? Perhaps without an add-on? I'm looking to turn around and teach others how to deploy their applications to Heroku, but if there is payment involved, that would be a real issue.
Edit: just to clarify, I am aware that MongoDB atlas is free, but what I'm not aware of, is way to connect Atlas to my Heroku app in a way that is free.
Use the Atlas free tier. No addons are needed.
To connect to your MongoDB Atlas db is best achieved using Mongoose - a node module - at least that is what I am doing with my recently created React/Atlas application. Mongoose is available for Angular as well and makes working with Atlas very easy. A google search will provide many tutorials, I'm sure.

How can I deploy aqueduct application to web hosting plan using cpanel?

HI im very new to back end and Im learning aqueduct since I know dart programming. My question is how can I deploy the aqueduct to my webserver? I have a hosting plan to a2hosting which Im currently using for my wordpress site and I wonder if I can deploy my dart server to cpanel so I can use them as a backend to my flutter app? Thanks for any answer!
It depends on many factors.
Generally I'd say "no can do".
Get a VPS and host it there.
It depends on if your cpanel hoster has access via ssh enabled, which they usually don't. But even then I'm confident the hoster won't allow long running apps on his shared hosting server.
Dart has to be installed on the host, which is usually not the case on shared hosting servers
You need some kind of external oauth2 service
You need a postgresql database server, which cpanel provides but your hoster might not
Aqueduct official deployment guides are found on the their official site.
No you cannot install dart sdk on a2hosting shared hosting plan. Even if they give you SSH access, you will not have enough permission to install DART SDK. But you can deploy you app on heroku for free. You will get enough resources to run your app. You can upgrade your plan later according to your needs.
Check the heroku documention to deploy aqueduct app
Deploying an Aqueduct Application on Heroku

How to authenticate IOT devices to Google Cloud Services

I have a Raspberry Pi3 device which has Android Things dev preview 0.6.1 installed. On completing certain operations, the device needs to send data to Google Cloud Storage. To do so it must have an API key to authenticate itself.
In Android devices it could be done easily using by integrating Google Sign in Option but since my Android Thing device doesn't have any interface, Google Sign In could not be implemented in it.
I have gone through github project Android Things Weather Station Sample which is using Google Service Account to publish data to PubSub. To do so, it generates and imports a credential.json file into the project and somehow generates credentials from it.
So my question stands is, without user consent, can we use Google Service Accounts to authenticate with Google Cloud Storage? If yes, how can we generate access token from it ? If no, is there any other method to authenticate with GCS?
The simplest and most secure way to authenticate your IoT devices with Google Cloud is using Cloud IoT Core to publish data over MQTT or HTTP into Cloud Pub/Sub. Cloud IoT Core is a bridge designed to securely manage large fleets of devices and authenticate them with your cloud project.
Take a look at the SensorHub sample app on GitHub, which is similar to the weather station, but uses Cloud IoT Core to authenticate and publish instead.
As Shubham stated, using a service account is one way to authenticate devices. Otherwise you'd need to build a mobile companion app which you use to authenticate the user. Then you would have to transfer that token to the IoT device.
In case anyone faces the same issue, I found this document which has explained the way to authenticate devices with Google Cloud without the consent of a user.

Node-RED Starter not available in IBM Bluemix free account?

I have a client who is unable to provision a Node-RED starter app in Bluemix. The "Create" button is not there and instead there is an "Upgrade" button. I know this was very much available in a free account so wonder if there is a problem with the account?
- I should have said that last week we did the same thing; signed up for Bluemix and provisioned a NodeRED starter in the same way and the button to "Create" the NodeRED starter was there. I am able to provisions the starter in my account as is the person who created an account last week, however when trying in this new account (set up yesterday) they cannot. The pricing for the starter is shows as "free for 30 days or 375Mb)" when you look at it.
The node red starter application is definitely available in the free Bluemix Account. (I just checked it)
Make sure the limits regarding space and number of services are not exceeded (like 1mb and 10 services)
A simple solutions is to use the one-click deploy project from git:
https://github.com/ibmets/node-red-bluemix-starter
Short story... this is a temporary problem, some new accounts are getting created without the 30 limit but with limits on the services instead. Key services will be offered free forever as a basic tier and only when you need extra ooomf will you need to move to a chargeable tier/service. However the NodeRED boilerplate may have been incorrectly assigned as a payable boilerplate in that new pricing structure. The IoT starter that contains similar services IS free in this new pricing plan and can be used for now if you need NodeRED. Should be fixed soon.

how to upload a web application to free server

I am using net-beans 7 and I wrote a server said app on java with db.
Now I want to upload it to free global server.
I tried amazon but need a credit card.
Tried to work with Google app engine but have problems with net-beans and Google configurations.
Can you give me a link for simple way to load my app to free server and how it will work with the db that I wrote that works with derby.
thanks a lot!!
You could use Amazon Web Services Free Usage Tier.
Another option is jelastic.com (I didn't test it yet). They offer free use for small applications:
Starts free: That's right! If you want to deploy a demo for your
customers, deploy a small application for you and your friends, or
experiment and deploy an app for internal QA, it won't cost you a
penny!