Skip to content

lmammino/aws-application-composer-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Application Composer - Demo project

This project was created as a LIVE demo during a talk at the AWS User Group Roma.

The template.yaml was entirely created in a visual way using AWS Application Composer

Application Composer screenshot

This application consists of 3 main components:

  • An API Gateway with a GET / endpoint
  • A Lambda function (triggered by API Gateway)
  • An S3 bucket where the Lambda function can create files

Build and deployment

Pre-requisites

To be able to deploy this project you will need:

  • An AWS Account
  • The AWS CLI installed and configured in your machine
  • The AWS SAM CLI installed in your machine
  • Node.js (18+) and NPM

Node.js Dependencies

To install all the necessary Node.js modules:

cd src/Function
npm install

Build

From the root folder:

sam build

Deployment

sam deploy --guided

Follow the guided procedure to complete the deployment.

Testing

Once you have your project deployed you can get the URL of your API Gateway endpoint from the API Gateway web console.

If you make a request to the API Gateway endpoint, you should receive a positive response and a new file will be created in the S3 bucket.

Cleaning up

To clean up all the resources created by this template you need to delete all the files in the S3 bucket and then run:

sam delete

and follow the guided procedure.

Contributing

Everyone is very welcome to contribute to this project. You can contribute just by submitting bugs or suggesting improvements by opening an issue on GitHub.

License

Licensed under MIT License. © Luciano Mammino.

About

An AWS Application Composer project created during a LIVE demo at the AWS User Group Roma

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published