---
title: "Comment by Amit Ghatage on \"Deploying Frontend Apps on AWS CloudFront: A Step-by-Step Guide for Developers\" | Hashnode"
description: "is this setup only for static apps ? how can i deploy my application with database calls on aws cloudfront ?"
url: "https://hashnode.com/posts/deploying-frontend-apps-on-aws-cloudfront-a-step-by-step-guide-for-developers/68eaa67df56ccdac343595f4/comment/68eb4fbbd96135c8f1033f8a"
---

[Discussion](https://hashnode.com/posts/deploying-frontend-apps-on-aws-cloudfront-a-step-by-step-guide-for-developers/68eaa67df56ccdac343595f4)

Comment [Deploying Frontend Apps on AWS CloudFront: A Step-by-Step Guide for Developers](https://hashnode.com/posts/deploying-frontend-apps-on-aws-cloudfront-a-step-by-step-guide-for-developers/68eaa67df56ccdac343595f4)

[Amit Ghatage](https://hashnode.com/@AmitGhatage001)

[Oct 12, 2025](https://hashnode.com/posts/deploying-frontend-apps-on-aws-cloudfront-a-step-by-step-guide-for-developers/68eaa67df56ccdac343595f4/comment/68eb4fbbd96135c8f1033f8a)

is this setup only for static apps ? how can i deploy my application with database calls on aws cloudfront ?

[Parag Patil](https://hashnode.com/@parag-patil)

[Oct 12, 2025](https://hashnode.com/posts/deploying-frontend-apps-on-aws-cloudfront-a-step-by-step-guide-for-developers/68eaa67df56ccdac343595f4/comment/68eb4fbbd96135c8f1033f8a#reply-68eb8282816fbec8b5ee30ca)

Host your frontend on S3 + CloudFront since it's static files. For database calls, deploy your backend API in Lambda and connect it to your database. Embed the Lambda API endpoints in your frontend code.

Here's what happens:

-   CloudFront serves your static frontend
-   Lambda handles your database calls (dynamic operations)
