Go Back   Tech Support Forum > Design Forum > Web Serving and Management

User Tag List

Hosting Challenge for RESTful application

This is a discussion on Hosting Challenge for RESTful application within the Web Serving and Management forums, part of the Tech Support Forum category. As a favor to a friend, I offered to whip up a quick RESTful application using Play! (a Java-based framework).


Closed Thread
 
Thread Tools Search this Thread
Old 01-15-2013, 07:43 PM   #1
Registered Member
 
Join Date: Jan 2013
Posts: 3
OS: Windows 7


Question

As a favor to a friend, I offered to whip up a quick RESTful application using Play! (a Java-based framework). The app has a Mongo database backend and my thinking was that I would just throw it up on the cloud using Amazon EC2.

However, I have now realized that in order to be effective I really need this server to be able to support submitting some create operations that can only be allowed by administrators, so security is an issue.

I am a bit of an idiot when it comes to hosting options so I wanted to get some feedback from the community here. Is there a way to host a Play! application with a Mongo DB on an SSL layer? I don't think I need my own certificate (if that is an option as I could share one) and any IP is fine since this is only used by Java programs on business machines that will be configured to point to an IP Address.

It seems that a "Virtual Private Server" might be the best option for me. Does that sound right to you?
IcedDante is offline  
Sponsored Links
Advertisement
 
Old 01-16-2013, 12:17 AM   #2
Manager
- Alternative Computing
- Design
 
wmorri's Avatar
 
Join Date: May 2008
Location: New York
Posts: 6,492
OS: Window 7/Ubuntu/Fedora/Backtrack 5

My System

Send a message via AIM to wmorri Send a message via MSN to wmorri

Hi,

I sent a user a message that has a lot of experience with this and they should be able to post and give you some good information.
__________________


Linux Forever!|html5 boilerplate
wmorri is offline  
Old 01-16-2013, 12:32 AM   #3
TSF Team, Emeritus
 
Laxer's Avatar
 
Join Date: Dec 2010
Location: Portland, OR
Posts: 5,202
OS:

My System


Not sure how much help I will be here as I have no experience with RESTful or Play! for that matter and only moderate exposure to mongo.

I am a little confused about what you are trying to accomplish, if your building for a business that is local(all on the same network) you should really be setting up a Local Server for computing. Rather that be one server or a cluster it would be far better security and would remove a few headaches for you.

If you need to do significant cloud computing EC2 is a good option as Amazon has a rather robust API(Amazon EC2 API Tools : Developer Tools : Amazon Web Services) that could possibly send commands back so they could be executed locally.

Once again, I am a little confused on the purpose and business requirements so everything above is based off my speculations that could be completely wrong...
__________________

..Notepad++ | CoffeeCup | WAMP | GIMP | VLC | Debut | CometBird | Web Dev
Laxer is offline  
Sponsored Links
Advertisement
 
Old 01-16-2013, 07:40 AM   #4
Registered Member
 
Join Date: Jan 2013
Posts: 3
OS: Windows 7



Quote:
Originally Posted by Laxer View Post
I am a little confused about what you are trying to accomplish, if your building for a business that is local(all on the same network) you should really be setting up a Local Server for computing. Rather that be one server or a cluster it would be far better security and would remove a few headaches for you.
Very perceptive sir. Yes, indeed this would currently be applicable as an entirely local app, but the way I want to grow it out in the future means that I would prefer to have the remote server component. It's a manner of control for clients that won't pay, for example, or that want to link different geographical locations to the same user database.

So to simplify(?) the business requirements are to deploy a RESTful Web Service on some type of server that supports SSL and allows for installing a Java Play! application (which can be packaged as a WAR file, FYI) and run a mongo db.
IcedDante is offline  
Old 01-16-2013, 02:44 PM   #5
TSF Team, Emeritus
 
Laxer's Avatar
 
Join Date: Dec 2010
Location: Portland, OR
Posts: 5,202
OS:

My System


I think the key issue here is security which you hit on in your first post.

Many platforms support SSL so that shouldn't be a problem but, setting up a remove application to fit your business requirements may be.

If you purchased a VPS(virtual private server) or a dedicated server you could likely access it through RDP(remote desktop) giving you a friendly development environment without having to deal with too much security. The drawback here is that both implantation tend to be rather pricey depending on the demands of the application. (disk space, CPU power, ram, open connections, speed...)

It also puts everything "out of hand" as far as the hardware goes... Not sure if it will ever be an issue but, for example we have had hurricanes and various other things knock out power for our server hosted in TX. Although they did have backup generators we had down time. (wasted time = wasted money)

I have also heard of raid clusters corrupting and causing issues... To shorten up my last few examples, if you are hosting any valuable or sensitive information you will need to have backups as well. This is usually provided by the hosting company but once again digs into your pocket.

I am also not sure how you would pass the commands back to the local computers to execute or if the business itself is even comfortable hosting the information off site.

The second alternative although far more pricey and work to set up initially would be to build the server yourself on site then set up the network for remote access.

This however opens up security holes(network would need to be carefully set up) as well as the need for a technician if things go bad. It would however give you direct access to run commands as well as the advantage of everything being local if you ran into problems.
If it's just for a small business I would probably go with a VPS, they are generally more than enough for moderate traffic and demands.

Everything is situation and there is truly no correct answer. Your preference is really what it comes down to... To be honest, anyone in the computer world knows you will likely be the one called when/if things go south.
__________________

..Notepad++ | CoffeeCup | WAMP | GIMP | VLC | Debut | CometBird | Web Dev
Laxer is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Re: IE7 cannot connect with secure sites
Hi...Corday of the Internet Explorer forum site suggested that I put the DDS file and Attach files on this forum. I could not download the ark.txt from the many GMER sites that I saw. The following was sent to Corday who suggested the re-direction to the Security centre. Corday..thanks...
raringer Resolved HJT Threads 43 06-26-2012 08:33 PM
PC hijack
I have a Dell Inspiron 1545 running the 64-bit Windows 7 Home Premium. It appears it's being accessed by a remote computer when connected to a network. A message pops up on the screen that it is being controlled by a remote PC, then it lists the I.P. address of the offending machine. It's slow...
triing Resolved HJT Threads 15 02-17-2012 09:29 AM
Google Redirect Virus and other associated problems
Whenever I click on Google search results, my browser redirects me to a foreign spam website that is not the appropriate target site. In addition, I have had to perform a system restore several times just to be able to open Internet Explorer because this or someother virus has hijacked my...
Patriot1990 Resolved HJT Threads 30 07-03-2011 05:59 AM
Laptop freezing and Slow
Hi This is my kids laptop it has become very slow particularly to start up and is freezing quite regularly now. Sometimes the screen also goes grey. Daughter is about to start her exams and we are worried it goes altogether when she needs it most. Logs below and attached as per instructions....
fifelady Resolved HJT Threads 17 05-23-2011 12:04 PM
[SOLVED] Another Search engine redirect issue
I keep getting redirected while using search engine. Have to go back and click links again to get to proper site. All my normal cleaning procedures find nothing. I cannot run gmer(I get a blue screen and pc reboots itself;sometimes it says bad pool header). I do not have access to boot cd. ....
brokerb311 Resolved HJT Threads 20 05-06-2011 09:47 PM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question


» Site Navigation
 > FAQ
  > 10.0.0.2
Powered by vBadvanced CMPS v3.2.3


All times are GMT -7. The time now is 06:38 PM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.1.0 (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright 2001 - 2018, Tech Support Forum

Windows 10 - Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security - Top Web Hosts