Skip to content

task-2 #555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Saidmuhammad2002
Copy link

@Saidmuhammad2002 Saidmuhammad2002 commented Apr 15, 2025

What was done?

Configured automated deployment of frontend app via AWS CDK.

More detailed:

  1. Created an S3 bucket, restricted to CloudFront access only.

  2. Configured automatic upload of built files to S3.

  3. Set up a CloudFront distribution.

  4. Implemented automated CloudFront cache invalidation after deployment.

  5. Added npm scripts for building the app, synthesizing the CloudFormation template, and deploying.

  6. CloudFront URL is publicly accessible.

  7. S3 website is restricted to CloudFront only.

  8. Single npm script for building & deploying.

CloudFrontURL - accessible
S3-website - restricted

@Saidmuhammad2002 Saidmuhammad2002 changed the title feat automated deployment task-2 Apr 15, 2025
@Konstrictorman
Copy link

Infra folder is empty !

Where are these scripts: Added npm scripts for building the app, synthesizing the CloudFormation template, and deploying. ?

@Saidmuhammad2002
Copy link
Author

Saidmuhammad2002 commented Apr 15, 2025

Infra folder is empty !

Where are these scripts: Added npm scripts for building the app, synthesizing the CloudFormation template, and deploying. ?

Hi sorry somehow my infra folder not added i updated and now you can see infra folder and in package.json you can find scripts you mentioned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants