Skip to content
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

Created task 2. #150

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

Conversation

vakisialiou
Copy link

@vakisialiou vakisialiou commented Feb 13, 2025

Task 2.1 (Manual Deployment)

  • In the AWS Console create and configure an S3 bucket where you will host your app.
    • bucket name: rs-app-test-1
    • region: us-east-1
  • Build and manually upload the MyShop.
  • Create a CloudFront distribution for your app.
  • Make some minor but visible changes in the app.
    • Commented import.meta.env.DEV to render product list in production.

Task 2.2 (Automated Deployment)

  • Add and configure S3 bucket creation and website deployment using AWS CDK.
  • Add necessary npm script(s) to build and deploy your app from your machine in an automated way.
    • yarn build - Build application.
    • yarn deploy:s3 - separately upload dist folder to S3.
  • Destroy the created AWS infrastructure (S3 bucket and CloudFront distribution) from the previous part and steps.
    Make sure nothing is left.
  • Add and configure CloudFront Distribution and Invalidation using AWS CDK. Add necessary npm script(s) to build,
    upload to your S3 bucket, and invalidate CloudFront cache from your machine in an automated way.
    • yarn deploy:cf - separately CloudFront invalidation.
    • yarn deploy Build application. Completely upload dist folder to S3. CloudFront invalidation.

Task 2.3:

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.

1 participant