DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • The Future of Rollouts: From Big Bang to Smart and Secure Approach to Web Application Deployments
  • Performance Optimization for Multi-Layered Cloud Native AWS Application
  • Building a Serverless Application on AWS With AWS SAM
  • Keep Your Application Secrets Secret

Trending

  • MQTT, Kafka, NATS, or Zenoh? Choosing Edge-to-Cloud Messaging by Traffic Pattern
  • Threat Modeling Context-Aware AI: A STRIDE Walkthrough
  • SSRF Prevention in C#: Securing File Imports From User-Supplied URLs
  • Production-Grade LLM Regression Testing: Contracts, Evals, and Quality Gates

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Software Design and Architecture
  3. Cloud Architecture
  4. AWS Application Composer

AWS Application Composer

AWS Application Composer service allows one to quickly design and deploy a serverless application by dragging and dropping to a canvas.

By 
Amar Deep Singh
·
Dec. 16, 22 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
5.9K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

A couple of weeks before, in AWS re:invent, Amazon made a lot of innovative announcements, and one of the announcements was the AWS Application Composer service, which allows a user to drag and drop elements to the Canvas and quickly design and deploy serverless applications.   

Introduction

Application Composer service is in the preview phase as this is being written. It allows you to drag and drop a list of resources to a canvas, make connections between them and provide the required configuration. It allows you to design a workflow on the front end, and in the background, it generates the necessary code and template using the Serverless Architecture Model (SAM). SAM CLI is the tool you can use to quickly deploy this template to the AWS environment.

Serverless Architecture Model (SAM) is an open-source framework for creating serverless applications in YAML format. You can think of SAM as a shorthand representation of CloudFormation template; SAM syntax allows you to define APIs, databases, functions, and other AWS resources in just a few lines without putting all details. 

So, when you create an application composer project, basically, you are creating a SAM template. Application Composer allows you to import any existing SAM template or a CloudFormation template. 

Implementation

In this article, to demonstrate the Application Composer service, we are going to create 2 API gateway endpoints; one to get a list of employees and another to create an employee.

Application Composer

These endpoints will point to 2 different AWS Lambda’s CreateEmployee and ListEmployees backed by an employee DynamoDb table. To follow along with this video, you need to have your environment setup and have Java11and Gradle installed on your machine. You also need your AWS Serverless Application Model (SAM) CLI installed on your system to build and deploy the generated template. You can download the SAM CLI from here

Continue with the following video tutorial for step-by-step instructions for Application Composer Service. 

Demo

 

Download

You can download the source code for this video from GitHub.

Conclusion

With the introduction of the Application Composer, Amazon is putting a step forward to encourage developers to utilize their infrastructure as a code tools. This product completely relies and builds on top of CloudFormation, and the AWS team is trying to simplify that with SAM Model. Cloud formation also provides a designer for generating the template behind the science, but Application Composer is way more advanced than that and taking cloud formation to next level. Personally, I liked and enjoyed trying out this service; please let me know what you think about the product in the comments.

AWS AWS Lambda application Composer (software) Open source

Opinions expressed by DZone contributors are their own.

Related

  • The Future of Rollouts: From Big Bang to Smart and Secure Approach to Web Application Deployments
  • Performance Optimization for Multi-Layered Cloud Native AWS Application
  • Building a Serverless Application on AWS With AWS SAM
  • Keep Your Application Secrets Secret

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook