how to upload a web application to free server - netbeans

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!

Related

How to deploy nuxt.js with mongodb on cpanel

I'm wondering any possible to deploy nuxt.js with MongoDB on cpanel hosting, i have a shared hosting bought from Hostgator. Really need help from this, thx.
my nuxt.config.js
For Nuxt, it depends on your build target and app mode. Are you using SPA or universal?
If you are using SPA, this can be packaged using nuxt build. This output can then be hosted the cpanel as a normal static site using something like Apache.
If you are using universal mode, you will have to ensure you are generating a static site using target:'static'. Once you've configured that in your nuxt.config.js, you'll be able to run nuxt generate and upload the built files to your cpanel.
Please take a look at the Nuxt page for static generation.
That said, I'd wholly recommend you don't use cpane or hostgator. Such hosting doesn't scale and relies on technology like Apache that is resource heavy and slow.
I'd suggest you deploy your Nuxt site to Vercel by following this tutorial here
Vercel is free for non-commercial use and scales infinitely based on your usage. It's incredibly fast and optimised for these types of sites. Deployment is a breeze.
You won't be able to deploy the MongoDB instance on the cpanel unless you have VPS access, or the cpanel has a pre-configured option.
I recommend you use MongoDB Atlas to easily provision, configure and manage your MongoDB instance.
When combined with Vercel, this should give you an incredibly easy and also performant deployment of your application.

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.

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.

Facebook apps and herouku cloud

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.

Heroku-like services for Scala?

I love Heroku but I would prefer to develop in Scala rather than Ruby on Rails.
Does anyone know of any services like Heroku that work with Scala?
UPDATE: Heroku now officially supports Scala - see answers below for links
As of October 3rd 2011, Heroku officially supports Scala, Akka and sbt.
http://blog.heroku.com/archives/2011/10/3/scala/
Update
Heroku has just announced support for Java.
Update 2
Heroku has just announced support for Scala
Also
Check out Amazon Elastic Beanstalk.
To deploy Java applications using
Elastic Beanstalk, you simply:
Create your application as you
normally would using any editor or IDE
(e.g. Eclipse).
Package your
deployable code into a standard Java
Web Application Archive (WAR file).
Upload your WAR file to Elastic
Beanstalk using the AWS Management
Console, the AWS Toolkit for Eclipse,
the web service APIs, or the Command
Line Tools.
Deploy your application.
Behind the scenes, Elastic Beanstalk
handles the provisioning of a load
balancer and the deployment of your
WAR file to one or more EC2 instances
running the Apache Tomcat application
server.
Within a few minutes you will
be able to access your application at
a customized URL (e.g.
http://myapp.elasticbeanstalk.com/).
Once an application is running,
Elastic Beanstalk provides several
management features such as:
Easily deploy new application versions
to running environments (or rollback
to a previous version).
Access
built-in CloudWatch monitoring metrics
such as average CPU utilization,
request count, and average latency.
Receive e-mail notifications through
Amazon Simple Notification Service
when application health changes or
application servers are added or
removed.
Access Tomcat server log
files without needing to login to the
application servers.
Quickly restart
the application servers on all EC2
instances with a single command.
Another strong contender is Cloud Foundry. One of the nice features of Cloud Foundry is the ability to have a local version of "the cloud" running on your laptop so you can deploy and test offline.
I started working on the exact same thing as what you said a few weeks ago. I use Lift, which is a great framework and has a lot of potential, on top of Linux chroot environment.
I'm done with a demo version, but Linux chroot is not that stable (nor secure), so I'm now switching to FreeBSD jail on Amazon EC2, and hopefully it'll be done soon.
http://lifthub.net/
There are also other Java hosting environment including VMForce mentioned above.
If you are looking for a custom setup which also has the ease of deployment that heroku offers: http://dotcloud.com. They are invite only right now but I was given access in under three days. I am working on a Lift/MongoDB project there and it works well.
Off the top of my head, only VMForce comes to mind, but its not available yet. This will be a Java-oriented service, so that probably means you'll have to spend a wee bit of time figuring out how to package the app.
For more discussion, there was a debate about this in 2008.
I'm not entirely sure if it's really suitable or not, but people have deployed Scala applications to Google App Engine, for example http://mawson.wordpress.com/2009/04/10/first-steps-with-scala-on-google-app-engine/
Actually you can run scala on heroku right now. You don't believe it?
https://github.com/lstoll/heroku-playframework-scala
I'm not sure the tricks lstoll has used are legit but using the
new cedar platform where you can run custom processes and some
ingenious Gemfile hacking he has managed to bootstrap the Java
play platform into a process. Seems to work as he has a live
site running a test page.
Stax cloud service offers preconfigured lift project skeleton. Also, there is a tutorial on how to deploy lift project to appengine.