components icon indicating copy to clipboard operation
components copied to clipboard

vue-starter: separate deployment and dev mode

Open pharindoko opened this issue 5 years ago • 2 comments

Hey, I tried the vue-starter component standalone. I like that it`s easy to deploy the stuff to cloudfront and AWS.

What I recognized and would like to improve:

  1. deployment in cloudfront takes long due to how it is working in AWS.
  • let the user now that the solution needs to be deployed first which takes up to 40 minutes
  • mode to deploy solution in a lambda - especially for testing ?
  1. dev-mode re-deploys solution which takes up to 20 seconds - that`s too long
  • please use local hot-reload mode that makes iteasy to

pharindoko avatar Oct 05 '20 11:10 pharindoko

Is there a reliable way to run a vue app on Lambda? 🤔 ... afaik AWS always recommends serving frontend assets via S3/CloudFront

eahefnawy avatar Oct 07 '20 12:10 eahefnawy

Is there a reliable way to run a vue app on Lambda? 🤔 ... afaik AWS always recommends serving frontend assets via S3/CloudFront

  • yes there is :) https://www.serverless.com/examples/aws-node-serve-dynamic-html-via-http-endpoint

  • yes for a later productive deployment it makes sense if s3/cloudfront will be used.

  • another option for a first fast deployment would be just to use s3 static web hosting.

please see the issue above as my personal impression that I would like to share with you. If you want you can close this issue.

pharindoko avatar Oct 16 '20 06:10 pharindoko