Posts Tagged ‘mobile cloud’

Node.js for ACS Public Developer Preview

Tuesday, September 4th, 2012

Bring on the Node.js code! For the past few weeks we’ve been running an internal developer preview of Node.js hosting on Appcelerator Cloud Services, which we call Node.ACS. This allows developers to code server side apps in familiar JavaScript, then deploy them into the ACS cloud. Just like with the rest of the ACS features, we’ll take care of all of the deployment and hosting issues.

Now we’re happy to announce that we’re expanding the developer preview to the first 100 developers who send an email to me at mgoff@appcelerator.com to request access. You’ll get first crack at trying out our Node.js hosting solution that will be closely integrated with ACS and Titanium Studio. Help us to develop the next great feature for ACS! The ACS Team is looking for feedback about any unknown problems encountered, along with suggestions for additional features which should be added.

Documentation about how to use Node.ACS is available at http://cloud.appcelerator.com/docs/nodejs/custom_code_tutorial. For support, post a question to the Appcelerator Community Q&A. Be sure to use the node.acs tag when posting so that we can see it right away. To view existing Q&A about Node.ACS, view all questions with the node.acs tag.

Here are the features we support:

  • Create, test, and publish a Node.js app
  • Login/logout using Appcelerator developer accounts
  • Create a new node.js app
  • Run the node.js app locally for testing
  • Publish the node.js app to the ACS cloud
  • List your currently running apps
  • Retrieve log output from your app
  • Unpublish an app
  • Connect with all ACS features through an included node.js library
 

Being a developer preview, there are some caveats:

  • We’re limiting this part of the preview to 100 users, but will expand that number later on.
  • You can publish multiple versions of your app, but only the latest version will be accessible. If you unpublish the latest version, the previous version will become accessible.
  • We will periodically unpublish all running apps to keep our resource usage under control during this free developer preview. Therefore if you see a published app not running anymore, just try publishing it again. The same URL will be used when your app is republished.
  • If a published app cannot be started (dependencies missing from package.json, etc.) we do not currently provide any warning. You’ll just see a 503 error when trying to access the given URL for your app. Be sure to test locally before publishing your app to ACS.
  • Published apps can take up to two minutes to go live. This is due to the startup time required to launch a new EC2 node on Amazon.
  • Your apps may run slower than expected at times. We are using t1.micro Amazon EC2 nodes during the initial developer preview.
 

Here are some upcoming features under development which will be released in a later version of the developer preview:

  • Websockets support
  • Immediate availability of apps when published
  • Deployment of apps to larger, shared Amazon EC2 nodes
  • Vanity CNAME support
  • SSL certificate upload support
  • Generation of client-side bindings to use in Titanium Studio projects
  • Creation of standalone node.js projects from Titanium Studio
  • Creation of combined client & server projects from Titanium Studio

 

New ACS Features & Performance Updates

Wednesday, August 8th, 2012

Since launching Appcelerator Cloud Services (ACS) in April, we’ve seen great excitement and adoption with in our developer community. Innovative photovideochatsocial networkingweather, and many other types of apps have been created utilizing ACS as their powerful, easy to use server backend!

We’ve been hard at work implementing new features requested by our users. Last week along with the Titanium Studio 2.1.1 release, we added new ACS API features:

  • Messages, Posts, and Likes have been taken out of Beta. Send email-style messages to other users, create Facebook-style wall posts, and record the number of Likes for most ACS objects to easily add more social networking features to your apps.
  • Access control lists (ACLs) - configure fine-grained control over which app users can read and/or write any type of object in ACS. For example, now you can allow multiple users to share and update a collection of photos.
  • Secure login via 3-Legged OAuth - enforce secure login to your app via a time-limited token, eliminating security concerns about embedding the ACS key or OAuth token into your app.

New administrative website features have been added to make managing you app’s data even easier:

  • Lookup of push notification subscriptions & delivery status
  • Advanced search and filtering of data for different object types (users, chats, places, etc.)

Additionally we’ve updated our iOS and Android push notification infrastructure using node.js. This has simplified our codebase and given us better performance and capacity than ever before!