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

Feature/task2 #93

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Tati-Moon
Copy link

@Tati-Moon Tati-Moon commented Jun 9, 2024

Task: https://github.com/rolling-scopes-school/aws/blob/main/aws-developer/02_serving_spa/task.md

Task 2.1: Manual Deployment

  1. Created and configured an S3 bucket in the AWS Console for hosting the app.
  2. Built and manually uploaded the ShopApp to the S3 bucket.
  3. Verified app availability via https://shop-web-app.s3.eu-central-1.amazonaws.com/index.html ref
  4. Created a CloudFront distribution for the app.
  5. Checked S3 bucket policy changes and verified app availability via the CloudFront URL https://d2zyxqnb5qq3f8.cloudfront.net/ .
  6. Made minor visible changes to the app, rebuilt, uploaded to the S3 bucket, and created a CloudFront distribution invalidation.

Task 2.2: Automated Deployment

  1. Added and configured S3 bucket creation and website deployment using AWS CDK.
  2. Added npm scripts to automate the build and deployment process.
  3. Verified the automated deployment.
  4. Configured CloudFront Distribution and Invalidation using AWS CDK.
  5. Added npm scripts to automate the upload, deployment, and CloudFront invalidation process.
  6. Verified the automated deployment and changes on the web.

S3 bucket link: http://shop-web-app-automated.s3-website.eu-central-1.amazonaws.com/ - the 403 error should be shown
Cloud Front link: https://dfmqzjmg0ul9o.cloudfront.net/ - should be available.

Task 2.3: Documentation and Submission

  • Stored the CloudFront URL and S3 website link in README.md.
  • Committed all work to a separate branch ('Feature/task2') in the repository.
  • Created a pull request to the main branch.
  • Submitted the pull request link to the Crosscheck page in RS App.

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