An easy way to manage Serverless project resources by using AWS Resource Groups

Yi Ai
The Cloud Builders Guild
3 min readAug 12, 2019

--

If you work with serverless projects, as you might be aware that a serverless project can end up with hundreds of Lambda functions which definitely increases the complexity of your application, good new is that AWS Resource Groups recently announced its support for more resource types, especially for groups based on an AWS CloudFormation stack.

By using Resource Groups, you might find it very useful to act on all corresponding resources as group rather than move around from one service to another.

In this article, I will be building a serverless restful api project using Serverless Framework and create a resource group that contains a collection of related AWS services for our api project.

Prerequisites

The following must be done before following this guide:

  • Setup an AWS account
  • Install Serverless framework

Building a RESTful API with the Serverless Framework

First of all we have to install or update the Serverless framework to latest version:

$ npm install -g serverless

--

--

Yi Ai
The Cloud Builders Guild

AWS Community Builder | AWS AZURE GCP Certified Engineer | A Cloud Technology Enthusiast | AWS Certified Security/Machine Learning/Database Analytics Specialty