days
-1
-3
hours
-2
-1
minutes
-2
-9
seconds
-4
-6
search
Can we build it? Yes we can!

Architect simplifies Lambda functions for the cloud

Jane Elizabeth
Architect
© Shutterstock / Maksym Dykha

Bring structure to your cloud infrastructure with Architect, a framework that leverages the power of Node and NPM.

Sometimes, you just need a little support and order in your life. With Architect, Lambda functions for the serverless cloud are easier and simpler than ever.  Architect makes it possible to leverage the power of Node and NPM to paper over AWS’s abstractions and bring conventions to your cloud infrastructure.

Cloud computing has a lot to go for it, but there are downsides to this kind of implementation. For one, configuring and maintaining common infrastructure primitives requires a deep level of proprietary knowledge. There is also a tendency for drift, making it difficult to replicate, reproduce, and scale the infrastructure at the correct configuration. Additionally, a lack of documentation for JSON makes things harder than it needs be for developers.

Architect

Instead of dealing with all of this, Architect takes one step further past infrastructure as code and views it as a build artifact.

Architect defines .arc, a high-level vendor agnostic plaintext format to serve as a manifest file. This makes it easier to version control the architecture and quickly create a clear and cogent cloud infrastructure from the .arc manifest.

Importantly, Architect makes it possible to define your app’s architecture without having to take into account any of the vendor’s arcane rules. You can orchestrate and leverage the AWS’s cloud services without complicating the configuration.

How? By using Lambda cloud functions for computation, the API Gateway for HTTP route handlers, Route53 for DNS, CloudFront for CDN, and more.

Developers are able to use npx to generate local code, configure, provision, and deploy cloud infrastructure from the cloud manifest. However, it’s still possible to safely use the console to access and administer primitives defined in .arc.

Plus, developers can extend the format, parser, and tooling. Thanks to a speedy in-memory database, it’s possible to work locally while completely offline.

SEE ALSO: How the Node.js framework builds and delivers scalable architecture

Get Architect

Want to try Architect out for yourself? More information is available here or on the GitHub page. As an open source project, comments and help are welcome.

In theory, .arc can be used between cloud vendors. However, right now, the only port to cloud available is to AWS.

This project assumes you are running Node 8.10.x and npm 6.0.x locally. Please keep in mind that AWS Lambda runs Node 8.10.x.

Installation is easy; just one line of code:

npm i @architect/workflows 

and then it all starts with an .arc file!

Author
Jane Elizabeth
Jane Elizabeth is an assistant editor for JAXenter.com.

Leave a Reply

Be the First to Comment!

avatar
400
  Subscribe  
Notify of